32
ST150M User Manual
Confidential & Proprietary Information
9150-0125-01 R-1
7.4.4 READ GPIO NOTIFY FLAGS VIA CONFIGURATION SERVICE
AT+GPIOANSF?
Response
+ GPIOANSF: <GPIONotifyFlags>
Example:
• To receive hardware error event notification, the valid command to activate notification AT+GPIONSF = 4.
• To receive all GPIO event notifications, the valid command to activate all notifications AT+GPIONSF = 7.
• To receive all GPIO event notifications over configuration service, the valid command to activate all notifications
AT+GPIOANSF = 7.
• AT+GPIONSF = 8 will return ERROR.
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.
Содержание ST150M
Страница 1: ...USER MANUAL ST150M MODULE 9150 0125 01 R 1 ...
Страница 32: ...24 ST150M User Manual Confidential Proprietary Information 9150 0125 01 R 1 5 3 REFERENCE DESIGN SCHEMATICS ...
Страница 72: ...64 ST150M User Manual Confidential Proprietary Information 9150 0125 01 R 1 9150 0125 01 R 1 ...