9150-0125-01 R-4
7.9
ACCELEROMETER EVENT NOTIFICATION SETTINGS
Supported Accelerometer Event notifications code <AccelerometerNotifyFlags>
•
MESSAGE_QUEUE_NOTIFY_FLAGS_MESSAGE_QUEUED
ACCELEROMETER_NOTIFY_FLAGS_HARDWARE_ERROR_DETECTED
•
ACCELEROMETER_NOTIFY_FLAGS_IN_MOTION
•
•
ACCELEROMETER_NOTIFY_FLAGS_NO_MOTION
•
ACCELEROMETER_NOTIFY_ACCELEROMETER_TRIGGERED
•
ACCELEROMETER_NOTIFY_ORIENTATION_CHANGE_TRIGGERED
•
ACCELEROMETER_NOTIFY_VIBRATION_TRIGGERED
•
ACCELEROMETER_NOTIFY_ORIENTATION_MATCH
•
ACCELEROMETER_NOTIFY_ORIENTATION_NOMATCH
•
ACCELEROMETER_NOTIFY_ORIENTATION_SELF_TEST
Set Accelerometer Event Notify Flags via NUS, UART.
7.9.1
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
•
POWER_NOTIFY_TX_ASIC_RESET
•
POWER_NOTIFY_FLAGS_POWER_STATE_CHANGED
•
POWER_NOTIFY_FLAGS_TEMP_ALERT
•
POWER_NOTIFY_FUEL_GAUGE_ERROR
•
POWER_NOTIFY_TX_TEMP_THRESH_ALERT
POWER_NOTIFY_VOLT_ALERT
•
ST150M User Manual
Confidential & Proprietary Information
= 1
= 2
= 4
= 8
=
16
= 32
= 64
= 128
= 256
= 512
= 1
= 2
= 4
= 8
= 16
= 32
= 64
46