www.rovingnetworks.com
Version 1.0r 9/21/2012
90
RN -W IFLYCR -U M
Table 34. Status Commands
Command
Description
show battery
Displays current battery voltage, and is only applicable to Roving Networks’ battery-powered
products such as the RN-370 and temperature sensors (ISENSOR-CB).
show connection
Displays the connection status in the hex format 8<
XYZ>.
show io
Displays the GPIO pins’ level status in the hex format 8<
ABC>
.
show net
<
char
>
Displays the current network status, association, authentication, etc., where <
char
> is the optional
parameter
n
. Using the
n
parameter displays only the MAC address of the access point with which
the module is currently associated.
show q
<
value
>
Displays the value of the analog interface pin, where <
value
> is 0 to 7.
show q 0x1
<
mask
>
Displays multiple analog interface values simultaneously.
show rssi
Displays the last received signal strength.
show stats
Displays the current statistics, packet RX/TX counters, etc.
show time
Displays the number of seconds since the module was last powered up or rebooted.
Table 35. Action Commands
Command
Description
$$$
Use this command to enter command mode.
close
Disconnects a TCP connection.
exit
Exits command mode.
factory RESET
Loads the factory defaults into the module’s RAM and writes the settings to the standard
configuration file. You must type the word
RESET
in capital letters.
join
<
string
>
Instructs the WiFly module to join the network indicated by <
string>.
join #
<
value
>
Use this command to join a network that is shown in the scan list, where <
value
> is the entry
number listed for the network in the scan list.
leave
Disconnects the module from the access point to which it is currently associated.
lites
Causes the LEDs on the RN-134 evaluation board and RN-370 WiFly serial adapter to blink. Using
this command a second time stops the blinking.
lookup
<
string
>
Causes the module to perform a DNS query for host name <
string
>.
open
<
address
> <
value
>
Opens a TCP connection to <
address
>, where <
value
> is the port number.
ping
<
string
> <
value
>
Pings a remote host, where <
string
> is a parameter setting and <
value
> is the number of pings.
The default is 1 packet.
reboot
Forces the module to reboot (similar to a power cycle).
scan
<
value
> <
char
>
Performs an active probe scan of access points on all 13 channels. The default is 200 ms/channel.
sleep
Puts the module to sleep.
time
Sets the real-time clock by synchronizing with the time server specified with the time server (
set
time
) parameters.