HF-LPC3X0 Series Wi-Fi&BLE User Manual
Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
- 52 -
+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.25.
AT+TCPTOB
◼
Function: Set/Query Operation SOCKB TCP 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
If the SOCKB TCP don't receive any data from TCP server for TCP tmeout setting, the
module will break and reconnect the TCP server. If it receive data from server, the timeout
counter will be clear.
4.2.2.26.
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
4.2.2.27.
AT+SNDB
◼
Function: Send datas to SOCKB at Command Mode
◼
Format:
AT+SNDB=<data_lenth ><CR>
+ok<CR><LF><CR><LF>
◼
Parameters:
◆
data_lenth: Lenth of send data. Range: 0~1000 Byte