Uart Automatic Framing Mode - Waveshare RS232/485 TO WIFI POE ETH (B) User Manual

Table of Contents

Advertisement

RS232/485 TO WIFI POE ETH (B) User Manual
below:
The default interval time for two bytes in the WiFi serial server is 10ms, which means that when
the interval time is greater than 10ms, a frame is considered complete. This interval time can be
configured to 50ms using the following AT command to meet the customer's requirements for serial
port forwarding efficiency:
AT+FUARTTE=normal
After the setting is completed, it is necessary to enable the above settings with the command of
Restore Factory Settings:
AT+RELD
Note that the AT+RELD command will not restore the above setting.
After testing, if it is set to 10ms, the time delay from WIFI->UART->WIFI loop is about 40 ~ 50ms
if the data volume is not large.
However, if the interval time is set to 10ms and the client's MCU cannot guarantee sending the
next byte within 10ms, the serial data might be fragmented.
To restore the default free framing interval of 10ms, you can use the following AT command:
AT+FUARTTE=fast
After the setting is completed, you also need to use the Restore Factory Settings command to
enable the above settings.
For specific UART automatic framing operations, please refer to the "AT Command Set" section of this
manual, which provides information on the UARTF/UARTFT/UARTFL commands.

6.4.3 UART AUTOMATIC FRAMING MODE

For fixed-length data frames on the serial port, you can enable the UART automatic framing
function, and set the automatic framing trigger time and trigger frame length. RS232/485 TO WIFI
POE ETH (B) will send the data from the serial port.
The received data is automatically framed and forwarded to the network.
Figure Switch cimmands timing order
60
www.waveshare.com

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rs232/485 to wifi eth (b)

Table of Contents