Click or drag to resize

GM_GPSUtilGPSStartTrackingSerial Method

Starts tracking a GPS device connected to a serial port

Namespace:  GlobalMapper.GPS
Assembly:  GlobalMapperWrapperNET45 (in GlobalMapperWrapperNET45.dll) Version: 19.1.0.0 (19.1.0.0)
Syntax
public static GM_Error_t32 GPSStartTrackingSerial(
	GM_gps_format_t8 aFormat,
	byte aPort,
	uint aBaud,
	GM_GPSCallbackFunc aCallbackFunc,
	uint aReserved
)

Parameters

aFormat
Type: GlobalMapper.GPSGM_gps_format_t8
format (NMEA or Garmin)
aPort
Type: SystemByte
COM port for serial connections
aBaud
Type: SystemUInt32
baud rate for serial port
aCallbackFunc
Type: GlobalMapper.GPSGM_GPSCallbackFunc
optional callback function
aReserved
Type: SystemUInt32
32-bit reserved value (must be 0)

Return Value

Type: GM_Error_t32
A GM Error Code
See Also