EasyManua.ls Logo

PUSR USR-G816 - Packeting Mechanism

Default Icon
75 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
USR-G816 User Manual
pusr.com
1
- 55 -
Figure 57. Serial port settings
Table 20. Parameter description of serial port
Items
Description
Default
Baud Rate
Baud rate of serial port. This parameter needs to be consistent
with the serial device.
Options: 1200, 2400,4800, 9600, 19200, 38400, 57600, 115200,
230400, 460800.
115200
Data Bits
Data bits of serial port. This parameter needs to be consistent
with the serial device.
Options: 7, 8
8
Stop Bits
Stop bits of serial port. This parameter needs to be consistent
with the serial device.
Options: 1, 2
1
Parity
Parity of serial port. This parameter needs to be consistent with
the serial device.
Options: None, Odd, Even
None
Packeting Interval
If the time interval between two adjacent bytes exceeds the set
value, it will be divided into two packets and sent.
10~60000ms
10ms
Packeting Length
When the length of the data packet reaches the set value, it will
be sent out.
5-1500 Bytes
1000 Bytes
7.2.2. Packeting mechanism
Packeting by time
When G816 receives data from UART, it will constantly check the interval time between two adjacent bytes. If
the interval time is greater than or equal to a certain "time threshold", it is considered that a data frame is over,
otherwise data is received until it is greater than or equal to the packet length (default is 1000 bytes). Send this
frame of data as a TCP or UDP packet to the network side. The "time threshold" here is the packing interval. The
range that can be set is 10ms~60000ms. The factory default is 10ms.
This parameter can be set according to AT command, AT+UARTFT=50.