User guide

Redpine Signals, Inc. Proprietary and Confidential. Page 89
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
3.10 Error Codes
The following are the valid error codes, along with their two‟s complement values
in hexadecimal, for the commands.
Error Code
Description
-1 (0xFF)
Waiting for the connection from peer.
-2 (0xFE)
Socket not available.
-3 (0xFD)
De-authentication from the Access Point.
-4 (0xFC)
Illegal IP/Port parameters.
-5 (0xFB)
TCP/IP configuration failure.
-6 (0xFA)
Invalid socket.
-7 (0xF9)
Association not done.
-8 (0xF8)
Error in command.
-9 (0xF7)
Error with byte stuffing for escape characters.
-10 (0xF6)
IP Lease expired
-11 (0xF5)
TCP Connection Closed
-12 (0xF4)
Pre-Shared Key contains invalid characters
(applicable in case of WEP)
-13 (0xF3)
No Access Points present. This error is also issued
if the security mode of the AP is different from the
one supplied to the module in the “Authentication
mode” command.
-14 (0xF2)
1.This error is sent by the module when the INIT
command is sent more than once.
2. Flash access error for at_rsi_cfgenable
command
3. Returned for at+rsi_cfgget command when
the config save feature is not enabled
(at+rsi_cfgenable=1 not issued)
-15 (0xF1)
This error is sent by the module when
1. JOIN command is sent when module is
already associated with an existing
network.
2. Scan command is issued after the module
has already associated with a network.
3. When there is a flash write failure for
the at+rsi_cfgsave command
4. Module not in connected state (for
at+rsi_cfgsave command)