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).
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:
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.