14#ifndef NRF_MODEM_WIFI_SCAN_H__
15#define NRF_MODEM_WIFI_SCAN_H__
26#define NRF_MODEM_WIFI_SCAN_MAC_ADDRESS_LEN 6
28#define NRF_MODEM_WIFI_SCAN_SSID_BUF_LEN 33
30#define NRF_MODEM_WIFI_SCAN_RSSI_NOT_MEASURED 0
32#define NRF_MODEM_WIFI_SCAN_WIFI_ALL_CHANNELS 0xFFFF
34#define NRF_MODEM_WIFI_SCAN_TIME_MS_MIN 100
36#define NRF_MODEM_WIFI_SCAN_TIME_DESIRED_MS_DEFAULT 1000
133#define NRF_MODEM_WIFI_SCAN_ACTIONS_IGNORE_PROBES 0x01
135#define NRF_MODEM_WIFI_SCAN_ACTIONS_IGNORE_LOCAL_ADDR 0x02
146#define NRF_MODEM_WIFI_SCAN_ACTIONS_INCREASE_MAX_GAIN 0x04
151#define NRF_MODEM_WIFI_SCAN_ACTIONS_ENABLE_OFFLINE_PROCESSING 0x08
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.
nrf_modem_wifi_scan_status
Wi-Fi scan status values.
Definition nrf_modem_wifi_scan.h:41
@ NRF_MODEM_WIFI_SCAN_STATUS_NO_MEMORY
Definition nrf_modem_wifi_scan.h:51
@ NRF_MODEM_WIFI_SCAN_STATUS_SUCCESS
Definition nrf_modem_wifi_scan.h:43
@ NRF_MODEM_WIFI_SCAN_STATUS_TIMEOUT
Definition nrf_modem_wifi_scan.h:47
@ NRF_MODEM_WIFI_SCAN_STATUS_ABORTED
Definition nrf_modem_wifi_scan.h:45
@ NRF_MODEM_WIFI_SCAN_STATUS_FAILURE
Definition nrf_modem_wifi_scan.h:49
int nrf_modem_wifi_scan_cancel(void)
Cancel the ongoing Wi-Fi scan operation.
int nrf_modem_wifi_scan_start(struct nrf_modem_wifi_scan_start_params const *params)
Start Wi-Fi scan operation.
nrf_modem_wifi_scan_event_id
Definition nrf_modem_wifi_scan.h:55
@ NRF_MODEM_WIFI_SCAN_EVT_RESULT
Definition nrf_modem_wifi_scan.h:77
void(* nrf_modem_wifi_scan_event_handler_t)(const struct nrf_modem_wifi_scan_event *evt)
Application handler prototype for Wi-Fi scan events.
Definition nrf_modem_wifi_scan.h:204
#define NRF_MODEM_WIFI_SCAN_MAC_ADDRESS_LEN
Definition nrf_modem_wifi_scan.h:26
#define NRF_MODEM_WIFI_SCAN_SSID_BUF_LEN
Definition nrf_modem_wifi_scan.h:28
struct nrf_modem_wifi_scan_result result
Definition nrf_modem_wifi_scan.h:122
enum nrf_modem_wifi_scan_status status
Definition nrf_modem_wifi_scan.h:119
enum nrf_modem_wifi_scan_event_id id
Definition nrf_modem_wifi_scan.h:117
Wi-Fi scan event.
Definition nrf_modem_wifi_scan.h:115
uint8_t channel
Definition nrf_modem_wifi_scan.h:105
char ssid[33]
Definition nrf_modem_wifi_scan.h:111
bool finished
Definition nrf_modem_wifi_scan.h:90
uint8_t mac_address[6]
Definition nrf_modem_wifi_scan.h:108
int16_t rssi
Definition nrf_modem_wifi_scan.h:98
Data for an NRF_MODEM_WIFI_SCAN_EVT_RESULT event.
Definition nrf_modem_wifi_scan.h:81
uint32_t actions
Definition nrf_modem_wifi_scan.h:163
uint8_t ap_max_count
Definition nrf_modem_wifi_scan.h:193
uint16_t channels_bitmap
Definition nrf_modem_wifi_scan.h:172
uint16_t scan_time_desired_ms
Definition nrf_modem_wifi_scan.h:186
Wi-Fi scan start parameters.
Definition nrf_modem_wifi_scan.h:157