High-Flying
HF-LPT100 Low Power WiFi Module User Manual
Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
- 45 -
Port: protocol port ID: Decimal digit and less than 65535
IP: Server’s IP address when module set as client
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
saved any IP address and port when power up. The data will be sent to the IP address and port
which is set by this command.
If set as UDP,CLIENT, the data will always be sent to the IP address and port set by this
command.
4.2.2.26.
AT+MAXSK
Function:Set/ Query TCP Client connection number.
Format:
Query Operation
AT+MAXSK<CR>
+ok=<num><CR><LF><CR><LF>
Set Operation
AT+MAXSK=<num><CR>
+ok<CR><LF><CR><LF>
Parameters:
num: TCP Client connection number. Range: 1~5. 5 is the default value it means
when the module work in TCP server , it accepts max 5 TCP client connect to it.
4.2.2.27.
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.28.
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);