User guide

Redpine Signals, Inc. Proprietary and Confidential. Page 29
R
R
S
S
9
9
1
1
1
1
0
0
-
-
N
N
-
-
1
1
1
1
-
-
2
2
2
2
/
/
2
2
4
4
/
/
2
2
8
8
S
S
o
o
f
f
t
t
w
w
a
a
r
r
e
e
P
P
r
r
o
o
g
g
r
r
a
a
m
m
m
m
i
i
n
n
g
g
R
R
e
e
f
f
e
e
r
r
e
e
n
n
c
c
e
e
M
M
a
a
n
n
u
u
a
a
l
l
V
V
e
e
r
r
s
s
i
i
o
o
n
n
4
4
.
.
1
1
5
5
at+rsi_network=INFRASTRUCTURE\r\n
…………………………………………………….
0x61 0x74 0x2B 0x72 0x73 0x69 0x5F 0x6E 0x74 0x74 0x77
0x6F 0x72 0x6B 0x3D 0X49 0X4E 0X46 0X52 0X41 0X53 0X54 0X52
0X55 0X43 0X54 0X55 0X52 0X45 0x0D 0x0A
Response
Result Code
Description
OK
Successful execution of the
command
ERROR<Error code>
Failure
3.2.10 Pre Shared Key
Description
This command configures the PSK (Pre Shared Key) that is used for creating
secured access. The PSK is also used as the WEP key in addition to WPA/WPA2-
PSK (AES and TKIP). This command should be issued to the module before the
Join command if the Access Point is in secure mode. This command can be
ignored if the Access Point is in Open mode.
Command
at+rsi_psk
Usage
at+rsi_psk=pre_shared_key\r\n
Parameters
This command is used to configure the pre shared key.
In the case of WPA/WPA2 modes, the Pre-shared key can be any combination of
ASCII characters up to a length of 63 characters
1
(refer to Bit[3] of Feature
Select command). In the case of WEP, there are two modes in which the Access
Point can be set:
WEP (Hex Mode): In this mode, the key to be supplied to the AP should be 10
digits (for 64 bit WEP mode) or 26 digits (for 128 bit WEP mode), and only the
following digits are allowed for the key:
A,B,C,D,E,F,a,b,c,d,e,f,0,1,2,3,4,5,67,8,9.
In this mode the exact key can be supplied to the module. For example, if the
key is ABCDE12345, then the command is
1
A maximum of 63 bytes is supported in firmware version 4.5.0 and upwards. For
earlier versions, a maximum of 32 bytes is supported.