![]() |
nrfxlib API 3.3.99
|
| int nrf_modem_wifi_scan_cancel | ( | void | ) |
#include <nrf_modem/include/nrf_modem_wifi_scan.h>
Cancel the ongoing Wi-Fi scan operation.
If there was an ongoing scan operation before this function is called, the result of the operation is sent via the NRF_MODEM_WIFI_SCAN_EVT_RESULT event.
| 0 | Success. |
| -NRF_EPERM | The Modem library is not initialized. |
| -NRF_EBADMSG | The modem responded with wrong response. |
| -NRF_EFAULT | Event handler is not set. |
| -NRF_ENOMEM | Not enough shared memory for this request. |
| -NRF_ESHUTDOWN | The modem was shut down. |