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 RLTK451 must be compatible with other RS485 / RS232 serial devices. Otherwise, the devices cannot communicate with each other. Therefore, the baud rate, data bits, stop bits, and other serial communication parameters of the other device must be the same as those of the RLTK451. This is important to ensure accurate and smooth serial data transmission.

SerialSettings-451

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
Serial TypeRS232/RS485RS232

Operating Mechanism

Triggered by Time:

While receiving data over UART, the RLTK451 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 is completed; otherwise, data is received until it is equal to or greater than the byte value set as the packet length (by default 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-451

Triggered by Length:

While receiving data over UART, the RLTK451 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 is 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-451