Data Sheet
Smart Machine Smart Decision
AT+GSV
Example:
SIMCOM_Ltd
SIMCOM_SIM800H
Revision: 1308B01SIM800H32
OK
Parameter Saving NO_SAVE
Mode
Max Response -
Time
Reference Note
6.2.40 AT+SGPIO Control the GPIO
AT+SGPIO Control the GPIO
Response
+SGPIO: (0-1),(1-7),(0-1),(0-1)
OK
Test Command
AT+SGPIO=?
Parameters
See Write Command
Response
OK
ERROR
Write Command
AT+SGPIO=<ope
ration>,<GPIO>,
<function>,<level
Parameters
>
<Operation> 0 Set the GPIO function including the GPIO output .
1 Read the GPIO level. Please note that only when the gpio is
set as input, user can use parameter 1 to read the GPIO level, otherwise the
module will return "ERROR".
<GPIO> The GPIO you want to be set. (It has relations with the
hardware, please refer to the hardware manual)
<function> Only when <Operation> is set to 0, this option takes
effect.
0 Set the GPIO to input.
1 Set the GPIO to output
<level> 0 Set the GPIO low level
1 Set the GPIO high level
Parameter Saving NO_SAVE
Mode
Max Response -
Time
SIM800 Series_AT Command Manual_V1.05 173 2014-07-31