LinksPoint GPS Toolkit Reference
GpsSetPort
gpsapi.h | Generic GPS Functions
Sets the communications port
Parameters
Parameters Description
long lPort Specifies the communications port used when GPS is enabled.
Return Value
The return value will be the new current communication port number.
Remarks
  • See the Autodetect topic for special settings to initiate an automatic GPS receiver detection.
Windows
The lPort value should be 1 for COM1:, 2 for COM2:, etc.
Palm OS
The lPort value will represent the number of the port as reported by the GpsGetPortList function. For example, a value of 1 represents the first entry in the port list, 2 represents the second entry in the port list, etc.
Group
Declaration
long GPSAPI GpsSetPort(long lPort);
File
Links
Copyright ©1998-2005 Links Point Inc.