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

◆ nrf_modem_wifi_scan_event_handler_set()

int nrf_modem_wifi_scan_event_handler_set ( nrf_modem_wifi_scan_event_handler_t handler)

#include <nrf_modem/include/nrf_modem_wifi_scan.h>

Set the application event handler for Wi-Fi scan events.

The application must set the handler for events coming from the Wi-Fi scan before attempting other operations.

Note
The handler is executed in an interrupt service routine (ISR). Take care to offload any processing as appropriate.
Parameters
handlerEvent handler.
Returns
0 Success.
Return values
-NRF_EFAULThandler is NULL.