WiSnap User Manual 4.41 05282015-ML
Page 25
get mac -
displays the device MAC address
.
get optional -
displays the optional settings like device ID
.
get q -
displays the sensor settings (sensor mask and sensor power settings).
get sys -
displays system settings, sleep, wake timers, etc.
get time -
displays the time server UDP address and port number.
get wlan -
displays the SSID, channel, and other WLAN settings.
get UART -
displays the UART settings.
ver -
returns the software release version.
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. Except where noted, the
show
commands do not have any parameters.
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
Function
Value
0-3
TCP status
0 = Idle
1 = Connected
3 = NOIP
4 = Connecting
4
Associate
1 = OK
5
Authenticate
1 = OK
6
DNS server
1 = contacted
7
DNS found
1 = resolved
9-12
channel
1-13
13-16
fixed
8
show io -
displays IO pin levels status in this HEX format: 8<ABC>. For example:
show i
returns 8103 - indicates pins 0, 1 and
9 high level.
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 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> -
displays the value of the analog interface pin, where <
value
> is 0 to 7. The A/D reading is 14 bits with a range of
0 to 400 mV (therefore, the resolution is 24 uV). The output is in uV (1,000 millivolts). The module returns a value in the format