![SimCom SIM5350 Скачать руководство пользователя страница 133](http://html1.mh-extra.com/html/simcom/sim5350/sim5350_command-set_1274792133.webp)
SIM5350 AT Command Set
Write Command
Responses
OK
AT+CGDRT=
<gpio_num>
,
<gpio_io>
[,
<save>
]
ERROR
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_io>
0 – in
1 – out
<save>
0 – not save the setting
1 – save the setting
NOTE:
If the parameter of
<save>
is omitted, it will save the direction of specified GPIO;
The gpio_num corresponds to pin index on SIM5350;
Examples
AT+CGDRT=47,0,0
OK
9.5
AT+CGSETV Set the value of specified GPIO
Description
This command is used to set the value of the specified GPIO to high or low.
SIM PIN References
NO
Vendor
Syntax
Write Command
Responses
OK
AT+CGSETV=
<gpio_num>
,
<gpio_hl>
[,
<save>
]
ERROR
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
SIM5350_ATC_V1.02
6/9/2014
132
Содержание SIM5350
Страница 1: ...AT Command Set SIM5350 _ATC_V1 02...