nRF Connect SDK API 3.4.99
Loading...
Searching...
No Matches

◆ scan_type

enum location_wifi_scan_type location_wifi_config::scan_type

Preferred Wi-Fi scan type (active or passive).

This is a hint to the underlying Wi-Fi driver. Scan type may still be passive if

CONFIG_WIFI_MGMT_FORCED_PASSIVE_SCAN 

is enabled.

Default is LOCATION_WIFI_SCAN_TYPE_ACTIVE. It is applied when location_config_defaults_set() is called and can be changed at build time with

CONFIG_LOCATION_REQUEST_DEFAULT_WIFI_SCAN_TYPE 

configuration.