www.rovingnetworks.com
Version 1.0r 9/21/2012
88
RN -W IFLYCR -U M
Command
Default
Description
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 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 format
<
flag
>
0x00
Sets the HTTP client/web server information.
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 character.
set opt deviceid
<
string
>
WiFly-GSX
Sets the configurable device ID.
set opt password
<
string
>
“” (no password
required)
Sets the TCP connection password.
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 q power
<
value
>
0
Automatically turns on the sensor power.
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 mask
<
mask
>
0x20F0 (RN-131)
0x21F0 (RN-171)
Sets the I/O port direction.
set sys printlvl
<
value
>
0x1
Controls the debug print messages printed by the WiFly module 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.
set sys sleep
<
value
>
0
Sets the sleep timer.
set sys trigger
<
flag
>
or
<
mask
>
0x1
With this parameter setting, the module wakes from sleep state using
the sensor input 0, 1, 2, and 3.
set sys value
<
mask
>
0x0
Sets the default value of the GPIO pins’ outputs upon power-up.
set sys wake
<
value
>
0
Sets the automatic wake timer in seconds.
set time address
<
address
>
129.6.15.28
Sets the time server address.
set time port
<
value
>
123
Sets the time server port number.
set time enable
<
value
>
0
Tells the module how often to fetch the time from the specified SNTP
time server in minutes.
set time raw
<
value
>
None
Allows you to set the RTC raw value from the console in seconds.
set uart baud
<
value
>
9600
Sets the UART baud rate, where <
value
> is 2400, 4800, 9600, 19200,
38400, 57600, 115200, 230400, 460800, or 921600.
set uart flow
<
value
>
0
Sets the flow control mode and parity.
set uart instant
<
value
>
Not applicable
Immediately changes the baud rate, where <
value
> is 2400, 4800,
9600, 19200, 38400, 57600, 115200, 230400, 460800, or 921600.
set uart mode
<
mask
>
0
Sets the UART mode register.
set uart raw
<
value
>
Not applicable
Sets a raw UART value.
set uart tx
<
value
>
Not applicable
Disables or enables the UART’s TX pin (GPIO10), where <
value
> is 1
or 0.