WiSnap User Manual 2.21 04112011-JF
Page
26
of
66
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 bat
Displays current battery voltage, (only valid for SerialIO.com battery powered
products like the WiSnapAAA)
show connection
Displays connection status in this HEX format: 8XYZ
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
show io
Displays IO pin levels status in this HEX format: 8ABC
Example:
show i
returns 8103 indicates pins 0, 1 and 9 high level.
show net
Displays current network status, association, authentication, etc.
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 is
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