USR-GM3/GM3s User Manual
Jinan USR IOT Technology Limited
47 / 55
�
“off” : disable
27) AT+SOCKBEN
�
function : query or set enable/disable socket B.
�
format :
�
query parameter introductions:
AT+SOCKBEN=?{CR}
AT+SOCKBEN=?{CR}
AT+SOCKBEN=?{CR}
AT+SOCKBEN=?{CR}
{CR}{LF}+SOCKBEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKBEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKBEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKBEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF}
�
�
�
�
query current value of parameter:
AT+SOCKBEN{CR}
AT+SOCKBEN{CR}
AT+SOCKBEN{CR}
AT+SOCKBEN{CR} or
or
or
or AT+SOCKBEN?{CR}
AT+SOCKBEN?{CR}
AT+SOCKBEN?{CR}
AT+SOCKBEN?{CR}
{CR}{LF}+SOCKBEN:status{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKBEN:status{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKBEN:status{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKBEN:status{CR}{LF}{CR}{LF}OK{CR}{LF}
�
set parameter:
AT+SOCKBEN=status{CR}
AT+SOCKBEN=status{CR}
AT+SOCKBEN=status{CR}
AT+SOCKBEN=status{CR}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
�
parameter :
�
status : enable or disable socket B.
�
“on” : enable
�
“off” : disable
28) AT+SOCKASL
�
function : query or set socket A long or short connection.
�
format :
�
query parameter introductions:
AT+SOCKASL=?{CR}
AT+SOCKASL=?{CR}
AT+SOCKASL=?{CR}
AT+SOCKASL=?{CR}
{CR}{LF}+SOCKASL:<"short","long">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKASL:<"short","long">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKASL:<"short","long">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKASL:<"short","long">{CR}{LF}{CR}{LF}OK{CR}{LF}
�
query current value of parameter:
AT+SOCKASL{CR}
AT+SOCKASL{CR}
AT+SOCKASL{CR}
AT+SOCKASL{CR} or
or
or
or AT+SOCKASL?{CR}
AT+SOCKASL?{CR}
AT+SOCKASL?{CR}
AT+SOCKASL?{CR}
{CR}{LF}+SOCKASL:type{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKASL:type{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKASL:type{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKASL:type{CR}{LF}{CR}{LF}OK{CR}{LF}
�
set parameter:
AT+SOCKASL=type{CR}
AT+SOCKASL=type{CR}
AT+SOCKASL=type{CR}
AT+SOCKASL=type{CR}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
�
parameter :
�
type : connection style
�
“short” : short connection
�
“long” : long connection
29) AT+SOCKBSL
�
function : query or set socket B long or short connection.
�
format :
�
query parameter introductions:
AT+SOCKBSL=?{CR}
AT+SOCKBSL=?{CR}
AT+SOCKBSL=?{CR}
AT+SOCKBSL=?{CR}