Httpdclient Mode - Waveshare RS232/485 TO WIFI POE ETH (B) User Manual

Table of Contents

Advertisement

RS232/485 TO WIFI POE ETH (B) User Manual
Starting from the function code and continuing until the byte just before the checksum byte,
perform a summation checksum.
The following are specific application examples:
Send data: 55aa000a00000021008500A8C0010f
Length byte 000a: The length is n+m+5, here it is 10.
Function code 00: UDP mode
The destination IP address is 8500A8C0:192.168.0.133.
Data area 00: length is 1,
Checksum calculation: 0x00+0x00+0x21+0x00+0x85+0x00+0xA8+0xC0+0x01 = 0x0F.
Note: The serial command mode is a data transmission mode, so please pay attention to
distinguish it from the AT command mode which can query or set the parameters of the serial server!

6.1.3 HTTPDCLIENT MODE

In this mode, the user can send the data to the designated HTTP server, and RS232/485 TO WIFI
POE ETH (B) will automatically add an HTTP protocol header in front of the sent data, and the specific
content of the protocol header can be set through AT instruction or webpage.
This mode is used for RS232/485 TO WIFI POE ETH (B) to transmit data to or obtain data from the
HTTP server. After the user sets the specific content of HTTP header with AT command or webpage.
Every time data is sent, RS232/485 TO WIFI POE ETH (B) will automatically package the sent data into
HTTP protocol data and send it to the designated HTTP server. The data received from the server will
be directly transmitted to the serial port without any processing. RS232/485 TO WIFI POE ETH (B)
handles the complicated HTTP protocol, which is convenient for users to program the serial port
without considering too many HTTP issues. The maximum size of data sent is 1000 bytes.
45
www.waveshare.com

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rs232/485 to wifi eth (b)

Table of Contents