User guide

Redpine Signals, Inc. Proprietary and Confidential. Page 22
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
Result Code
Description
according to the value
configured by the
at+rsi_numscan command. If
the at+rsi_numscan command
is not issued, then the module
returns the maximum number of
APs it can scan.
ERROR<Error code>
Failure
The maximum number of Access Points that can be scanned by the module is 14
for RS9110-N-11-22(-xx) and RS9110-N-11-24(-xx) and 10 for RS9110-N-11-
28(-xx). The SSIDs are returned in decreasing order of their RSSI.
Example1: If channel 6 is to be scanned, the command is
at+rsi_scan=6\r\n
…………………………..
0x61 0x74 0x2B 0x72 0x73 0x69 0x5F 0x73 0x63 0x61 0x6E
0x3D 0x36 0x0D 0x0A
Example2: To scan a hidden SSID “Redpine_net” in channel 12, the command
is
at+rsi_scan=12,Redpine_net\r\n
…………………………..
0x61 0x74 0x2B 0x72 0x73 0x69 0x5F 0x73 0x63 0x61 0x6E
0x3D 0x31 0x32 0x2C 0x52 0x65 0x64 0x70 0x69 0x6E
0x65 0x5F 0x6E 0x65 0x74 0x0D 0x0A
Example3: If there are two networks with the SSID “Redpine_net1” and
”Redpine_net2”, both in WPA2 and measured RSSI of -20 dBm and -14 dBm
respectively, the return value is
O K R e d p i n e _ n e t1 <uMode1> <uRSSI1> R e d p i ne _ n e t2
<uMode2> <uRSSI2> \r\n
………………………………………………
0x61 0x74 0x52 0x65 0x64 0x70 0x69 0x6E 0x65 0x5F 0x6E
0x65 0x74 0x31 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x02 0x14 0x52 0x65 0x64 0x70 0x69 0x6E 0x65 0x5F
0x6E 0x65 0x74 0x32 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x02 0x0E 0x0D 0x0A