idfxx 1.0.0
Modern C++23 components for ESP-IDF
Loading...
Searching...
No Matches
idfxx::wifi::sta_config Struct Reference

Configuration for WiFi station mode. More...

Public Attributes

std::string ssid
 
std::string password
 
std::optional< mac_addressbssid = {}
 
uint8_t channel = 0
 
enum scan_method scan_method = scan_method::fast
 
enum sort_method sort_method = sort_method::by_rssi
 
enum auth_mode auth_threshold = auth_mode::open
 
int8_t rssi_threshold = -127
 
struct pmf_config pmf = {}
 
uint16_t listen_interval = 0
 
bool rm_enabled = false
 
bool btm_enabled = false
 
bool mbo_enabled = false
 
bool ft_enabled = false
 
bool owe_enabled = false
 
bool transition_disable = false
 
flags< sae_pwe_methodsae_pwe_h2e = {}
 
enum sae_pk_mode sae_pk_mode = sae_pk_mode::automatic
 
uint8_t failure_retry_cnt = 0
 

Detailed Description

Configuration for WiFi station mode.

Definition at line 800 of file wifi.hpp.

Member Data Documentation

◆ auth_threshold

enum auth_mode idfxx::wifi::sta_config::auth_threshold = auth_mode::open

Minimum authentication mode to accept.

Definition at line 807 of file wifi.hpp.

◆ bssid

std::optional<mac_address> idfxx::wifi::sta_config::bssid = {}

Target AP BSSID (empty = any).

Definition at line 803 of file wifi.hpp.

◆ btm_enabled

bool idfxx::wifi::sta_config::btm_enabled = false

BSS Transition Management enabled.

Definition at line 812 of file wifi.hpp.

◆ channel

uint8_t idfxx::wifi::sta_config::channel = 0

Channel hint (0 = scan all).

Definition at line 804 of file wifi.hpp.

◆ failure_retry_cnt

uint8_t idfxx::wifi::sta_config::failure_retry_cnt = 0

Connection failure retry count (0 = no retry).

Definition at line 819 of file wifi.hpp.

◆ ft_enabled

bool idfxx::wifi::sta_config::ft_enabled = false

Fast BSS Transition (802.11r) enabled.

Definition at line 814 of file wifi.hpp.

◆ listen_interval

uint16_t idfxx::wifi::sta_config::listen_interval = 0

Listen interval for power save (0 = default).

Definition at line 810 of file wifi.hpp.

◆ mbo_enabled

bool idfxx::wifi::sta_config::mbo_enabled = false

MBO (Multi-Band Operation) enabled.

Definition at line 813 of file wifi.hpp.

◆ owe_enabled

bool idfxx::wifi::sta_config::owe_enabled = false

OWE Transition mode enabled.

Definition at line 815 of file wifi.hpp.

◆ password

std::string idfxx::wifi::sta_config::password

Password for the target access point.

Definition at line 802 of file wifi.hpp.

◆ pmf

struct pmf_config idfxx::wifi::sta_config::pmf = {}

PMF configuration.

Definition at line 809 of file wifi.hpp.

◆ rm_enabled

bool idfxx::wifi::sta_config::rm_enabled = false

Radio Measurement enabled.

Definition at line 811 of file wifi.hpp.

◆ rssi_threshold

int8_t idfxx::wifi::sta_config::rssi_threshold = -127

Minimum RSSI to accept.

Definition at line 808 of file wifi.hpp.

◆ sae_pk_mode

enum sae_pk_mode idfxx::wifi::sta_config::sae_pk_mode = sae_pk_mode::automatic

SAE-PK mode.

Definition at line 818 of file wifi.hpp.

◆ sae_pwe_h2e

flags<sae_pwe_method> idfxx::wifi::sta_config::sae_pwe_h2e = {}

SAE PWE derivation methods (empty = auto).

Definition at line 817 of file wifi.hpp.

◆ scan_method

enum scan_method idfxx::wifi::sta_config::scan_method = scan_method::fast

Scan method when connecting.

Definition at line 805 of file wifi.hpp.

◆ sort_method

enum sort_method idfxx::wifi::sta_config::sort_method = sort_method::by_rssi

AP sort method when connecting.

Definition at line 806 of file wifi.hpp.

◆ ssid

std::string idfxx::wifi::sta_config::ssid

SSID of the target access point.

Definition at line 801 of file wifi.hpp.

◆ transition_disable

bool idfxx::wifi::sta_config::transition_disable = false

Transition Disable indication.

Definition at line 816 of file wifi.hpp.


The documentation for this struct was generated from the following file: