Click or drag to resize

GM_GPSUtilGPSStartTrackingSerial Method

Starts tracking a GPS device connected to a serial port

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

Parameters

aFormat
Type: GlobalMapperGM_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: GlobalMapperGM_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