LinksPoint GPS Toolkit Reference
GpsSetBluetoothAddress
gpsapi.h | Generic GPS Functions | See Also
Sets the GPS Toolkit to coonect to a Bluetooth GPS via Windows Sockets instead of a serial port.
Parameters
Parameters Description
unsigned short usChannel Specifies the Bluetooth channel number for the socket connection.
lpszBluetoothAddress Specifies the Bluetooth address in the form "00.00.00.00.00.00" for the GPS if a connection is being made via Windows Sockets. If this value is NULL then the the Bluetooth address is cleared and the toolkit will use the configured serial port the next time the GPS is enabled.
Return Value
If the GPS library is successfully initialized, then the return value will be GPSERROR_NONE. Otherwise, it will be one of the following error codes: GPSERROR_NOT_SUPPORTED
Remarks
  • This function is only supported under Windoes CE version 4.20 and above

  • The settings will not take effect until the GPS is disabled and re-enabled using GpsEnable.
See Also
Group
Declaration
GPSERROR GPSAPI GpsSetBluetoothAddress(LPCTSTR lpszAddress, unsigned short usChannel);
File
Links
Copyright ©1998-2005 Links Point Inc.