User guide

Redpine Signals, Inc. Proprietary and Confidential.  Page 127 
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
Frame Body 
 None 
Response 
The second 16-bit word of the descriptor (W1[15:0]) of the received 
packet is used to identify the frame‟s success or failure. A value of „0‟ for the 
W1[15:0] is interpreted as a success and a non-zero value is interpreted as a 
failure. The reason for the init failure is also indicated by the non-zero value of 
this byte. 
4.9.3  Scan 
Description 
This request makes the module scan in the channel specified. If the user wants 
to join a hidden Access Point (SSID not being broadcast), the SSID of the Access 
Point is passed as the parameter. Otherwise the SSID field is NULL („\0‟). 
Relevance 
This command is relevant both when the TCP/IP stack is enabled or bypassed. 
Frame Body 
The structure and description of the scan request structure is as follows. 
struct WiFi_CNFG_Scan 
{ 
UINT32 uChannelNo; 
UINT8 uSSID[32]; 
UNIT8 pScan_bitmap
1
[4]; 
}; 
Structure Member 
Name 
Description 
uChannelNo 
Channel Number of the Access Point. 
This value can be one of many values, 
as listed. 
uSSID 
SSID of the Access Point. To be 
used to scan hidden SSIDs or a 
specific known SSID. For 
example, if the user wants to scan 
an SSID “Test_Network” in 
1
 In versions earlier than 4.7.x, this field was not present. Users can use the earlier 
structure without this field and the original scanning process will not be affected. 










