User manual

WiSnap User Manual 4.41 10202014-ML
Page 22
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
WPS2-PSK
5
Not Used
6
Ad hoc, Join any Ad hoc network
8
WPE-64
NOTE: Currently, WPA2-Enterprise security networks requiring a username are not currently supported.
set wlan channel <value> <flag> -
sets the wlan channel, where <value> is a decimal number from 1 to
13 representing 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. The <flag> is the optional character i (meaning immediate). The i flag allows you to create a temporary AP mode setup
without having to reboot or save the settings. See example 2 below:
Example 1:
- set wlan channel 2 sets the WLAN channel to 2
Example 2:
- set wlan channel 1 i
- set wlan join 7
- set ip address 1.2.3.4
- set ip gateway 1.2.3.4
- set ip netmask 255.255.255.0
- set ip dhcp 4 Use DHCP server
- join <SSID> - Module goes into AP mode
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