USR-G761w Guide Line
h.usriot.com
Jinan USR IOT Technology Limited
www.usriot.com
4
/
35
AT+SOCKA
Query/Set socket A parameters
TCP,test.usr.cn,2317
AT+SOCKB
Query/Set socket B parameters
TCP,test.usr.cn,2317
AT+SOCKAEN
Query/Set whether enable socket A
ON
AT+SOCKBEN
Query/Set whether enable socket B
OFF
AT+SOCKASL
Query/Set whether enable socket A short connection
LONG
AT+SOCKBSL
Query/Set whether enable socket B short connection
LONG
AT+SOCKALK
Query Connection Status of socket A
NONE
AT+SOCKBLK
Query Connection Status of socket B
NONE
AT+SOCKIDEN
Query /Set if it shows socket ID function
OFF
Figure 1 AT command set
Example:
1.
Set the work mode as transparent mode
AT+WKMOD=NET
2.
Enable the socket A
AT+SOCKAEN=ON
3.
Set socket A as TCP Client
AT+SOCKA=TCP,test.usr.cn,2317
4.
Set socket A as persistent connection
AT+SOCKASL=LONG
5.
Restart
:
AT+Z