USR-G761w Guide Line
h.usriot.com
Jinan USR IOT Technology Limited
www.usriot.com
23
/
35
8.1.2.25.
AT+SOCKBEN
Function: Query/Set whether enable socket B
Format:
Query current parameters:
AT+SOCKBEN{CR} or AT+SOCKBEN?{CR}
{CR}{LF}+SOCKBEN: status{CR}{LF}{CR}{LF}OK{CR}{LF}
Set:
AT+SOCKBEN=status{CR}
{CR}{LF}OK{CR}{LF}
Parameters:
Status: status of socket B, including:
ON: enable
OFF: disable
8.1.2.26.
AT+SOCKASL
Function: Query/Set the TCP persistent connection of socket A
Format:
Query current parameters:
AT+SOCKASL{CR} or AT+SOCKASL?{CR}
{CR}{LF}+SOCKASL: type{CR}{LF}{CR}{LF}OK{CR}{LF}
Set:
AT+SOCKASL=type{CR}
{CR}{LF}OK{CR}{LF}
Parameters:
Type: connection type, including:
SHORT: not persist, will disconnect the connection after sending data
LONG: persistent connection, keep persistent connection
Example: AT+SOCKASL=LONG
8.1.2.27.
AT+SOCKBSL
Function: Query/Set the TCP persistent connection of socket B
Format:
Query current parameters:
AT+SOCKBSL{CR} or AT+SOCKBSL?{CR}
{CR}{LF}+SOCKBSL: type{CR}{LF}{CR}{LF}OK{CR}{LF}
Set:
AT+SOCKBSL=type{CR}
{CR}{LF}OK{CR}{LF}
Parameters:
Type: link type, including: