9150-0125-01 R-4
7.8
GPS EVENT NOTIFICATION SETTINGS
Supported GPS Event notifications code < GPSNotifyFlags>
•
GPS_NOTIFY_FLAGS_FIX_STARTED
•
GPS_NOTIFY_FLAGS_FIX_COMPLETED_SUCCESS
•
GPS_NOTIFY_FLAGS_FIX_COMPLETED_ERROR
•
GPS_NOTIFY_FLAGS_HARDWARE_ERROR
•
GPS_NOTIFY_FLAGS_CHANGE_IN_LOCATION_DETECTED
•
GPS_NOTIFY_FLAGS_NMEA_SENTENCE
•
GPS_NOTIFY_TIMEOUT_WITH_FIX
GPS_NOTIFY_2D_FIX_ACHIEVED
•
GPS_NOTIFY_3D_FIX_ACHIEVED
•
•
GPS_NOTIFY_GPS_POSITION_MANUALLY_SET
•
GPS_NOTIFY_FLAGS_GEOFENCE_EVENT_DETECTED
•
GPS_NOTIFY_FLAGS_GEOFENCE_RENTRY_DETECTED
7.8.1
Set GPS Notify Flags via NUS, UART.
AT+GNSF = < GPSNotifyFlags>
Read GPS Notify Flags via NUS, UART.
7.8.2
AT+GNSF?
Response
+ GNSF: < GPSNotifyFlags>
7.8.3
Set GPS Notify Flags via Configuration Service
AT+GANSF = < GPSNotifyFlags>
7.8.4
Read GPS Notify Flags via Configuration Service
AT+GANSF?
Response
+ GNSF: < GPSNotifyFlags>
Example:
To receive GPS Fix completed and timeout with fix event notification, the valid command to activate notification
•
AT+GNSF = 66.
•
To receive all GPS event notifications, the valid command to activate all notifications AT+GNSF = 4095.
To receive all GPS event notifications over configuration service, the valid command to activate all notifications
•
AT+GANSF = 4095.
•
AT+GNSF = 4096 OR GREATER will return ERROR.
ST150M User Manual
= 1
= 2
= 4
= 8
= 16
= 32
= 64
= 128
= 256
= 512
= 1024
= 2048
Confidential & Proprietary Information
45