WiSnap User Manual 2.21 04112011-JF
Page
27
of
66
8
ACTION Commands
$$$
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 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.
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
leave
disconnects from currently associated Access Point.
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.
Ping 10.20.20.12 10
– pings IP address 10 times
ping g
pings the gateway, the gateway IP address is loaded if DHCP is
turned on, otherwise it should be set with the
set ip gateway
<addr>
command
ping h
pings the stored host IP address, the host IP address can be set with
the
set ip host <addr>
command
ping i
pings a known Internet server at www.neelum.com by first
resolving the URL (proves that DNS is working and proves the device
has internet connectivity).
ping 0
terminates a ping command
reboot
forces a reboot of the device (similar to power cycle)