nrfxlib API 3.3.99
Loading...
Searching...
No Matches

◆ nrf_modem_wifi_scan_event_id

#include <nrf_modem/include/nrf_modem_wifi_scan.h>

Event IDs.

Enumerator
NRF_MODEM_WIFI_SCAN_EVT_RESULT 

Wi-Fi scan result event.

This event is sent to provide scan results after a successful call to the nrf_modem_wifi_scan_start function.

This event is also sent if an ongoing scan is cancelled with the nrf_modem_wifi_scan_cancel function, and to report an error during the scan.

The associated payload is the nrf_modem_wifi_scan_event.result member of type nrf_modem_wifi_scan_result in the event.

Multiple events may be sent for a single scan request. The last event always has the finished field set to true to indicate that the scan has been finished. When the finished field is true, the scan results in the event are not valid.

In case of an error, possible scan results until the error are still reported. In this case, the status field in the events with valid scan results is set to NRF_MODEM_WIFI_SCAN_STATUS_SUCCESS, while the last event with finished set to true has the status field set to the error status from the modem.