AT Command

Description

AT#GPIO AT command is control the GPIOs - read/write, configure as read/write/alternate/tristate.


Support

Telit Module Tutorial

Examples

//How is GPIO control command supported?
AT#GPIO=?

#GPIO: (1-18),(0-2),(0-2)

OK

//Read the GPIO 1 status. It is ocnfigured as input and the value is '0'
AT#GPIO=1,2

#GPIO: 0,0

OK

//Configure the GPIO 1 as output
AT#GPIO=1,0

OK

//Now read the value of GPIO 1
AT#GPIO=1,2

#GPIO: 1,0

OK

//Since it is configured as output, set value of GPIO 1 to '1'
AT#GPIO=1,1

OK

//Read back the value of GPIO '1'
AT#GPIO=1,2

#GPIO: 1,1

OK

KeywordsAT#GPIO syntax, examples, parameters, error, input, response.

With Online AT Command Tester tool, you can test this feature.

With Online AT Command Tester tool, you can also get device diagnostic information easily,