At+Cggetv Get The Value Of Specified Gpio - SimCom SIM5350 Command Set

At command set
Table of Contents

Advertisement

SIM5350 AT Command Set
<save>
0 – not save the setting
1 – save the setting
NOTE: If the parameter of
The gpio_num corresponds to pin index on SIM5350;
Examples
AT+CGSETV=47,0,0
OK
9.6

AT+CGGETV Get the value of specified GPIO

Description
This command is used to get the value (high or low) of the specified GPIO.
SIM PIN
References
NO
Vendor
Syntax
Write Command
AT+CGGETV=<gpio_num>
Defined values
<gpio_num>
2,3,4,5,6,7,9,10,11,12,15,16,17,18,19,20,21,22,23,29,30,31,35,36,37,38,39,40,46,47,48,49,53
<gpio_hl>
0 – low
1 – high
NOTE: The gpio_num corresponds to pin index on SIM5350;
Examples
AT+CGGETV=3
+CGGETV: 0
OK
SIM5350_ATC_V1.02
<save>
is omitted, it will save the value of specified GPIO;
Responses
+CGGETV:
<gpio_hl>
OK
ERROR
133
6/9/2014

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Table of Contents