WiSnap User Manual 4.41 05282015-ML
Page 26
8
xxxxx
, where
xxxxx
is the voltage in microvolts sampled on the channel you requested.
NOTE:
If a web post or UDP broadcast samples the data, the data is shifted as described in the “UDP Broadcast”
section.
show q 0x1
<mask>
-
displays multiple analog interface values at once. The channels displayed is controlled by a bit mask
which is preceded 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
8 ACTION Commands
The action commands allow you to enter and exit command mode, join networks, etc. Except where noted, these commands
do not have any parameters.
$$$ -
enter command mode. Characters are PASSED until this exact sequence is seen. If any bytes are seen before these chars,
or after these chars, in a 250ms window, command mode will not be entered and these bytes will be passed on to other side.
close -
disconnect a TCP connection.
exit -
exit command mode. “EXIT” will be displayed.
factory RESET -
loads factory defaults into the RAM configuration.
Note that the RESET must be capitalized
. This command
also writes the settings out to the standard config file. After this command the module then needs to be rebooted for settings
to take effect.
join
<ssid>
-
joins the network
<ssid>
. If network is security enabled you must set the pass phrase with the
set wlan phrase
command prior to issuing the
join
command.
NOTE:
The
<ssid>
must not contain spaces. If the SSID contains spaces, use a $ instead of the space, e.g.,
MY$NETWORK
to represent
MY NETWORK
.
join #
<num>
-
join a network from the scan list.
<num>
is the entry number in the scan list that is returned from the scan
command. If network is security enabled you must set the pass phrase with the
set wlan phrase
command prior to issuing the
join
command.
Example:
join # 1
leave -
disconnects from currently associated Access Point.
lites -
causes the LEDs lights to start blinking. Issuing the command a second time stops the blinking.
lookup
<string>
-
causes the module to perform a DNS query, where
<string>
is the host name for which to search.
Example:
lookup serialio -
Searches for the host serialio.
open
<addr> <port>
-
opens a TCP connection to the given IP port and address. If no arguments are provided, the device will
attempt to connect to the stored
remote host IP address and remote port number.
<addr>
can also be a DNS hostname and
will be resolved if entered.
ping
<g | h | i | addr> <num>
-
ping remote host. Default sends 1 packet. Optional
<num>
sends
<num>
pings at 10 per
second.
1)
ping 10.20.20.12 10
-
pings IP address 10 times