
33
ST150M User Manual
Confidential & Proprietary Information
9150-0125-01 R-1
7.5 INPUTS/COUNT EVENT NOTIFICATION SETTINGS
Supported Inputs/Count Event notifications code <InputsCountNotifyFlags>
• COUNT_NOTIFY_FLAGS_RESERVED_1 = 1
• COUNT_NOTIFY_FLAGS_RESERVED_2 = 2
• COUNT_NOTIFY_FLAGS_RESERVED_3 = 4
• COUNT_NOTIFY_FLAGS_INPUT_COUNT_MODULO = 8
• COUNT_NOTIFY_FLAGS_INPUT_ACCUMULATED_MODULO = 16
• COUNT_NOTIFY_FLAGS_INPUT_TRANSITION = 32
• COUNT_NOTIFY_FLAGS_INPUT_TRANSITION_HYSTERESIS = 64
• COUNT_NOTIFY_FLAGS_CHANGED_STATE = 128
• COUNT_NOTIFY_FLAGS_POWER_ON_DELAY = 256
• COUNT_NOTIFY_FLAGS_COUNT_ROLLOVER = 512
• COUNT_NOTIFY_FLAGS_ACCUMULATED_ROLLOVER = 1024
7.5.1 SET INPUTS/COUNT NOTIFY FLAGS VIA NUS, UART
AT+CNSF = < InputsCountNotifyFlags>
7.5.2 Read Inputs/Count Notify Flags via NUS, UART
AT+CNSF?
Response
+ CNSF: < InputsCountNotifyFlags>
7.5.3 SET INPUTS/COUNT NOTIFY FLAGS VIA CONFIGURATION SERVICE
AT+CAPPNSF = < InputsCountNotifyFlags>
7.5.4 READ INPUTS/COUNT NOTIFY FLAGS VIA CONFIGURATION SERVICE
AT+CAPPNSF?
Response
+ CAPPNSF: < InputsCountNotifyFlags>
Example:
• To receive count modulus and input transition event notification, the valid command to activate notification AT+CNSF = 40
(32+8).
• To receive all Inputs/Count event notifications, the valid command to activate all notifications AT+CNSF = 2047.
• To receive all Inputs/Count event notifications over configuration service, the valid command to activate all notifications
AT+CAPPNSF = 2047.
• AT+CNSF = 2048 will return ERROR.
• Configuring any reserved notification will return error.
7.6 TRACK EVENTS NOTIFICATION SETTINGS
Supported Track Event notifications code <TrackNotifyFlags>
• TRACK_NOTIFY_FLAGS_UPDATE_TRIGGERED = 1
• TRACK_NOTIFY_FLAGS_RESERVED_1 = 2
• TRACK_NOTIFY_FLAGS_RESERVED_2 = 4
• TRACK_NOTIFY_FLAGS_RESERVED_3 = 8
• TRACK_NOTIFY_FLAGS_LOCATION_ERROR = 16