User manual
WiFly GSX/EZX
www.rovingnetworks.com WiFly-RN-UM 11/9/2011
809 University Avenue • Los Gatos, CA 95032 • Tel (408) 395-6539 • info@RovingNetworks.com
~ 12 ~
5.3. COMM Parameters
set comm $ <char> sets character used to enter command mode. Typically used when “$$$” is
a possible data string. Care should be taken when setting this to note the
new character as once this setting is saved every subsequent reboot will
ignore “$$$” and look for “<char><char><char>”. Default is ‘$’
set comm close <string> sets the ASCI string that is sent to the local UART when the TCP port is
closed. If no string is desired, use 0 as the <string> parameter. Max string
length is 32 characters. Default is *CLOS*
set comm open <string> sets the string that is sent to the local UART when the TCP port is opened.
If no string is desired, use 0 as the <string> parameter. Max string length
is 32 characters. Default is *OPEN*
set comm remote <string> sets the string that is sent to the remote TCP client when the TCP port is
opened. If no string is desired, use 0 as the <string> parameter. Max string
length is 32 characters. Default is *HELLO*
set comm idle <secs> sets the Idle Timer Value. This is the number of seconds with no transmit
or receive data over TCP before the connection is closed automatically.
Default is 0, never disconnect on idle.
set comm match <value> sets match character. An IP packet will be sent each time the match
character appears in the data. Value is entered either as decimal (13) or
hex (0xd) of the of the ASCII character. Default is 0, disabled. The match
character is one of three ways to control TCP/IP packet forwarding. The
others are comm size and comm timer. For more information refer to
section on UART Receiver.
set comm size <value> sets the flush size. An IP packet will be sent each time “value” bytes are
received. Default is 64 bytes. It is recommended to set this value to the
largest possible setting to maximize TCP/IP performance. Maximum
value = 1420 (at 9600) bytes.
NOTE: This value is set automatically when the baudrate is set, in an
attempt to optimize the link. It is assumed that higher baudrates equates
to more data and hence the flush size is increased.
Flush size is one of three ways to control TCP/IP packet forwarding. The
others are match character and timer. For more information refer to
section on UART Receiver.