Configuring Inputs - Globalstar ST150 User Manual

Table of Contents

Advertisement

9150-0125-01 R-4
The output of a module to "AT+GPIOLIST=0" with none of the GPIO reserved yet is shown below. This shows all
inputs available.
+GPIOLIST:0,0,2,0,1,0,0,0,0,0,P0.02
+GPIOLIST:1,0,3,0,1,0,0,0,0,0,P0.03
+GPIOLIST:2,0,4,0,1,0,0,0,0,0,P0.04
+GPIOLIST:3,0,5,0,1,0,0,0,0,0,P0.05
+GPIOLIST:4,6,16,1,1,0,0,0,1,0,P0.16
+GPIOLIST:5,0,24,0,1,0,0,0,0,0,P0.24
+GPIOLIST:6,5,25,1,1,1,0,0,1,0,P0.25
+GPIOLIST:7,0,28,0,1,0,0,0,0,0,P0.28
+GPIOLIST:8,0,29,0,1,0,0,0,0,0,P0.29
+GPIOLIST:9,0,30,0,1,0,0,0,0,0,P0.30
+GPIOLIST:10,0,31,0,1,0,0,0,0,0,P0.31
+GPIOLIST:11,0,33,0,1,0,0,0,0,0,P1.01
+GPIOLIST:12,0,34,0,1,0,0,0,0,0,P1.02
+GPIOLIST:13,0,35,0,1,0,0,0,0,0,P1.03
+GPIOLIST:14,0,36,0,1,0,0,0,0,0,P1.04
+GPIOLIST:15,0,37,0,1,0,0,0,0,0,P1.05
+GPIOLIST:16,0,38,0,1,0,0,0,0,0,P1.06
+GPIOLIST:17,0,39,0,1,0,0,0,0,0,P1.07
+GPIOLIST:18,0,42,0,1,0,0,0,0,0,P1.10
+GPIOLIST:19,0,44,0,1,0,0,0,0,0,P1.12
+GPIOLIST:20,0,46,0,1,0,0,0,0,0,P1.14
+GPIOLIST:21,0,47,0,1,0,0,0,0,0,P1.15
+GPIOLIST:22,2,0,0,0,0,0,0,0,0,Tamper
+GPIOLIST:23,3,0,0,0,0,0,0,0,0,Line Pwr
+GPIOLIST:24,4,0,0,0,0,0,0,0,0,Adv Enable
OK

7.12.2 Configuring Inputs

To reserve one of the inputs in the list above, use:
AT+GPIOCFGIN=<reserved>,<key>,[<is_active_high>]
Examples:
Reserve key 0 as active high
AT+GPIOCFGIN=1,0,1
Reserve key 1 as active low:
AT+GPIOCFGIN=1,1,0
Reserve key 2 as active low (note, omitting the "active high" Boolean defaults to active low):
AT+GPIOCFGIN=1,2
To get a list of enabled inputs, use the command "AT+INLIST=<source_type>".
For input source type: 0 = All, 1 = GPIO, 2= BLE, 3 = Accelerometer.
ST150M User Manual
Confidential & Proprietary Information
49

Advertisement

Table of Contents
loading

This manual is also suitable for:

St150m-devkit

Table of Contents