Low power WIFI module user manual
Jinan USR IOT Technology Limited
Page 64/72
APPENDIX B: CONTROL GPIO/PWM
FUNCTION WITH NETWORK COMMANDS
Send command data to control module’s GPIO, PWM port after make network
connection with TCP or UDP protocol. The status of GPIO won’t be changed if
the module is reset.
B.1 Network Command
B.1.1 GPIO <channel> OUT <value>
Function: Set GPIO Channel value temporarily.
。
Parameters:
channel:GPIO Channel number, it can be 11
、
12
、
18(GPIO Pin
Number )
value:GPIO Channel value,1(high voltage)
,
0(low voltage)
Return Data:
GPIO OK: Command successful
GPIO NOK: Command failed
B.1.2 GPIO <channel> GET
Function: Query GPIO Channel value
Parameters:
channel: GPIO Channel number,it can be 11
、
12
、
18(GPIO Pin
Number )
Return Data: