User guide

Redpine Signals, Inc. Proprietary and Confidential.  Page 173 
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
this feature can be used only when the target application does not need 
to receive any broadcast packets. 
4.12.4 Query Connection Status 
Description 
This command is used to query status of the existing WLAN connection. 
Relevance 
This command is relevant both when the TCP/IP stack is enabled or bypassed. 
Frame Body 
None for the command going from Host to module 
Response 
The structure for the Connection Status query frame‟s response is as follows: 
struct TCP_EVT_Conection_status 
{ 
UINT16 state; 
UINT32 nErrorCode; 
}; 
Structure Member 
Name 
Description 
state 
This indicates whether the module is 
connected to an Access Point or not. 
0 – Not connected 
1 – Connected 
nErrorCode 
Always „0‟ is returned 
4.12.5  Disassociate
1
Description 
This command is used to disconnect from the Access Point to which the module 
is presently connected. 
Relevance 
This command is relevant both when the TCP/IP stack is enabled and bypassed.  
Frame Body 
None for the command going from Host to module 
1
 This command is not supported in ad-hoc mode. 










