www.rovingnetworks.com
Version 1.01 9/28/2012
8
RN-XV-RD2-EVAL-UM
wlan
Wireless interface, such as SSID, channel, and security options.
Find Available Networks
Once you are in command mode, you can instruct the module to search for available networks. Type
scan
<cr> in the
terminal emulator to view a list of Wi-Fi networks within range. See Figure 5.
Figure 5. Scan for Networks
Associate with an Access Point
You use the
join
keyword to associate with an open access point. As shown in the scan list,
roving1
is an open
access point. To associate with an access point, type the following commands (refer back to Figure 5):
join roving1
or
join # 1
// The space must be included between # and 1
To disconnect from a network, type
leave
<cr>. The red LED blinks quickly when the WiFly module is not associated
with an access point.
If you want the module to associate with a network automatically upon booting (i.e., persistent configuration), use the
set wlan
command with the SSID name. For example, type:
set wlan ssid roving1
save
reboot
When the module wakes or power cycles, the module attempts to associate with the network
roving1
(the default
name).
To associate with a secure network you must also include the network password. The WiFly module determines the
security type automatically. In this case, type: