Read Gpio Notify Flags Via Configuration Service; Inputs/Count Event Notification Settings; Set Inputs/Count Notify Flags Via Nus, Uart; Set Inputs/Count Notify Flags Via Configuration Service - Globalstar ST150M User Manual

Hide thumbs Also See for ST150M:
Table of Contents

Advertisement

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 User Manual
Confidential & Proprietary Information
32

Advertisement

Table of Contents
loading

Table of Contents