question for gpsdriver

Discussion in 'Questions (Windows Mobile)' started by kamis, Jun 1, 2009.

  1. kamis

    kamis Member Licensed User

    :sign0085: I do not understand the value of GetGpsData (x)
    What would happen if x had a very low value?
    Can not find data function?


    :sign0013: sorry for my English
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    If there is no updated data since the last x milliseconds then all the values will have a value of InvalidData.
    In most cases this value should be a couple of thousands (seconds).
     
  3. kamis

    kamis Member Licensed User

    How can I do?

    Erel thanks. I gave values of 400 milliseconds and had many invaliddata. but in my application I need to take data as quickly as possible. How can I do?
    :sign0085: :sign0085: :sign0085:
     
  4. agraham

    agraham Expert Licensed User

    Usually the GPS data is only updated every few seconds so there is no point in trying to access the data any faster than this.
     
  5. Erel

    Erel Administrator Staff Member Licensed User

    GetGPSData always returns the most updated data available. The time parameter only determines the point where data is no longer considered valid.
     
  6. kamis

    kamis Member Licensed User

    capito!!!

    AH! Erel Thanks! Now I really understand.
    The timer that calls the GetData is the speed that makes the search for data in the buffer of GPS.
    The value of x is to discard an old result.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice