High-Flying
HF-LPT120 Low Power WiFi Module User Manual
Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
- 61 -
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.
B.3. Sending HTTP Raw Data in Throughput Mode(Recommend)
Step 1
、
Configure HTTP server information
Step 2
、
Configure module connecting to router AP and reboot.
Step 3
、
Sending HTTP raw data via UART, end the data with<CR><LF><CR><LF>