EasyManua.ls Logo

Globalstar ST150 - Accelerometer Event Notification Settings; Set Accelerometer Event Notify Flags Via NUS, UART; Read Accelerometer Event Notify Flags Via NUS, UART; Set Accelerometer Event Notify Flags Via Configuration Service

Globalstar ST150
73 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
9150-0125-01 R-4
ST150M User Manual
Confidential & Proprietary Information
46
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

Table of Contents

Related product manuals