User manual
!
www.rovingnetworks.com Version 1.0r 9/21/2012 12
RN-WIFLYCR-UM
set comm match <value> | <hex>
This command sets the match character, where <value> is a decimal number from 0 to 127 or a hex number from 0
to 7F. When this configuration option is set, the module sends an IP packet each time the match character appears in
the data. You enter <value> either as the decimal (e.g., 13) or hex (e.g., 0xd) equivalent of the of the ASCII character.
Setting the match character to 0 disables matching.
A match character is one of three available methods you can use to control TCP/IP packet forwarding. The other
methods are set comm size and set comm time. For more information refer to “UART Receiver & RTS/CTS Hardware
Flow Control” UART Receiver on page 50.
Default: 0
Example: set comm match 13 // Set the match character to a carriage return
set comm size <value>
This commands sets the flush size in bytes, where <value> is a decimal number from 0 to 1,420 (at 9600 baud).
When this configuration option is set, the module sends an IP packet each time <value> bytes are received. Roving
Networks recommends that you set this value as large as possible to maximize TCP/IP performance.
NOTE: To optimize the link, this value is set automatically when the baud rate is set. It is assumed that higher
baud rates equate to more data, hence the flush size is increased.
Flush size is one of three available methods you use to control TCP/IP packet forwarding. The other methods are set
comm match and set comm time. For more information refer to “UART Receiver & RTS/CTS Hardware Flow Control”
UART Receiver on page 50.
Default: 64
Example: set comm size 1420 // Set the flush size to 1,420 bytes
set comm time <value>
This command sets the flush timer, where <value> is a decimal number representing milliseconds. When this
configuration option is set, the module sends an IP packet if no additional bytes are received for <value> ms. Setting
this value to 0 disables forwarding based on the flush timer.
The flush timer is one of three available methods you can use to control TCP/IP packet forwarding. The others are set
comm match and set comm size. For more information refer to “UART Receiver & RTS/CTS Hardware Flow Control”
UART Receiver on page 50.
Default: 10
Example: set comm time 20 // Set the flush timer to 20 ms