Waveshare RS232/485 TO WIFI POE ETH (B) User Manual page 48

Table of Contents

Advertisement

RS232/485 TO WIFI POE ETH (B) User Manual
GET/1.php?data=1234HTTP/1.1
Connection:keep-alive
User-Agent:lwip1.3.2
Host:test.waveshare.com:80
When the request mode is POST or PUT, the serial data will be added to the position behind the
HTTP protocol header; When the request method is GET, the serial data will be added to the back of
the protocol header path.
Users can customize the content of HTTP headers in the new definition mode, and can add,
delete and modify the content of each HTTP header at will according to their own needs (if the HTTP
request type is POST/PUT, RS232/485 TO WIFI POE ETH (B) will automatically add the Content-Length).
The set instructions include AT+HTPMODE, AT+HTPSV, AT+HTPTP, AT+HTPURL and AT+HTPHEAD.
Please refer to the chapter of AT Command Set for the specific command setting process. Similarly,
there is a corresponding setting page in the webpage.
Note: The above definition method is called the old version definition method. In the new
version of the setting mode, a new definition mode of HTTP header is added. If the HTTP header is set
with AT command, please use "< < CRLF > >" instead of carriage return, and the carriage return
problem is not needed when setting the built-in webpage.
The webpage settings are as follows:
(1) set the HTTPDClient request type:
48
www.waveshare.com

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rs232/485 to wifi eth (b)

Table of Contents