High-Flying
HF-LPT100 Low Power WiFi Module User Manual
Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
- 46 -
>=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.29.
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
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+SOCKB
Function: Set/Query SOCKB parameters. Setting is valid after reset.
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: UDP Client
UDPS: UDP Server
Port: Protocol Port in decimal, less than 65535
IP: Destination IP address, domain name is support
If set as UDP SERVER, the module will save the IP address and port of the latest UDP
packet received. The data will be sent to the saved IP address and port. If the module hasn’t