USR-G761w Guide Line
h.usriot.com
Jinan USR IOT Technology Limited
www.usriot.com
22
/
35
{CR}{LF}OK{CR}{LF}
Parameters:
Communication protocol, including:
TCP
UDP
Address: destination server address, this address can be domain or IP address
Port: destination server port, range from 1~65535
Example: AT+SOCKA=TCP,test.usr.cn,8899
8.1.2.23.
AT+SOCKB
Function: Query/Set parameters of socket B
Format:
Query current parameters:
AT+SOCKB{CR} or AT+SOCKB?{CR}
{CR}{LF}+SOCKB: protocol, address, port{CR}{LF}{CR}{LF}OK{CR}{LF}
Set:
AT+SOCKB=protocol, address, port{CR}
{CR}{LF}OK{CR}{LF}
Parameters:
Protocol, including:
TCP
UDP
Address: destination server address, the address can be domain or IP address.
Port: destination server port, range from 1~65535
Example: AT+SOCKB=TCP,test.usr.cn,8899
8.1.2.24.
AT+SOCKAEN
Function: Query/Set whether enable socket A
Format:
Query current parameters:
AT+SOCKAEN{CR} or AT+SOCKAEN?{CR}
{CR}{LF}+SOCKAEN: status{CR}{LF}{CR}{LF}OK{CR}{LF}
Set:
AT+SOCKAEN=status{CR}
{CR}{LF}OK{CR}{LF}
Parameters:
Status: status of socket A, including:
ON: enable
OFF: disable