HF-LPC100 Wi-Fi/Bluetooth Module User Manual
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
- 36
-
Any data received by each socket will send to serial directly, the data received from serial
will send out by each socket in sequence.
3.2.2.25.
AT+TCPLK
Function : query if TCP link already build-up
Format
AT+TCPLK<CR>
+ok=<sta><CR><LF><CR><LF>
Parameter
sta.: if module already setup TCP link
on: TCP link setup
off: TCP link not setup
3.2.2.26.
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>
Parameter
Time
:
TCP timeout time
<= 600
:
600s
>=0
:
0 means no timeout setting
Default
:
300s
Module begin to count time when TCP channel don‘t receive any data, clear 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.
3.2.2.27.
AT+TCPDIS
Function: open/close TCP link
Format
Query operation
AT+TCPDIS<CR>
+ok=<sta><CR><LF><CR><LF>
Set operation
AT+TCPDIS =<on/off><CR>
+ok<CR><LF><CR><LF>
Parameter
When query, sta.: Feedback if TCP Client can be link,
High-Flying