User guide

Redpine Signals, Inc. Proprietary and Confidential. Page 32
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
Authvalue:
0 WEP Open Key Authentication
1 WEP Shared Key Authentication
2 WPA
3- WPA2
4- No security (open)
The relevance of this command changes with Bit[11] of the Feature Select
command.
Bit[11]=0:
The command is not a mandatory command if the AP is in WPA/WPA2 or open
mode. If the AP is in WEP mode, it must be issued to set the mode to either
WEP-open or WEP-shared.
Bit[11]=1:
The command is a mandatory command, and should be issued before the “Join”
command, irrespective of the security mode of the AP. If the security mode of
the AP to connect to, does not match that supplied to the module, Join would
fail.
Response
Result Code
Description
OK
Successful execution of the
command
ERROR<Error code>
Failure
Example: at+rsi_authmode=1\r\n
………………………………………….
0x61 0x74 0x2B 0x72 0x73 0x69 0x5F 0x61 0x75 0x74
0x68 0x6D 0x6F 0x6F 0x64 0x65 0x3D 0x31 0x0D 0x0A
NOTE: If the module and AP are configured in WEP-open mode and a wrong
PSK is supplied to the module before Joining to the AP, no error messages
indicating this will be given. The module will join to the AP but data transfer
will fail. If the module and AP are configured in WEP-shared mode and a
wrong PSK is supplied to the module, the join operation will fail and an
ERROR code -12 will be returned.
3.2.13 Join
Description