nrfxlib API 3.4.99
Loading...
Searching...
No Matches

API for modem Wi-Fi scan functionality. More...

Topics

 Wi-Fi scan actions.
 Bitmap definitions of scanning behaviour related special features.

Data Structures

struct  nrf_modem_wifi_scan_result
 Data for an NRF_MODEM_WIFI_SCAN_EVT_RESULT event. More...
struct  nrf_modem_wifi_scan_event
 Wi-Fi scan event. More...
struct  nrf_modem_wifi_scan_start_params
 Wi-Fi scan start parameters. More...

Macros

#define NRF_MODEM_WIFI_SCAN_MAC_ADDRESS_LEN   6
#define NRF_MODEM_WIFI_SCAN_SSID_BUF_LEN   33
#define NRF_MODEM_WIFI_SCAN_RSSI_NOT_MEASURED   0
#define NRF_MODEM_WIFI_SCAN_WIFI_ALL_CHANNELS   0xFFFF
#define NRF_MODEM_WIFI_SCAN_TIME_MS_MIN   100
#define NRF_MODEM_WIFI_SCAN_TIME_DESIRED_MS_DEFAULT   1000

Typedefs

typedef void(* nrf_modem_wifi_scan_event_handler_t) (const struct nrf_modem_wifi_scan_event *evt)
 Application handler prototype for Wi-Fi scan events.

Enumerations

enum  nrf_modem_wifi_scan_status {
  NRF_MODEM_WIFI_SCAN_STATUS_SUCCESS = 0 , NRF_MODEM_WIFI_SCAN_STATUS_ABORTED = 2 , NRF_MODEM_WIFI_SCAN_STATUS_TIMEOUT = 3 , NRF_MODEM_WIFI_SCAN_STATUS_FAILURE = 4 ,
  NRF_MODEM_WIFI_SCAN_STATUS_NO_MEMORY = 6
}
 Wi-Fi scan status values. More...
enum  nrf_modem_wifi_scan_event_id { NRF_MODEM_WIFI_SCAN_EVT_RESULT = 1 }

Functions

int nrf_modem_wifi_scan_event_handler_set (nrf_modem_wifi_scan_event_handler_t handler)
 Set the application event handler for Wi-Fi scan events.
int nrf_modem_wifi_scan_start (struct nrf_modem_wifi_scan_start_params const *params)
 Start Wi-Fi scan operation.
int nrf_modem_wifi_scan_cancel (void)
 Cancel the ongoing Wi-Fi scan operation.

Detailed Description

API for modem Wi-Fi scan functionality.