GPS Intermediate Drivers (Compact 2013)

3/26/2014

The global positioning system (GPS) intermediate driver (GPSID) provides an intermediate layer that enables an application developer to write code that works with any GPS hardware.

When you create a GPSID, you must provide support for applications that read parsed GPS data by implementing the GPSOpenDevice, GPSGetPosition, and GPSCloseDevice GPSID API functions. To provide backward compatibility for applications that connect to the GPS hardware directly and parse National Marine Electronics Association (NMEA) strings, you must implement the CreateFile, ReadFile, and CloseHandle functions in your GPSID. You make these functions read from the GPS hardware NMEA strings and pass those strings as streams to applications that are configured to connect directly to GPS hardware. Implementing these functions in your GPSID allows multiple applications to use the GPS hardware at once, because the GPSID accesses the GPS hardware directly on behalf of each application.

To add this feature to your OS, see GPS Driver Catalog Items and Sysgen Variables.

For reference information, see GPS Intermediate Driver Reference.

The recommended location for your driver implementation is %_WINCEROOT%\Platform\<BSP Name>\Src\Drivers\GPSID.

See Also

Other Resources

Device Drivers