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
~ 13 ~
set comm time <num> sets the flush timer. An IP packet will be sent if no additional bytes are
received for “num” milliseconds. “num is one milliseconds interval.
Default is 10 (10 milliseconds). Setting this value to 0 will disable
forwarding based on the flush timer.
Flush timer is one of three ways to control TCP/IP packet forwarding.
The others are match character and size. For more information refer to
section on UART Receiver.
5.4. DNS Parameters
set dns address <addr> sets the IP address of the DNS sever. This is auto-set when using DHCP,
and needs to be set in STATIC IP or Auto-IP modes.
set dns name <string> sets the name of the host for TCP/IP connections.
set dns backup <string> sets the name of the backup host for TCP/IP connections.
5.5. FTP Parameters
set ftp addr <addr> set the IP address of the FTP server. By default, the IP address is set to
Roving Networks’ FTP server (208.109.78.34)
set ftp dir <string> sets the directory to use on the FTP server. Default is “public”. To
read/write to sub-folders, use the “\” for your directory structure. For
example, to read/write to the “test” sub-folder in “demo” directory, the
command is set ftp dir demo\test. To root directory is set by using the
period “.” To se the root directory, the command if set ftp dir .
set ftp filename <file> sets the name of the file transferred when issuing the ftp u command. The
file here refers to the firmware image. If any file other than the firmware
image is set, the WiFly module will download the file and then issue the
UPDATE FAIL=3 error since it is not the firmware image.
set ftp mode <mask> sets the ftp mode. Default is passive mode (mode =0x0). Setting
mode=0x1 enables active mode.
set ftp remote <port> sets the ftp server remote port number (default is 21).
set ftp time <value> sets the ftp timeout value. This timer is used to automatically close the
FTP connection. The timer is 1/8
th
of the actual value. For example, to set
a timer of 5 seconds, the command is set ftp timer 40. To set the timer to
10 seconds is set ftp timer 80