Click or drag to resize

GM_GPSStartTrackingNMEAFile

Starts simulation of tracking a GPS device from a file containing a stream of NMEA sentences.

If a callback function is provided, it will be called on the GPS thread whenever new GPS locations are decoded from the file and when the GPS tracking state changes based on the sentences in the file.

Syntax
GM_DLL_EXPORTED GM_Error_t32 __stdcall GM_GPSStartTrackingNMEAFile
( 
const char*             aFilename,      // full path to NMEA file to use
GM_gps_nmea_flags_t32   aNmeaFlags,     // flags controlling NMEA playback
GM_GPSCallbackFunc      aCallbackFunc,  // optional callback function
void*                   aReserved       // reserved value (must be NULL)
);