Datasheet
 10 / 23 
PI08 drives the working status, and PI09 drives the link status. 
Example: 
PI08 outputs low level to turn on LED, and PI09 outputs high level to turn on LED. 
AT+POLAR=0,1 \r\n 
OK 
AT+POLAR?\r\n 
+POLAR:0,1 
OK 
#17: Set single PIO output 
Command
Return
Argument
AT+
PIO=<Param1>,<Param2>
OK
Param1:  PIO  port  number 
(decimal) 
Param2L PIO port output 
0-  Low voltage 
1-  High voltage 
The useable port is PIO2- PIO7 and PIO10. 
Example: 
1.  PIO10 outputs high level 
AT+PIO=10,1\r\n 
OK 
2.  PIO10 outputs low level 
AT+PIO=10,0\r\n 
OK 
#18: Set multiple port output 
Command
Return
Argument
AT+
MPIO=<Param>
OK
Param:  PIO  port  number 
mask combination (hex) 
The useable port is PIO2- PIO7 and PIO10. 
PIO port mask = (1 << port number) 
PIO port mask combination = ( PIO port mask 1| PIO port mask 2 |PIO port mask 3 |…) 
Example: 
PIO2 mask= (1<<2)=0x004 
PIO10 mask = (1<<10)=0x400 
PIO port mask combination= (0x004 | 0x400)=0x404 
PIO 2 and PIO 10 output high: 
AT+MPIO=404\r\n 
OK 










