HF-LPC100 Wi-Fi/Bluetooth Module User Manual
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
- 35
-
Setting
AT+PING=<IP_address><CR>
+ok=<sta><CR><LF><CR><LF>
Parameter
sta
:
feedback result
Success
Timeout
Unknown host
3.2.2.23.
AT+NETP
Function :set/query network protocol parameter. The change of TCP port and address
of TCP clients valid immediately, the other changes is valid after reset
Format
Query operation
AT+NETP<CR>
+ok=<protocol,CS,port,IP><CR><LF><CR><LF>
Set operation
AT+NETP=<protocol,CS,port,IP><CR>
+ok<CR><LF><CR><LF>
Parameter
Protocol: protocol type, include:
TCP
UDP
CS
:
network mode
SERVER
CLIENT
Port:
:
protocol port ID, decimal digit and less than 65535
IP
:
server‘s IP address or domain name 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 and send data to the saved IP address and port. When module under initialization status,
it will send data to this IP address and port set by the command.
If set as UDP CLIENTS , module has no memory function
3.2.2.24.
AT+MAXSK
Function: set/query TCP Client connection number when work as TCP server
Format
Query operation
AT+MAXSK<CR>
+ok=<num><CR><LF><CR><LF>
Set operation
AT+MAXSK=<num><CR>
+ok<CR><LF><CR><LF>
Parameter
num
:
limit TCP Client connection number
,
default is 5
,
range
:
1
~
5
。
High-Flying