S2253p_enablegps, S2253p_readgpsstatus, S2253p_readlatitude – Sensoray 2253 Windows User Manual
Page 45

S2253P_XIO_PAUSE_MODE_LEVEL_HIGH
S2253P_XIO_PAUSE_MODE_LEVEL_LOW
S2253P_EnableGPS
MID2253_API int __stdcall S2253P_EnableGPS (
int
devid,
int
enable);
This function enables or disables the GPS commands on the 2253P-specific
hardware. When enabled, the GPS data is automatically updated on the OSD,
and the following GPS functions will return data. The following codes may be
used with S2253_SetOsd function to insert GPS data into the OSD text.
^p (GPS latitude)
^l (GPS longitude)
^m (GPS UTC date)
^u (GPS UTC time)
^s (GPS speed in knots)
^h (GPS course heading)
^e (encoder 0 count)
^f (encoder 1 count)
devid
device id in the system (use 0 with a single board installed).
enable
0=disable 1=enable
S2253P_ReadGPSStatus
MID2253_API int __stdcall S2253P_ReadGPSStatus (
int
devid,
int
*status);
This function reads the GPS status on the 2253P-specific hardware.
devid
device id in the system (use 0 with a single board installed).
status
pointer to variable receiving the GPS status.
S2253P_ReadLatitude
MID2253_API int __stdcall S2253P_ReadLatitude (
int
devid,
45