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
)
Public Shared Function GPSStartTrackingSerial (
aFormat As GM_gps_format_t8,
aPort As Byte,
aBaud As UInteger,
aCallbackFunc As GM_GPSCallbackFunc,
aReserved As UInteger
) As GM_Error_t32
public:
static GM_Error_t32 GPSStartTrackingSerial(
GM_gps_format_t8 aFormat,
unsigned char aPort,
unsigned int aBaud,
GM_GPSCallbackFunc^ aCallbackFunc,
unsigned int 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_t32A GM Error Code
See Also