#GPIO - General Purpose Input/Output Pin Control
Example
...
#GPIO: <dir>,<stat>,<pull>
where
<dir> - as seen before
<stat> - as seen before
<pull> - as seen before
Read all inputs state:
AT#GPIO?
#GPIO: 0,1,1
#GPIO: 0,1,1
#GPIO: 0,1,1
#GPIO: 0,1,1
#GPIO: 0,1,1
#GPIO: 0,1,1
#GPIO: 0,1,1
OK
Set GPIO1 as input with pull-up resistor
AT#GPIO=1,0,0,2
OK
Read GPIO input state
AT#GPIO=1,2
#GPIO: 0,1,2
OK
Set GPIO1 as output with high state and no pull resistor
AT#GPIO=1,1,1,0
OK
34