User manual
!
www.rovingnetworks.com Version 1.0r 9/21/2012 87
RN-WIFLYCR-UM
COMMAND LIST
Tables 32 through 36 provide a listing of all available commands and their defaults. For more detailed information refer to
“Command Reference” on page 5.
Table 32. Set Command List
Command
Default
Description
set adhoc beacon <value>
100
Sets the ad hoc beacon interval in milliseconds.
set adhoc probe <value>
5
Sets the ad hoc probe timeout in seconds.
set broadcast address
<address>
255.255.255.255
Sets the address to which the UDP hello/heartbeat message is sent.
set broadcast interval <mask>
7
Sets the interval (in seconds) at which the hello/heartbeat UDP
message is sent.
set broadcast port <value>
55555
Sets the port to which the UDP hello/heartbeat message is sent.
set comm $ <char>
$
Sets character used to enter command mode to <char>.
set comm close <string>
*CLOS*
Sets the ASCI string that is sent to the local UART when the TCP port
is closed.
set comm open <string>
*OPEN*
Sets the ASCI string that is sent to the local UART when the TCP port
is opened.
set comm remote <string>
*HELLO*
Sets the ASCI string that is sent to the remote TCP client when the
TCP port is opened.
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 size <value>
64
Sets the flush size in bytes.
set comm time <value>
10
Sets the flush timer.
set dns address <address>
0.0.0.0
Sets the IP address of the DNS sever.
set dns name <string>
server1
Sets the name of the host for TCP/IP connections to <string>.
set dns backup <string>
rn.microchip.com
Sets the name of the backup 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 <file na me> is the firmware image. Default is
wifly_GSX-<version>.img (RN-131) wifly_EZX-<version>.img (RN-
171).
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 ftp pass <string>
Pass123
Sets the password for accessing the FTP server.
set ip address <address>
0.0.0.0
Sets the WiFly 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.