User guide

Redpine Signals, Inc. Proprietary and Confidential. Page 19
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_passscan=bit_map\r\n
Parameters
bit_map: Parameter to configure for which channels passive scan is to be done.
For example, if only channel 1 and channel 4 are required to be scanned
passively, then the value for bit_map is calculated as
Channel[n] Channel[n-1] ……..Channel[4] Channel[3] Channel[2] Channel[1]
0 0 1 0 0 1
Decimal for <000..001001> is 9. Hence, the command is
at+rsi_passscan=9\r\n
…………………………………………………
0x61 0x74 0x2B 0x72 0x73 0x69 0x5F 0x70 0x61 0x73 0x73
0x73 0x63 0x61 0x6E 0x0A 0x39 0x0D 0x0A
After this, the command at+rsi_scan=0\r\n can be given to scan all channels,
out of which Channel 4 and 1 would be scanned passively.
Response
Result Code
Description
OK
Successful execution of the
command. “OK” is returned in
ASCII
ERROR<Error code>
Failure
3.2.5 Scan
Description
This command scans in all the channels or the channel specified in the
command. 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 also.
Otherwise the SSID field is NULL(„\0‟).
Command
at+rsi_scan
Usage
at+rsi_scan=chan_num,SSID\r\n
Parameters