Specifications
UC864-E/G/WD/WDU AT Commands Reference Guide
80304ST10041a Rev. 7 - 2010-10-14
Reproduction forbidden without Telit Communications S.p.A’s. written authorization - All Rights Reserved. Page 186 of 318
#GPIO - General Purpose Input/Output Pin Control
Note: while using the pins in the alternate function, the GPIO read/write
access to that pin is not accessible and shall be avoided.
AT#GPIO? Read command reports the read direction and value of all GPIO pins, in the
format:
#GPIO: <dir>,<stat>[<CR><LF>#GPIO: <dir>,<stat>[…]]
where:
<dir> - as seen before
<stat> - as seen before
AT#GPIO=? Test command reports the supported range of values of the command
parameters <pin>, <mode> and <dir>.
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
3.5.7.1.22. 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)