Skip to main content

Serial Port Settings

For the device's serial port settings:

  • DTU
  • Serial Port Settings

follow the menus.

Basic Settings

The serial communication parameters of the RLTK421 must be compatible with the RS485 serial device. Otherwise, the devices will not be able to communicate with each other. Therefore, the baud rate, data bits, stop bits, and other serial communication parameters of the RS485 device must be the same as those of the RLTK421. This is important for ensuring accurate and smooth serial data transmission.

SerialSettings-421

ParameterDescriptionDefault Value
Baud rateSupports speeds of 1200/2400/4800/9600/19200/38400/57600/115200/230400115200
Data bits88
Stop bits1 / 21
ParityNONE/ODD/EVENNONE
Packaging interval (ms)10–6000010
Packaging length (byte)5–15001000

Operating Mechanism

Triggered by Time:

When the RLTK421 receives data over UART, it continuously checks the duration between two consecutive bytes. If this interval duration is equal to or greater than a certain "time threshold," it is considered that a frame has been completed; otherwise, data is received until it is equal to or greater than the byte value set as the packet length (default is 1000 bytes). This frame is sent to the network as a TCP or UDP packet. The "time threshold" here refers to the duration between packets. The adjustable range is between 10 ms and 60000 ms. The factory default is 10 ms.

This parameter can be set with the AT command: AT+UARTFT=<time>.

UARTTiming1-421

Triggered by Length:

When the RLTK421 receives data over UART, it continuously checks the number of bytes received. If the number of bytes received is equal to a certain "length threshold," it is considered that a frame has been completed, and this frame is sent to the network as a TCP or UDP packet. The "length threshold" here refers to the packet length. The adjustable range is between 5 and 1500 bytes. The default value is 1000 bytes.

This parameter can be set with the AT command: AT+UARTFL=<length>.

UARTTiming2-421