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

◆ bands

uint8_t location_wifi_config::bands

Bitmap of frequency bands to scan.

Use LOCATION_WIFI_BAND_2_4_GHZ and LOCATION_WIFI_BAND_5_GHZ. Zero means all bands supported by the driver. The nRF92 integrated Wi-Fi scanner supports the 2.4 GHz band only; 5 GHz is ignored by that driver.

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

CONFIG_LOCATION_REQUEST_DEFAULT_WIFI_BANDS_2_4_GHZ 

and

CONFIG_LOCATION_REQUEST_DEFAULT_WIFI_BANDS_5_GHZ 

configuration.