I am working on a mobile app and need to get GPS information (longitude and latitude) and log it in the system. The device has a built-in GPS device.
I have read up on MSDN and it suggested that I use the GPS Intermediate driver. I have written a small test app that has a one second timer that updates the graphic interface with the latest GPS data, time, coordinates, no. of satellites, speed etc.
The Time value is spot on, and the no. of satellites varies between 6 and 7 which looks okay, (I think??). The problem is the Longitude and latitude. They change on every update of the data, and vary drastically - they go from huge positive numbers to huge negative numbers.
I am using the flag that indicates when the data is valid and only show data if it is valid.
Since I am getting the correct Time value, does this mean that there is a connection to the satellite?
Anyone worked with this before?
Can post code if you like...
Thanks very much,
DaveD
Using
- MS eMbedded Visual C++ 3.0
- Windows Mobile 6.0 Professional