|
LinksPoint GPS Toolkit Reference
|
// Initialize the GPS library, turn on GPS power if necessary, and open the serial port // Also load and initialize MathLib if (GpsInitialize(0, 4800, GPSPROTOCOL_NMEA, GPSENABLE_TRUE) != GPSERROR_NONE) return true; // Register wakeup and sleep notifications to we can turn the GPS power on and off // when the device awakens and goes to sleep GpsRegisterNotifications(GPSREGNOTIFY_TRUE, appFileCreator);
| Parameters | Description |
| GPSREGNOTIFY grnNotify | GPSREGNOTIFY_TRUE registers notifications with the operating system; GPREGNOTIFY_FALSE unregisters notifications from the operating system |
| UInt32 uiCreator |
The Creator ID of the user application using the GPS Library
|
GPSERROR GPSAPI GpsRegisterNotifications(GPSREGNOTIFY grnNotify, UInt32 uiCreator);