User guide

Redpine Signals, Inc. Proprietary and Confidential. Page 30
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_psk=ABCDE12345\r\n
WEP (ASCII Mode): In this mode, the key to be supplied to the AP should be 5
characters (for 64 bit WEP mode) or 13 characters (for 128 bit WEP mode). All
ASCII characters are allowed.
In this mode the ASCII code of the key should be supplied to the module. For
example, if the key is AB12#, then the ASCII representation is 0x41 0x42 0x31
0x32 0x23, and the command is
at+rsi_psk=4142313223\r\n
Response
Result Code
Description
OK
Successful execution of the
command
ERROR<Error code>
Failure
Example 1: To join a WPA2 security enabled network with key “12345ABCDE”,
the command is
at+rsi_psk=12345ABCDE\r\n
………………………………………….
0x61 0x74 0x2B 0x72 0x73 0x69 0x5F 0x70 0x73 0x6B 0x3D
0x31 0x32 0x33 0x34 0x35 0x41 0x42 0x43 0x44 0x45 0x0D
0x0A
Example 2: To join a WEP-64 security (Hex) enabled network with key
“0123456789”, the command is
at+rsi_psk=0123456789\r\n
0x61 0x74 0x2B 0x72 0x73 0x69 0x5F 0x70 0x73 0x6B 0x3D
0x30 0x31 0x32 0x33 0x34 0x35 0x36 0x37 0x38 0x39 0x0D
0x0A
Example 3: To join a WEP-128 security (Hex) enabled network with key
“0123456789ABCDEFGHIJ012345”, the command is
at+rsi_psk=0123456789ABCDEFGHIJ012345\r\n
0x61 0x74 0x2B 0x72 0x73 0x69 0x5F 0x70 0x73 0x6B 0x3D
0x30 0x31 0x32 0x33 0x34 0x35 0x36 0x37 0x38 0x39 0x41 0x42
0x43 0x44 0x45 0x46 0x47 0x48 0x49 0x4A 0x30 0x31 0x32 0x33
0x34 0x35 0x0D 0x0A