LR1110
User Manual Rev.1.0
UM.LR1110.W.APP March 2020
92 of 130
Semtech
www.semtech.com
For example, in order to read the results of a Wi-Fi Passive Scanning that returned 6 MAC Âddresses in Basic Results format,
the user shall send:
The result data will be sent in a stream of 6x9=54 Bytes.
The maximum number of Bytes that be read from one WifiReadResults( ) command is 1020 Bytes. Therefore if the size to read
is greater than 1020 Bytes, the read operation shall be separated into two requests.
10.3.6 WifiResetCumulTimings
WifiResetCumulTimings( ) allows to reset the Wi-Fi Passive Scanning cumulative timings (refer to 10.3.7
WifiReadCumulTimings).
This command shall be called prior to the executing the Wi-Fi Passive Scanning, in order to initialize the Wi-Fi Passive
Scanning cumulative timings if those are to be read.
Table 10-13: WifiResetCumulTimings Command
10.3.7 WifiReadCumulTimings
WifiReadCumulTimings( ) allows to read the Wi-Fi Passive Scanning cumulative timings, coded on 16Bytes, coded as in Table
10-14: Wi-Fi Cumulative Timings Description. The Cumulative represents the total time in he various modes during a
WifiScan ( ) command, therefore summed up for all Wi-Fi acquisitions, over the different WifiScan ( ) parameters (Wi-Fi
Types, Wi-FI channels, ...). These timings are expressed in microseconds.
This cumulative timing can be read regularly to compute the energy consumption of the device for Wi-Fi Passive Scanning
operations. All 16 Bytes shall be read. Cumulative timing must be reset by the host.
Opcode Wi-Fi Type Index NbResults Format
0x0306 0x01 0x00 0x06 0x04
Byte 0 1
Data from Host 0x03 0x07
Data to Host Stat1 Stat2
Table 10-14: Wi-Fi Cumulative Timings Description
Byte
0:3 4:7 8:11 12:15
Meaning
Total duration in RX
mode with ADC on
Total duration in
preamble detection
mode
Total duration in
capture mode
Total duration in
demodulation mode