WiFly Serial Adapter
www.rovingnetworks.com
wifly-serial-um 6/30/2010
809 University Avenue
•
Los Gatos, CA 95032
•
Tel (408) 395-6539
•
~ 19 ~
4.7.
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
. After this command the new settings must
be save to the config file using the
save
command and the module
rebooted for them 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
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.
reboot
forces a reboot of the device (similar to power cycle)
scan <time>
Performs an active probe scan of access points on all 13 channels. Returns
MAC address, signal strength, SSID name, security mode.
Default scan time is 200ms / channel = about 3 seconds.
time
is an optional parameter, this is the time in ms per channel.
For example, “scan 30” reduces the total scan time down to about 1
second. This command also works in Adhoc mode (version 2.11).