Low power WIFI module user manual
Jinan USR IOT Technology Limited
Page 47/72
4.2.2.28. AT+SOCKB
Function: Set/Query SOCKB parameters
Format:
Query Operation
AT+SOCKB<CR>
+ok=<protocol,port,IP><CR>< LF ><CR>< LF >
Set Operation
AT+SOCKB=<protocol,port,IP><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
Protocol: Protocol type:
TCP: Only for TCP Client
UDP
Port: Protocol Port in decimal, less than 65535
IP: Destination IP address, domain name is support
4.2.2.29. AT+TCPDISB
Function: Open/Close TCP_B connection
Format:
Query Operation
AT+TCPDISB<CR>
+ok=<sta><CR>< LF ><CR>< LF >
Set Operation
AT+ TCPDISB =<on/off><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
When setting, “off” means close TCP link. After finish this command,
module disconnect TCP link and not connect again. “On” means open TCP
link. After finish this command, module re-connect TCP server right
away.
4.2.2.30. AT+TCPTOB
Function: Set
/Query OperationTCP_B timeout
Format:
Query Operation
AT+ TCPTOB<CR>
+ok=<time><CR>< LF ><CR>< LF >
Set Operation
AT+ TCPTOB=<time ><CR>
+ok<CR>< LF ><CR>< LF >
Parameters
Time: TCP timeout
<= 600:600s
>=0:0 means no timeout