User manual

WiFly GSX/EZX
www.rovingnetworks.com WiFly-RN-UM 11/9/2011
809 University Avenue Los Gatos, CA 95032 Tel (408) 395-6539 info@RovingNetworks.com
~ 30 ~
7. Status Commands
These commands begin with “show”, and they return the current values of variables in the system. In some
cases, for example IP addresses, the current values are received from the network, and may not match the
stored values.
show battery Displays current battery voltage, (only valid for Roving battery powered product like the
RN-370 and temperature sensors and the ISENSOR-CB)
show connection Displays connection status in this HEX format: 8XYZ
show io Displays GPIO pin levels status in this HEX format: 8ABC
Example: show i returns 8103 indicates GPIO 0, 1 and 8 are HIGH.
show net <n> Displays current network status, association, authentication, etc. Optional parameter
displays only the MAC address of the AP currently associated.
show rssi Displays current last received signal strength.
show stats Displays current statistics, packet rx/tx counters, etc.
show time Displays number of seconds since last powerup or reboot
show q <0-7> Display the value of the an analog interface pin from 0 to 7. The value returned will be in
the format 8xxxxx where xxxxx is voltage in microvolts sampled on the channel you
request with the 8 in front as a start marker.
show q 0x1<mask> Displays multiple analog interface values at once. The channels displayed are
controlled by a bit mask, which is proceeded by a 0x1xx where xx mask is the bit mask of
the channels. For example, to read channels 0,1, and 7, send:
show q 0x183
Which returns 8<chan0>, 8<chan1>, 8<chan7>, \r\n
Bit
location
13-16
9-12
7
6
5
4
0-3
Function
Fixed
Channel
DNS found
DNS server
Authen
Assoc
TCP status
Value
8
1-13
1=resolved
1=
contacted
1= OK
1=OK
0= Idle,
1= Connected
3= NOIP
4= Connecting