nrfxlib API 3.3.99
Loading...
Searching...
No Matches
nrf_modem_wifi_scan.h File Reference
#include <stdint.h>
#include <stddef.h>
#include <nrf_modem_toolchain.h>

Go to the source code of this file.

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
 
#define NRF_MODEM_WIFI_SCAN_ACTIONS_IGNORE_PROBES   0x01
 
#define NRF_MODEM_WIFI_SCAN_ACTIONS_IGNORE_LOCAL_ADDR   0x02
 
#define NRF_MODEM_WIFI_SCAN_ACTIONS_INCREASE_MAX_GAIN   0x04
 
#define NRF_MODEM_WIFI_SCAN_ACTIONS_ENABLE_OFFLINE_PROCESSING   0x08
 

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_INVALID_PARAMS = 1 , 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_NOT_ACTIVE = 5 , NRF_MODEM_WIFI_SCAN_STATUS_NO_MEMORY = 6 , NRF_MODEM_WIFI_SCAN_STATUS_NOT_ALLOWED = 7
}
 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.