9150-0125-01 R-1
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.
7.9 ACCELEROMETER EVENT NOTIFICATION SETTINGS
Supported Accelerometer Event notifications code <AccelerometerNotifyFlags>
•
MESSAGE_QUEUE_NOTIFY_FLAGS_MESSAGE_QUEUED = 1
•
ACCELEROMETER_NOTIFY_FLAGS_HARDWARE_ERROR_DETECTED = 2
•
ACCELEROMETER_NOTIFY_FLAGS_IN_MOTION = 4
•
ACCELEROMETER_NOTIFY_FLAGS_NO_MOTION = 8
•
ACCELEROMETER_NOTIFY_ACCELEROMETER_TRIGGERED = 16
•
ACCELEROMETER_NOTIFY_ORIENTATION_CHANGE_TRIGGERED = 32
•
ACCELEROMETER_NOTIFY_VIBRATION_TRIGGERED = 64
•
ACCELEROMETER_NOTIFY_ORIENTATION_MATCH = 128
•
ACCELEROMETER_NOTIFY_ORIENTATION_NOMATCH = 256
•
ACCELEROMETER_NOTIFY_ORIENTATION_SELF_TEST = 512
7.9.1 SET ACCELEROMETER EVENT NOTIFY FLAGS VIA NUS, UART.
AT+ANSF = <AccelerometerNotifyFlags>
7.9.2 READ ACCELEROMETER EVENT NOTIFY FLAGS VIA NUS, UART.
AT+ANSF?
Response
+ ANSF: <AccelerometerNotifyFlags>
7.9.3 SET ACCELEROMETER EVENT NOTIFY FLAGS VIA CONFIGURATION SERVICE
AT+AANSF = <AccelerometerNotifyFlags>
7.9.4 READ ACCELEROMETER EVENT NOTIFY FLAGS VIA CONFIGURATION SERVICE
AT+AANSF? Response
+ ANSF: <AccelerometerNotifyFlags>
Example:
•
To receive accelerometer vibration triggered and in motion event notification, the valid command to activate notification
AT+ANSF = 68.
ST150M User Manual
Confidential & Proprietary Information
36