AT+SGPIO AT command is used control the GPIOs - level, function Iinput or output, read.
Simcom Module Tutorial
//How is AT+SGPIO command supported?
//Set the GPIO 4 as input and set the value to 0.
//Now read the value of GPIO 4
|Keywords||AT+SGPIO 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,