IOT-WORKSHOP
DTU-H10X
Wi-Fi/Ethernet to RS485/RS232 Server User Manual
http://www.iotworkshop.com
- 48 -
mode:WIFI work mode
AP
STA
After device boots up again, the setting will be effective.
5.2.2.11.
AT+WSKEY/AT+WSKEYA
Function: Set/Query WIFI security parameters as STA for first target AP;
Format:
Query Operation
AT+WSKEY/AT+WSKEYA<CR>
+ok=<auth,encry,key><CR>< LF ><CR>< LF >
Set Operation
AT+ WSKEY/AT+WSKEYA=< 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-H
: When “auth=OPEN" or “SHARED", effective, HEX format
WEP-A
: When “auth=OPEN" or “SHARED", effective, ASCII format
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 The device works as STA. After device boots up again, the setting
will be effective. But user can set this command when device configured as AP.
5.2.2.12.
AT+WSKEYB
Function: Set/Query WIFI security parameters as STA for second target AP;
Format:
Query Operation
AT+WSKEYB<CR>
+ok=<auth,encry,key><CR>< LF ><CR>< LF >
Set Operation
AT+WSKEYB=< auth,encry,key><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
auth: Authentication mode
OPEN
SHARED
WPAPSK
encry:Encryption algorithm