EasyManua.ls Logo

Globalstar ST150 - GPIO Event Notification Settings; Set GPIO Notify Flags Via NUS, UART; Read GPIO Notify Flags Via NUS, UART; Set GPIO 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
42
7.4 GPIO EVENT NOTIFICATION SETTINGS
Supported GPIO Events notifications code <GPIONotifyFlags>
GPIO_EVENT_ISR_TRIGGERED = 1
GPIO_EVENT_PROPERTY_TRIGGERED = 2
GPIO_EVENT_HARDWARE_ERROR_DETECTED = 4
7.4.1 Set GPIO Notify Flags via NUS, UART
AT+GPIONSF = <GPIONotifyFlags>
7.4.2 Read GPIO Notify Flags via NUS, UART
AT+GPIONSF?
Response
+ GPIONSF: <GPIONotifyFlags>
7.4.3 Set GPIO Notify Flags via Configuration Service
AT+GPIOANSF = <GPIONotifyFlags>
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>

Table of Contents

Related product manuals