High-Flying
HF-LPT100 Low Power WiFi Module User Manual
Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
- 70 -
If send
“AT+HTTPDT”, the data packet will be sent as the following instance including the two
new line:
POST /abcd HTTP/1.1
Connection:keep-alive
User-Agent:lwip1.3.2
Content-Length:0
Host:192.168.0.127:8999
If send AT+HTTPDT=abcd, the data packet will be sent as the following instance:
POST /abcd HTTP/1.1
Connection:keep-alive
User-Agent:lwip1.3.2
Content-Length:4
Host:192.168.0.127:8999
abcd
The data received from HTTP server will be output to serial port and end with
“+ok”.
If the module hasn
’t received data from HTTP server for 5 second, it will cut the TCP link with
HTTP server.