Confidential & Proprietary Information
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.
• To receive all Accelerometer event notifications, the valid command to activate all notifications AT+ANSF =511
• To receive all Accelerometer event notifications over configuration service, the valid command to activate all
notifications AT+AANSF = 511.
• AT+ANSF = 512 or greater will return ERROR.
7.10 POWER MANAGEMENT EVENT NOTIFICATION SETTINGS
Supported Power Management Event notifications code < PowerManagementNotifyFlags>
• POWER_NOTIFY_MCU_RESET = 1
• POWER_NOTIFY_TX_ASIC_RESET = 2
• POWER_NOTIFY_FLAGS_POWER_STATE_CHANGED = 4
• POWER_NOTIFY_FLAGS_TEMP_ALERT = 8
• POWER_NOTIFY_FUEL_GAUGE_ERROR = 16
• POWER_NOTIFY_TX_TEMP_THRESH_ALERT = 32
• POWER_NOTIFY_VOLT_ALERT = 64