LR1110
User Manual
Rev.1.0
UM.LR1110.W.APP
March 2020
86 of 130
Semtech
•
NbScanPerChan:
number of Wi-Fi passive scans to be executed per channel (range: 1 to 255).
•
Timeout:
16 bit timeout of the Preamble Search mode. Unit of
Timeout
is in ms. For example, for a beacon period of
102.4 ms, a 105 ms timeout value can be set to ensure the
WifiScan
covers the whole beacon period.
•
AbortOnTimeout:
if set to 1, when a timeout preamble detect occurs, the passive scanning on this channel is aborted
and the device jumps to the other channel to scan
For example: the configuration
•
Scan Wi-Fi b
•
Channels 1, 6, 11
•
Beacon and Packet search mode
•
10 Maximum Results
•
6 scans per channel
•
70 ms timeout for Preamble Search mode
•
No abort on timeout
Will be coded as:
During the Wi-Fi passive scanning, the BUSY signal is set High, indicating that LR1110 is not ready to accept a command
from the host. This can take a few hundreds of milliseconds, depending on the Wi-Fi passive scanning parameters. BUSY
returns to Low when the Wi-Fi passive scanning procedure is complete.
If the
WifiScanDone
interrupt has been enabled, the IRQ pin goes high at the end of the Wi-Fi passive scanning process on
the given channel mask for the given Wi-Fi type.
10.3 Wi-Fi Passive Scanning Results
10.3.1 Wi-Fi Passive Scanning Result Formats
Two different types of Wi-Fi Passive Scanning Results are implemented, allowing the user to retrieve either only the
minimum set of information for the geolocation in order to optimize the application power consumption (basic results
format), or the maximum amount of information available for the
WifiScan ( )
operation (full results format).
Opcode
Wi-Fi Type
ChanMask
AcqMode
NbMaxRes
NbScanPer
Chan
Timeout
AbortOn
Timeout
0x0300
0x01
0x0421
0x02
0x0A
0x06
0x0046
0x00