Telit LE910 V2 Series AT Commands
80446ST10707A Rev. 0– 2015-11-03
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 204 of 509
Mod. 0808 2011-07 Rev.2
#GPIO - General Purpose Input/Output Pin Control
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
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
If <mode> = 3,4 the ouput format is
#GPIO:<dir>,<stat>,<mode>[<CR><LF>#GPIO:<dir>,<stat>,<mode>[…]]
Test command reports the supported range of values of the command parameters
<pin>, <mode> , <dir> and <save>.
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