User Manual

High-Flying
HF-LPT200 Low Power WiFi Module User Manual
Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com) - 42 -
If set as UDP,CLIENT, the data will always be sent to the IP address and port set by this
command.
4.2.2.31. AT+TCPDISB
Function: Open/Close SOCKB 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.32. AT+TCPTOB
Function: Set/Query Operation SOCKB timeout. Setting is valid after reset.
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
Default:300s
The module will not connect SOCKB after TCP timeout. The module will make connection
after another “TCPDISB” command.
4.2.2.33. AT+TCPLKB
Function:Query SOCKB connection status
Format:
AT+TCPLKB<CR>
+ok=<sta><CR><LF><CR><LF>
Parameters:
sta.: SOCKB connection status
on: TCP connected
off: TCP disconnected