www.rovingnetworks.com
Version 1.0r 9/21/2012
30
RN -W IFLYCR -U M
set wlan join <
value
>
This command sets the policy for automatically associating with network access points, where <
value
> is one of the
options shown in Table 12. The module uses this policy on powers up, including waking up from the sleep timer.
Table 12. set wlan join Command Options
Value
Policy
0
Manual. Do not try to associate with a network automatically.
1
Try to associate with the access point that matches the stored SSID, passkey, and channel. If the channel is
set to 0, the module will scan for the access point. (Default)
2
Associate with ANY access point that has security matching the stored authentication mode. The module
ignores the stored SSID and searches for the access point with the strongest signal. You can limit the channels
that are searched by setting the channel mask.
3
Reserved.
4
Create an ad hoc network using stored SSID, IP address, and netmask. You MUST set the channel. Unless
another ad hoc device can act as DHCP server, set DHCP to 0 (static IP) or use automatic IP.
You can use this policy instead of the hardware jumper to create a custom ad hoc network.
7
Create a soft AP network using stored the SSID, IP address, netmask, channel, etc. This mode applies only to
firmware versions supporting soft AP mode, not ad hoc mode.
Default:
1 | 0
// For firmware verison 2.36 and lower, auto join is
// turned on by default (ad hoc version). For firmware
// version 2.45 and higher (soft AP version), auto
// join is disabled
Example:
set wlan join 4
// Create an ad hoc network
set wlan hide <
value
>
This command hides the WEP key and WPA passphrase, where <
value
> is 0 or 1. If this parameter is set to 0, the
pass phrase or passkey is displayed. If you set this parameter to 1, the module shows
******
for these fields when
displaying the WLAN settings. To show the pass phrase or passkey, re-enter the key or pass phrase using the
set wlan
key
or
set wlan passphrase
command.
Default:
0
Example:
set wlan hide 1
// Hide the pass phrase or passkey