[−][src]Struct esp_idf_bindgen::wifi_sta_config_t
@brief STA configuration settings for the ESP32
Fields
ssid: [u8; 32]
< SSID of target AP. Null terminated string.
password: [u8; 64]
< Password of target AP. Null terminated string.
scan_method: wifi_scan_method_t
< do all channel scan or fast scan
bssid_set: bool
< whether set MAC address of target AP or not. Generally, station_config.bssid_set needs to be 0; and it needs to be 1 only when users need to check the MAC address of the AP.
bssid: [u8; 6]
< MAC address of target AP
channel: u8
< channel of target AP. Set to 1~13 to scan starting from the specified channel before connecting to AP. If the channel of AP is unknown, set it to 0.
listen_interval: u16
< Listen interval for ESP32 station to receive beacon when WIFI_PS_MAX_MODEM is set. Units: AP beacon intervals. Defaults to 3 if set to 0.
sort_method: wifi_sort_method_t
< sort the connect AP in the list by rssi or security mode
threshold: wifi_scan_threshold_t
< When sort_method is set, only APs which have an auth mode that is more secure than the selected auth mode and a signal stronger than the minimum RSSI will be used.
pmf_cfg: wifi_pmf_config_t
< Configuration for Protected Management Frame. Will be advertized in RSN Capabilities in RSN IE.
Trait Implementations
impl Clone for wifi_sta_config_t
[src]
fn clone(&self) -> wifi_sta_config_t
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for wifi_sta_config_t
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,