WiSnap User Manual 4.41 05282015-ML
Page 61
22 Command List
The tables below provide a listing of all available commands and their defaults. For more detailed information, refer to the
“Command Reference.”
Set commands
Command
Default
Description
set adhoc beacon
<value>
102
Sets the ad hoc beacon interval in milliseconds.
set adhoc probe
<value>
5
Sets the ad hoc probe timeout in seconds (ad hoc mode only).
set adhoc reboot
<value>
0
Sets the reboot timer.
set broadcast address
<address>
255.255.255.255
Sets the address to which the UDP hello/heartbeat message is sent.
set broadcast backup
<address>
0.0.0.0
Sets the secondary broadcast backup address.
set broadcast interval
<mask>
7
Sets the interval (in seconds) at which the hell0/heartbeat UDP message
is sent.
set broadcast port
<value>
55555
Sets the port to which the UDP hello/heartbeat message is sent.
set broadcast remote
<port>
0
Sets the secondary broadcast port.
set comm $
<char>
$
Sets character used to enter command mode to
<char>
.
set comm close
<string>
*CLOS*
Sets the ASCII string that is sent to the local UART when the TCP port is
closed.
set comm idle
<value>
0
Sets the idle timer value in seconds.
set comm match
<value>
|
<hex>
0
Sets the match character in hex or decimal.
set comm open
<string>
*OPEN*
Sets the ASCII string that is sent to the local UART when the TCP port is
opened.
set comm remote
<string>
*HELLO*
Sets the ASCII string that is sent to the remote TCP client when the TCP
port is opened.
set comm size
<value>
64
Sets the flush size in bytes.
set comm time
<value>
5
Sets the flush timer.
set dhcp lease
<value>
86400
Sets the soft AP mode DHCP lease time in seconds.
set dns address
<address>
0.0.0.0
Sets the IP address of the DNC server.
set dns backup
<string>
rn.michrochip.com
Sets the name of the backup host for TCP/IP connections to
<string>
.
set dns name
<string>
server1
Sets the name of the host for TCP/IP connections to
<string>
.
set ftp addr
<address>
0.0.0.0
Sets the FTP server’s IP address of the FTP server.
set ftp dir
<string>
public
Sets the starting directory on the FTP server.
set ftp filename
<filename>
See description
Sets the name of the file that is transferred when issuing the
ftp u
command, where
<filename>
is the firmware image.
Default firmware is:
wifly-GSX.img (RN131
wifly-EZX.img (RN171)
set ftp pass
<string>
Pass123
Sets the password for accessing the FTP server.
set ftp mode
<mask>
0x0
Sets the ftp mode, where
<mask>
indicates active or passive mode.
Default is passive.
set ftp remote
<value>
21
Sets the FTP server’s remote port number.
set ftp time
<value>
200
Sets the FTP timeout value, where
<value>
is a decimal number that is
five times the number of seconds required.
set ftp user
<string>
roving
Sets the user name for accessing the FTP server.
set ip address
<address>
0.0.0.0
Sets the WiSnap module’s IP address.
set ip backup
<address>
0.0.0.0
Sets a secondary host IP address.
set ip dhcp
<value>
1
Enables/disables DHCP mode.
set ip flags
<mask>
0x7
Sets the TCP/IP functions.
set ip gateway
<address>
0.0.0.0
Sets the gateway IP address.
set ip host
<address>
0.0.0.0
Sets the remote host’s IP address.
set ip localport
<value>
2000
Sets the local port number.
set ip netmask
<address>
255.255.255.0
Sets the network mask.
set ip protocol
<flag>
2
Sets the IP protocol.