6 WPA2-PSK(CCMP/AES)
5.2.4.6
160B184B184B184B
AT+KEY
Function
:
Set or query network key. What should br noted is that,before using this command to
set network key,user must set the encryption mode with the command AT+ENCRY .
Format
:
AT+KEY=
[!?][format],[index],[key]
<CR>
+OK
[=format,index,key]
<CR><LF><CR><LF>
Parameter
:
format
means key format
Table 6-17 key format
Value
Meanings
0 HEX
1 ASCII
index
means key index,1
~
4 is used in wep key, in other encryption modes it’s set 0
key
means key string,it’s embedded in double quotation marks
,
according with diffirent
encryption modes,key size and key format is defined as follows
Table 6-18 key
Key Format
Encryption mode
HEX
ASCII
WEP64
10 hexadecimal
characters
PPPP
(
Note 1
)
5 ASCII characters
PPPP
(
Note 2
)
WEP128
26 hexadecimal
characters
13 ASCII characters
WPA-PSK(TKIP)
64 hexadecimal
characters
8~63 ASCII characters
WPA-PSK(CCMP/AES)
64 hexadecimal
characters
8~63 ASCII characters
WPA2-PSK(TKIP)
64 hexadecimal
characters
8~63 ASCII characters
WPA2-PSK(CCMP/AES)
64 hexadecimal
characters
8~63 ASCII characters
Note1
:
hexadecimal characters means
0~9 and a~f
(
no division of majuscule and