| GM_GPSUtil .GPSStartTrackingSerial Method |
Starts tracking a GPS device connected to a serial port
Namespace:GlobalMapper.GPS
Assembly: GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 18.0.0.0 (18.0.0.0)
C#
public
static
GM_Error_t32
GPSStartTrackingSerial
(
GM_gps_format_t8
aFormat
,
byte
aPort
,
uint
aBaud
,
GM_GPSCallbackFunc
aCallbackFunc
,
uint
aReserved
)
Parameters
- aFormat
-
Type:
GlobalMapper
.
GM_gps_format_t8
format (NMEA or Garmin) - aPort
-
Type:
System
.
Byte
COM port for serial connections - aBaud
-
Type:
System
.
UInt32
baud rate for serial port - aCallbackFunc
-
Type:
GlobalMapper
.
GM_GPSCallbackFunc
optional callback function - aReserved
-
Type:
System
.
UInt32
32-bit reserved value (must be 0)
Return Value
Type: GM_Error_t32A GM Error Code