HF-LPC3X0 Series Wi-Fi&BLE User Manual
Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
- 54 -
◆
Set Operation
AT+WSKEY=< auth,encry,key><CR>
+ok<CR><LF><CR><LF>
◼
Parameters:
◆
auth: Authentication mode
OPEN
SHARED
WPAPSK
WPA2PSK
◆
encry:Encryption algorithm
NONE: When “auth=OPEN”, effective
WEP-H:
When “auth=OPEN” or “SHARED”, effective, in HEX format
WEP-A:
When “auth=OPEN” or “SHARED”, effective, in ASCII format
TKIP: When ”auth= WPAPSK” or “WPA2PSK”, effective
AES: When “auth= WPAPSK” “WPA2PSK”, effective
◆
key: password. When encry is WEP-H, password is in HEX format, password
length is 10 or 26. When encry is WEP-A, password is in ASCII format, password
length is 5 or 13. When encry is TKIP or AES, password is in ASCII code,
password length shall be 8~63.
4.2.2.32.
AT+WANN
◼
Function: Set/Query STA network setting. Setting is valid after reset.
◼
Format:
◆
Query Operation
AT+WANN<CR>
+ok=<mode,address,mask,gateway><CR><LF><CR><LF>
◆
Set Operation
AT+WANN=< mode,address,mask,gateway ><CR>
+ok<CR><LF><CR><LF>
◼
Parameters:
◆
mode: STA’s IP network setting
static: Static IP
DHCP: Dynamic IP
◆
address: STA IP address;
◆
mask: STA subnet mask;
◆
gateway: STA gateway address;
4.2.2.33.
AT+WSMAC
◼
Function: Set/Query Module STA MAC address parameters. Setting is valid after reset.
◼
Format:
◆
Query Operation
AT+WSMAC<CR>
+ok=<mac_address><CR><LF><CR><LF>
◆
Set Operation