User guide

Redpine Signals, Inc. Proprietary and Confidential. Page 18
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
Parameters
?: To get the number of networks already scanned by the “Scan” or Next Scan”
command.
value: This parameter configures the number of scan results the module returns
for the Scan and NextScan commands.
Example 1 : To configure for 10 scan results, the command is
at+rsi_numscan=10\r\n
……………………………….
0x61 0x74 0x2B 0x72 0x73 0x69 0x5F 0x6E 0x75 0x6D 0x73
0x63 0x61 0x6E 0x0A 0x31 0x30 0x0D 0x0A
Response
Result Code
Description
OK<retvalue>
retvalue (1 byte, hex): Number of
nodes scanned. For example if
there are 9 nodes, return value is
0x09. If there are 10 nodes,
return value is 0x0A. This
parameter is returned if “?” is
used.
ERROR<Error code>
Failure.
Example 2: If there are 10 wireless networks scanned by at+rsi_scan and
at+rsi_numscan? is issued after at+rsi_scan command, the return value is
OK 10 \r\n
………………………………………………
0x4F 0x4B 0x0A 0x0D 0x0A
3.2.4 Passive Scan
Description
This command enables the module to scan for networks without sending a probe
request from the module. In this mode, the module gets the network information
from the beacons sent by the Access Point. This command is optional and should
be given before issuing at+rsi_scan command if passive scanning is required.
Command
at+rsi_passscan
Usage