WiSnap User Manual 4.41 05282015-ML
Page 15
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 possible setting to maximize TCP/IP performance. Maximum value = 1420 (at 9600)
bytes.
NOTE:
This value is set automatically when the baud rate is set, in an attempt to optimize the link. It is assumed that
higher baud rates equate 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 see section 10.4.
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 intervals. 1 is the minimum value. 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 see section 10.4.
5.4 DNS Parameters
set dns address
<addr>
-
sets the IP address of the DNS sever, where <
address
> is an IP address in the form
<octet>.<octet>.<octet>.<octet>
with
<octet>
being a number between 0 and 255. This address is automatically set when using
DHCP; you must set the DNS IP address for static IP or automatic IP modes.
set dns name
<string>
-
sets the name of the host for TCP/IP connections to <
string
>, where <
string
> is up to 32 characters (32
bytes).
set dns backup
<string>
-
sets the name of the backup host for TCP/IP connections to <
string
>, where <
string
> is up to 32
characters (32 bytes). The FTP client uses the backup string to download the firmware via the
ftp update
command. Default:
rn.microchip.com
5.5 FTP Parameters
set ftp dir
<string>
-
sets the starting directory on the FTP server, where <
string
> is up to 32 characters. To read/write to
subfolders, use the \ character. To indicate the root directory, use a period.
set ftp filename
<file>
-
sets the name of the file transferred when issuing the
ftp u
or
ftp g
commands, where <
filename
> is
the firmware image. If you specify any file other than the firmware image, the WiSnap module downloads the file and issues
the
UPDATE FAIL=3
error.
set ftp addr
<addr>
-
sets the ftp server IP address. Default 0.0.0.0.
set ftp remote
<port>
-
sets the ftp server remote port number (default is 21).
set ftp user
<name>
-
sets the ftp user name for accessing the FTP server.
set ftp pass
<pass>
-
sets the ftp password for accessing the FTP server.
set ftp time
<value>
-
sets the FTP timeout value, where <
value
> is a decimal number that is five times the number of seconds
required. The module uses this timer to close the FTP connection automatically after the specified time.
5.6 IP Parameters