WiSnap User Manual 2.21 04112011-JF
Page
22
of
66
5.11
WLAN Parameters
set wlan auth <value>
Sets the authentication mode. Not needed unless using auto join
mode 2. i.e.
set wlan join 2
Note: During association the WiSnap module interrogates the Access
Point and automatically selects the authentication mode.
The current release of WiSnap firmware supports these security
modes:
• WEP-128 (open mode only, NOT shared mode)
• WPA2-PSK (AES only)
• WPA1-PSK (TKIP only)
• WPA-PSK mixed mode (some APs, not all are supported)
Value
Authentication Mode
0
Open (Default)
1
WEP-128
2
WPA1
3
Mixed WPA1 & WPA2-PSK
4
WPA2-PSK
5
Not Used
6
Ad-hoc, Join any Ad-hoc network
set wlan channel <value>
sets the wlan channel, 1-13 is the valid range for a fixed channel.
If 0 is set, then a scan is performed, using the SSID, for all the
channels set in the channel mask.
set wlan ext_antenna <0, 1>
determines which antenna is active, use 0 for chip antenna, 1 for
UF.L connector. Default = 0. Only one antenna is active at a time
and the module must be power cycled after switching the antenna.
set wlan join <value>
sets the policy for automatically joining/associating with network
access points. This policy is used when the module powers up,
including wake up from the sleep timer.
Value
Policy
0
Manual, do not try to join automatically
1
Try to join the access point that matches the
stored SSID, passkey and channel. Channel can
be set to 0 for scanning. (Default)
2
Join ANY access point with security matching the
stored authentication mode. This ignores the
stored SSID and searches for the access point
with the strongest signal. The channels searched
can be limited by setting the channel mask.
3
Reserved – Not used
4
Create an Ad-hoc network, using stored SSID, IP
address and netmask. Channel MUST be set.
DHCP should be 0 (static IP) or set to Auto-IP
with this policy. (unless another Ad-hoc device
can act as DHCP server)
This policy is often used instead of the hardware
jumper to create a custom Ad-hoc network