User guide

CUSTOM AT COMMANDS
AT Commands for EV-DO-EV3 Modems
106
where:
<dir> Current direction setting for the GPIO<pin>.
<stat>
Logic value read from pin GPIO<pin> in the case the pin <dir> is set to input.
Logic value present in output of the pin GPIO<pin> in the case the pin <dir> is
currently set to output.
No meaning value for the pin GPIO<pin> in the case the pin <dir> is set to
alternate function or Tristate pull down.
"ALTERNATE FUNCTION" value is valid only for following pins:
GPIO4 - Alternate function is “RF Transmission Control.”
GPIO5 - Alternate function is “RF Transmission Monitor.
GPIO6 - Alternate function is "Alarm Output." (see +CALA)
Direction value for GPIO1 is 2 and is used to enable the status LED.
While using the pins in the alternate function, the GPIO read/write access to that pin is not accessible.
Example
AT#GPIO=3,0,1
OK
AT#GPIO=3,2
#GPIO: 1,0
OK
AT#GPIO=4,1,1
OK
AT#GPIO=5,0,0
OK
AT#GPIO=6,2
#GPIO: 0,1
OK
STAT_LED GPIO Setting #SLED
Set command sets the behavior of the STAT_LED GPIO
Read command returns the STAT_LED GPIO current setting, in the format:
#SLED: <mode>,<on_duration>,<off_duration>
Test command returns the range of available values for <mode>, <on_duration> and <off_duration>.
Syntax
Command Command type
AT#SLED=<mode>[,<on_duration>[,<off_duration>]]
Set
AT#SLED? Read
AT#SLED=? Test