WiFly GSX
www.rovingnetworks.com
WiFlyGSX-um 9/16/2010
809 University Avenue
•
Los Gatos, CA 95032
•
Tel (408) 395-6539
•
~ 12 ~
set broadcast interval <value>
sets the interval at which the hello/heartbeat UDP message is sent.
Interval is specified in seconds. The value is a mask that is compared to a
free running seconds counter. For example if interval = 0x7, a packet will
be sent every 8 seconds. The minimum interval value is 1 (every 2
seconds) and max value is 0xff (every 256 seconds). Setting the interval
value to zero disables sending UDP broadcast messages. The default
interval is 7.
set broadcast port <port>
sets the port number to which the UDP hello/heartbeat message is sent.
The default port is 55555.
5.3.
COMM Parameters
set comm $ <char>
sets character used to enter command mode. Typically used when “$$$” is
a possible data string. Default is ‘$’. 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>”.
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 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 as the 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 size and timer. For more information see section 10.1 on
System Timers and Auto Connect Timers and section 10.4 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. You should set this value to the largest