High-Flying
HF-LPT120 Low Power WiFi Module User Manual
Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
- 40 -
4.2.2.24.
AT+TCPLK
Function: Query if TCP link already build-up;
Format:
AT+TCPLK<CR>
+ok=<sta><CR><LF><CR><LF>
Parameters:
sta.: if module already setup TCP link;
on: TCP link setup;
off: TCP link not setup;
4.2.2.25.
AT+TCPTO
Function: Set/Query TCP timeout; Setting is valid after reset.
Format:
Query Operation
AT+TCPTO<CR>
+ok=<time><CR><LF><CR><LF>
Set Operation
AT+TCPTO=<time ><CR>
+ok<CR><LF><CR><LF>
Parameters:
time: TCP timeout time.
<= 600, (600s);
>=0, (0 means no timeout);
Default, 300s;
Module begin to count time when TCP channel don’t receive any data, clecherar time
counter when TCP channel receive any data. If the time counter reaches the TCPTO, the tcp
channel will be break. If the module work in TCP Client, it will connect the TCP server
instantly and when the module work in TCP Server, the TCP client device should make the
connection itself.
4.2.2.26.
AT+TCPDIS
Function:
Open/Close TCP link
;
Format:
Query Opera
AT+TCPDIS<CR>
+ok=<sta><CR><LF><CR><LF>
Set Operation
AT+TCPDIS =<on/off><CR>
+ok<CR><LF><CR><LF>
Parameters:
When query, sta.: Feedback if TCP Client can be link,
On, TCP link close
off
,
TCP link on