User`s guide
RN-WIFLYCR-UG
www.rovingnetworks.com Version 1.2r 4/30/13 page 33
Default: 0
Example: set wlan join 4 // Create an ad hoc network
2.3.75 set wlan key <value>
This command sets the WEP-64 or WEP-128 key, where <value> is EXACTLY 26
ASCII chars (13 bytes) in hex without the preceding 0x. Hex digits greater than 9 can
be either upper or lower case. If you are using WPA or WPA2, enter a pass phrase with
the set wlan passphrase command.
The WEP key length depends on the WEP security used (WEP-64 or WEP-128):
• WEP-64 uses a 10-character key
• WEP-128 uses a 26-character key
Default: 00 00 00 00 00
Example: set wlan key 112233445566778899AABBCCDD
// Sets the WEP key
2.3.76 set wlan linkmon <value>
This parameter is used in infrastructure mode to detect whether the module is associ-
ated and in range of the access point.
This command sets the infrastructure mode link monitor timeout threshold, where
<value> is a decimal number representing the number of failed scans before the mod-
ule declares Lost-AP and deauthenticates (e.g., when the module goes out of the
access point’s range). If you set this parameter to 1 or more, the module scans once
per second for the access point with which it is associated.
If the module de-authenticates itself from the access point using the link monitor, it re-
attempts the association based on the join policy setting.
Roving Networks recommends setting the threshold to 30 attempts, because some
access points do not always respond to probes. If you do not set this parameter, there
is no way to detect that an access point is no longer present until it becomes available
again (if ever).
To disable the link monitor, set <value> to zero (0).
Default: 30
Example: set wlan linkmon 5 // Set the number of scan attempts to 5
2.3.77 set wlan mask <mask>
This command sets the WLAN channel mask, which is used for scanning channels with
auto-join policy 1 or 2, where <mask> is a hex number (bit 0 = channel 1). Reducing
the number of channels scanned for association increases battery life. This setting is
used when the channel is set to 0.
Default: 0x1FFF (all channels)
Example: set wlan mask 0x0421 // Scans for channels 1, 6, and 11