High-Flying
Low Power WiFi Module User Manual
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
- 47 -
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 >
Parameters:
protocol:
TCP
UDP
CS: Network mode:
SERVER
CLIENT
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.24. 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.25. 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;
HF-SH01