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 User Manual

Table of Contents

Advertisement

9150-0125-01 R-4
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

Set GPIO Notify Flags via NUS, UART

7.4.1
AT+GPIONSF = <GPIONotifyFlags>

Read GPIO Notify Flags via NUS, UART

7.4.2
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
COUNT_NOTIFY_FLAGS_RESERVED_2
COUNT_NOTIFY_FLAGS_RESERVED_3
COUNT_NOTIFY_FLAGS_INPUT_COUNT_MODULO
COUNT_NOTIFY_FLAGS_INPUT_ACCUMULATED_MODULO
COUNT_NOTIFY_FLAGS_INPUT_TRANSITION
COUNT_NOTIFY_FLAGS_INPUT_TRANSITION_HYSTERESIS
COUNT_NOTIFY_FLAGS_CHANGED_STATE
COUNT_NOTIFY_FLAGS_POWER_ON_DELAY
COUNT_NOTIFY_FLAGS_COUNT_ROLLOVER
COUNT_NOTIFY_FLAGS_ACCUMULATED_ROLLOVER
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>
ST150M User Manual
=
=
=
=
=
=
=
=
=
=
=
Confidential & Proprietary Information
1
2
4
8
16
32
64
128
256
512
1024
42

Advertisement

Table of Contents
loading

This manual is also suitable for:

St150m-devkit

Table of Contents