Question:
I plan to use Serial to Ethernet converter USR-N510 as Serial to UDP converter.
I have to know what is the delay between serial data received in converter until UDP data transmitted?
Answer:
You can set the data packing time with the AT command.
The default packing time is 0.
AT+UARTTL1
Function: set / query user custom packaging mechanism
Query instruction format:
AT+ UARTTL1<CR><CR><LF>+OK=<time,length><CR><LF>
Set the instruction format:
AT+ UARTTL1=<time,length> <CR><CR><LF>+OK<CR><LF>
parameter:
Time: byte interval: 0 ms ~ 255 ms; N according to the performance settings of each platform.
Length: The maximum length of the packet is 1~1460 bytes. When the received data byte interval has not expired and the received packet length reaches the maximum length, it is packaged and sent.
Example: AT+UARTTL1=25,100