User guide
Part 3 – Commands Wi-Fi Devices Chapter 13 – WLAN Commands for the SocketWireless Wi-Fi (MT810SWM-IP)
Universal IP AT Commands Reference Guide (Document S000457H) 64
#WLANPROFILE – Load the WLAN Profile
Description: This command is used to set the WLAN profile from the WLAN Profile text file using "Send Text
File" option on HyperTerminal at the module. If all four profiles are successfully loaded, then
HyperTerminal shows an OK message.
Note: The WLAN Profile text file contains all four WLAN profile <1-4> configuration parameters
that are automatically loaded using this command.
Note: The module must be reset to put the command into effect.
Syntax: Set Value: AT#WLANPROFILE<value>?
Examples: AT#WLANPROFILE1?
AT#WLANPROFILE2?
AT#WLANPROFILE3?
AT#WLANPROFILE4?
#WLANPROFILEn=n – Change the WLAN Profile
Description: This command changes the WLANPROFILE with the help of AT Commands.
Syntax: Set Value: AT#WLANSETPROFILEn=n,"<SSID>",<Security Mode>,<Key Index>,
"< Passphrase>", where n=1,2,3,4
View Value: AT#WLANSETPROFILEn?
Values: n=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