www.rovingnetworks.com
Version 1.0r 9/21/2012
35
RN -W IFLYCR -U M
ver
The command displays the firmware version.
Example:
ver
// Show the firmware version
STATUS COMMANDS
These commands begin with the keyword
show
and they return the current values of the system variables. In some cases,
e.g., IP addresses, the current values are received from the network and may not match the stored values. Except where
noted, the
show
commands do not have any parameters.
show battery
This command displays current battery voltage, and is only applicable to Roving Networks’ battery-powered products
such as the RN-370 and temperature sensors (ISENSOR-CB).
Example:
show battery
// Show the current battery voltage
show connection
This command displays the connection status in the hex format 8<
XYZ>,
where 8<
XYZ>
is a bit-mapped register
providing the information shown in Figure 6.
Figure 6. show connection Command Bit-Mapped Register
show io
This command displays the GPIO pins’ level status in the hex format 8<
ABC>
. For example, 8103 indicates GPIO 0,
1, and 8 are high.
Example:
show io
// Show the GPIO level status
show net <
char
>
The command 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.
Example:
show net n
// Show the access point’s MAC address
4
5
6
7
3..0
TCP status. 0 = idle; 1 = connected; 3 = No IP; 4 = connecting
Association. 1 = OK.
Authentication. 1 = OK.
DNS server. 1 = server is contacted.
DNS found. 1 = DNS is resolved.
12..9
Channel. Value = 1 - 13.
16..13
Fixed. Value = 8.