At+Cgpio Control The Gpio By Pin Index - SimCom SIM7000 Series At Command Manual

Hide thumbs Also See for SIM7000 Series:
Table of Contents

Advertisement

Parameters
<mode>
Parameter Saving
Mode
Max
Response
-
Time
Reference
Note

5.2.16 AT+CGPIO Control the GPIO by PIN Index

AT+CGPIO Control the GPIO by PIN Index
Test Command
Response
+CGPIO: (0-1),( list of supported <pin>s),(0-1),(0-1)
AT+CGPIO=?
OK
Parameters
See Write Command
Write Command
Response
AT+CGPIO=<ope
OK
ration>,<pin>,<fu
or
nction>,<level>
ERROR
Parameters
<operation>
set as input, user can use parameter 1 to read the GPIO level, otherwise the
module will return "ERROR".
<pin>
hardware, please refer to the hardware manual)
<function> Only when <operation> is set to 0, this option takes effect.
<level>
Parameter
Saving -
SIM7000 Series_AT Command Manual_V1.03
0
Disable
1
Enable, the netlight will be forced to enter into 64ms on/300ms off
blinking state in GPRS data transmission service. Otherwise, the
netlight state is not restricted.
2
Enable, the netlight will blink according to AT+SLEDS in GPRS
data transmission service.
0 Set the GPIO function including the GPIO output .
1 Read the GPIO level. Please note that only when the gpio is
The PIN index you want to be set. (It has relations with the
0 Set the GPIO to input.
1 Set the GPIO to output
0 Set the GPIO low level
1 Set the GPIO high level
Smart Machine Smart Decision
93
2018-05-08

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SIM7000 Series and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents

Save PDF