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

Table of Contents

Advertisement

RS232/485 TO WIFI POE ETH (B) User Manual
In the transparent transmission mode, it can be completely compatible with the user's original
software platform. User equipment can basically support wireless data transmission without making
software changes, as shown in the following
figure:

6.1.2 SERIAL COMMAND MODE

In this mode, users can send data to servers according to our protocol, and can send data to
different servers without restarting.
In this mode, when the RS232/485 TO WIFI ETH (B) serial server is used as UDPClient or TCPClient,
users are allowed to send serial data to different servers, regardless of the number of Soc0ket.
The client's MCU only needs to send data packets according to the format specified by our
company, and the serial server will parse the received data. If the data conforms to the protocol, the
serial server will send the parsed data to the designated server. If the data does not conform to the
protocol, it will be treated as a waste package without sending it to the server.
The client MCU sends the data packet according to the following format, and after the WIFI serial
server finishes parsing, only N bytes of data are sent to the target address. When data is returned, the
data is directly output from the serial port without parsing.
Function
Header Length
2
2
(n+m+5)
Header:
Always 0x550xaa
Figure Transparent transmission function block diagram
Table Serial command mode protocol
Reserved parameter
code
area:
1
2
Target
port
address
2
43
Target
Data Checksum
m
n
1
www.waveshare.com

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rs232/485 to wifi eth (b)

Table of Contents