User`s guide
RN-WIFLYCR-UG
www.rovingnetworks.com Version 1.2r 4/30/13 page 13
2.3.12 set comm remote <string>
This command sets the ASCII string that is sent to the remote TCP client when the TCP
port is opened, where <string> is one or more characters up to a maximum of 32 (32
bytes). If you do not wish to use a string, use a zero (0) as the <string> parameter.
Default: *HELLO*
Example: set comm remote *welcome* // Set the string to *welcome*
2.3.13 set comm idle <value>
This command sets the idle timer value, where <value> is a decimal number represent-
ing the number of seconds. The idle timer value is the number of seconds during which
no data is transmitted or received over TCP before the connection is closed automati-
cally. Setting the timer to 0 (the default) means the module never disconnects when
idle.
Default: 0
Example: set comm idle 25 // Set the idle timer value to 25 s
2.3.14 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” on
page 60.
Default: 0
Example: set comm match 1 // Set the match character to a carriage
// return
2.3.15 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.
Flush size is one of three available methods you use to control TCP/IP packet forward-
ing. The other methods are set comm match and set comm time. For more informa-
tion refer to “UART Receiver & RTS/CTS Hardware Flow Control” on page 60.
Default: 1420
Example: set comm size 1420 // Set the flush size to 1,420 bytes
2.3.16 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.