Specifications

UC864-E/G AT Commands Reference Guide
80304ST10041a Rev. 3 - 18/07/08
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 167 of 259
#GPIO - General Purpose Input/Output Pin Control
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
3.5.7.1.20 STAT_LED GPIO Setting - #SLED
#SLED - STAT_LED GPIO Setting
AT#SLED=<mode>
[,<on_duration>
[,<off_duration>]]
Set command sets the behaviour of the STAT_LED GPIO
Parameters:
<mode> - defines how the STAT_LED GPIO is handled
0 - GPIO tied Low
1 - GPIO tied High
2 - GPIO handled by Module Software (factory default)
3 - GPIO is turned on and off alternatively, with period defined by the sum
<on_duration> + <off_duration>
<on_duration> - duration of period in which STAT_LED GPIO is tied High
while <mode>=3
1..100 - in tenth of seconds (default is 10)
<off_duration> - duration of period in which STAT_LED GPIO is tied Low
while <mode>=3
1..100 - in tenth of seconds (default is 10)
Note: values are saved in NVM by command #SLEDSAV
Note: at module boot the STAT_LED GPIO is always tied High and holds
this value until the first NVM reading.
AT#SLED? Read command returns the STAT_LED GPIO current setting, in t he format:
#SLED: <mode>,<on_duration>,<off_duration>
AT#SLED=? Test command returns the range of available values for parameters
<mode>, <on_duration> and <off_duration>.
3.5.7.1.21 Save STAT_LED GPIO Setting - #SLEDSAV
#SLEDSAV - Save STAT_LED GPIO Setting
AT#SLEDSAV Execution command saves STAT_LED setting in NVM.
AT#SLED=? Test command returns OK result code.