User's Manual

HF-A21-SMT Embedded WiFi Module User Manual
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
43
4.2.2.10. AT+WSKEY
Function: Set/Query WIFI security parameters as STA;
Format:
Query Operation
AT+WSKEY<CR>
+ok=<auth,encry,key><CR>< LF ><CR>< LF >
Set Operation
AT+ WSKEY=< auth,encry,key><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
auth: Authentication mode
OPEN
SHARED
WPAPSK
encry:Encryption algorithm
NONE: When “auth=OPEN”, effective
WEP: When “auth=OPEN” or “SHARED”, effective
TKIP: When ”auth= WPAPSK”, effective
AES: When “auth= WPAPSK”, effective
key: password, ASCII code, shall less than 64 bit and greater than 8bit
This Instruction only effective for HF-A21-SMT works as STA. After HF-A21-SMT module boots
up again, the setting will be effective. But user can set this command when module configured as
AP.
4.2.2.11. AT+WSSSID
Function: Set/Query WIFI target AP SSID parameters as STA.
Format:
Query Operation
AT+WSSSID<CR>
+ok=<ap’s ssid><CR>< LF ><CR>< LF >
Set Operation
AT+ WSSSID=<ap’s ssid ><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
aps ssid: APs SSID
This Instruction only effective for HF-A21-SMT works as STA. After HF-A21-SMT module boots
up again, the setting will be effective. But user can set this command when module configured as
AP.
4.2.2.12. AT+ WSLK
Function: Query WiFi link status as STA
Format:
Query Operation
AT+ WSLK<CR>
+ok=<ret><CR>< LF ><CR>< LF >
Parameters:
ret
”Disconnected”, if no WiFi connection;
APSSIDAPs MAC, if WiFi connection available;
”RF Off”, if WiFi OFF;
This Instruction only effective for HF-A21-SMT works as STA. After HF-A21-SMT module boots
up again, the setting will be effective. But user can set this command when module configured as
AP.