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

◆ nrf_modem_wifi_scan_start()

int nrf_modem_wifi_scan_start ( struct nrf_modem_wifi_scan_start_params const * params)

#include <nrf_modem/include/nrf_modem_wifi_scan.h>

Start Wi-Fi scan operation.

If the function returns zero, the results are sent via one or more NRF_MODEM_WIFI_SCAN_EVT_RESULT events.

Parameters
[in]paramsScan operation input parameters.
Return values
0Success.
-NRF_EPERMThe Modem library is not initialized.
-NRF_EBADMSGThe modem responded with wrong response.
-NRF_EFAULTInput parameter is NULL or event handler is not set.
-NRF_EINVALInput parameter has an invalid value.
-NRF_ENOMEMThere is not enough shared memory for this request.
-NRF_ESHUTDOWNThe modem was shut down.