The GPSDriver library is a wrapper above the GPS Intermediate Driver which was
introduced in Windows Mobile 5.0.
The GPS Intermediate Driver is responsible of handling internal and external GPS
devices and allows any number of applications to simultaneously share GPS data.
This library requires .Net Compact Framework 2.0 and Windows Mobile 5.0 or newer
devices. The GPSDriver can work with internal and external GPS devices.
GPSConverter is also included in this library and it includes several methods for
converting coordinates between different formats and different datums.
The GPSConverter is the same object as Converter which is part of the GPS library.
See the GPS documentation for more information about the converter.
The GPSDriver library will be merged in the executable during optimized compilation.
After opening the GPS device with Open method the most important method is
GetGPSData. This method checks for new data and fills all position related properties
with the new data.
GetGPSData should be periodically call, usually by a Timer.
Before retrieving the value of any position related property, a check should be done to
make sure that the property data is valid.
It is important to close the driver when it is no longer required.
Example:
This example fills a ListBox named lstData with data from the GPS.