User`s guide

RN-WIFLYCR-UG
www.rovingnetworks.com Version 1.2r 4/30/13 page 104
set ftp time <value> 200 Sets the FTP timeout value, where <value> is a decimal num-
ber 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 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.
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.
set ip remote <value> 2000 Sets the remote host port number.
set ip tcp-mode <mask> 0x0 Controls the TCP connect timers, DNS preferences, and
remote configuration options.
set opt average <value> 5 Sets the number of RSSI samples used to calculate the running
RSSI average.
set opt deviceid <string> WiFly-XXX Sets the configurable device ID, where XXX is GSX for the
RN131 and EZX for the RN171.
set opt format <flag> 0x00 Sets the HTTP client/web server information.
set opt jointmr <value> 1000 Sets the join timer, which is the length of time (in ms) the join
function waits for the access point to complete the association
process.
set opt replace <char> $ (0x24) Sets the replacement character you use to indicate spaces in
the SSID and pass phrases, where <char> is a single charac-
ter.
set opt password <string> “” (no password
required)
Sets the TCP connection password.
set opt signal <value> 0 Configures the threshold level for the RSSI value in infrastruc-
ture mode.
set q power <value>
0 Automatically turns on the sensor power.
set q sensor <mask> 0 Specifies which sensor pins to sample when sending data
using the UDP broadcast packet or the HTTP auto sample
function.
set sys autoconn <value> 0 Sets the auto-connect timer in TCP mode.
set sys autosleep <value> 0 Sets the auto-sleep timer in UDP mode.
set sys iofunc <mask> 0x0 Sets the I/O port alternate functions.
set sys launch_string <string> web_app Sets the application to launch when GPIO9 is high after pow-
erup.
set sys mask <mask> 0x20F0 (RN131)
0x21F0 (RN171)
Sets the I/O port direction.
set sys printlvl <value> 0x1 Controls the debug print messages printed by the WiFly mod-
ule on the UART.
set sys output <mask> <mask> None sets the output GPIO pins high or low. The optional <mask>
sets a subset of the pins.
TABLE D-1: SET COMMAND LIST (SHEET 2 OF 4)
Command Default Description