LR1110
User Manual Rev.1.0
UM.LR1110.W.APP March 2020
91 of 130
Semtech
www.semtech.com
10.3.4 WifiGetNbResults
The number of Wi-Fi Scanning results can be known with the command WifiGetNbResults( ). The number of results is
returned on 8 bits and can be read at the next SPI transaction.
10.3.5 WifiReadResults
WifiReadResults( ) allows reading out the byte stream containing a defined number of Wi-Fi Passive Scanning results from a
given index, in the requested format.
It is necessary to issue the command WifiGetNbResults( ) before this command. NOP Bytes (0x00) shall be issued to read back
the results.
• Index: index of Wi-Fi Passive Scanning results to read, from 0 to 31
• NbResults: number of Wi-Fi AP MAC Addresses to read, from 1 to 32
• Format: Format of the Wi-Fi Passive Scanning results to read
1: Full Results format
4: Basic Results format
Other values are RFU
Table 10-9: WifiGetNbResults Command
Byte 0 1
Data from Host 0x03 0x05
Data to Host Stat1 Stat2
Table 10-10: WifiGetNbResults Response
Byte 0 2
Data from Host 0x00 0x00
Data to Host Stat1 NbResults
Table 10-11: WifiReadResults Command
Byte 0 1 2 3 4
Data from Host 0x03 0x06 Index NbResults Format
Data to Host Stat1 Stat2 IrqStatus (31:24) IrqStatus (23:16) IrqStatus (15:8)
Table 10-12: WifiReadResults Response
Byte 0 1 2 … N+1
Data from Host 0x00 0x00 0x00 0x00 0x00
Data to Host Stat1 ResultsByte0 ResultsByte1 … ResultsByteN