Multi-Tech Systems iCell GPRS (MTSMC-G2-IP Manual Do Utilizador

Página de 119
Part 3 – AT Commands Wi-Fi Devices  
Chapter 13 – WLAN AT Commands for the SocketWireless Wi-Fi 
Universal IP AT Commands Reference Guide (Document S000457K) 
68 
 
 
#WLANPROFILEn=n – Change the WLAN Profile 
Description:  
This command changes the WLANPROFILE.  
Syntax:
  
AT#WLANSETPROFILEn=n,"<SSID>",<Security Mode>,<Key Index>,"< Passphrase>" 
 
 
AT#WLANSETPROFILEn? 
Values:
 
1, 2, 3, 4 
Parameters:
 
ssid = up to 32 characters ssid 
 
 
security mode =  0 (no encryption) 
1 (wep64) 
2 (wep128) 
3 (wpa-psk) 
4 (wpa2-psk) 
 
keyindex =  
1 to 4 applicable for security option (1-4) 
passphrase =  
ASCII text string of hexadecimal numbers applicable for security modes 1-2. 
passphrase = ASCII text string applicable for security modes 3-4.  
(10 ASCII text string of hexadecimal numbers for wep64) 
(26 ASCII text string of hexadecimal numbers for wep128) 
(8-63 ASCII text string for wpa-psk) 
(8-63 ASCII text string for wpa2-psk) 
Notes: 
Keyindex and passphrase are not applicable for security option (0) 
Examples: 
AT#WLANPROFILE1=1,"MT_NOENC",0  ( for no encryption mode) 
AT#WLANPROFILE2=2,"MT_WEP64",1,1,"1234567890"   (for wep64 key) 
AT#WLANPROFILE3=3,"MT_WEP128",2,1,"12345678901234567890123456"(for wep128)  
AT#WLANPROFILE4=4,"MT_WPA",3,1,"12345678" (for WPA psk mode)  
AT#WLANPROFILE4=4,"MT_WPA2",4,1,"12345678" (for WPA2 psk mode)
  
 
 
 
 
 
#WLANSCAN – Scan Wireless Networks 
Description:  
Scans all the APs (access points) in the environment and displays information about their settings 
and capabilities on HyperTerminal or similar program.  
Syntax: 
AT#WLANSCAN 
Example:
  
ESSID:  Plan B 
 
BSSID:  00:08:00:C0:30:99 
 
Channel Num: 6 
 
RSSI:   -61 
 
Network Type: BSS 
 
Security: No Enc 
 
Capability: 0x1 
WLAN Mode: B Mode