[][src]Struct esp_idf_bindgen::wifi_ap_record_t

#[repr(C)]pub struct wifi_ap_record_t {
    pub bssid: [u8; 6],
    pub ssid: [u8; 33],
    pub primary: u8,
    pub second: wifi_second_chan_t,
    pub rssi: i8,
    pub authmode: wifi_auth_mode_t,
    pub pairwise_cipher: wifi_cipher_type_t,
    pub group_cipher: wifi_cipher_type_t,
    pub ant: wifi_ant_t,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4], u32>,
    pub country: wifi_country_t,
}

@brief Description of a WiFi AP

Fields

bssid: [u8; 6]

< MAC address of AP

ssid: [u8; 33]

< SSID of AP

primary: u8

< channel of AP

second: wifi_second_chan_t

< secondary channel of AP

rssi: i8

< signal strength of AP

authmode: wifi_auth_mode_t

< authmode of AP

pairwise_cipher: wifi_cipher_type_t

< pairwise cipher of AP

group_cipher: wifi_cipher_type_t

< group cipher of AP

ant: wifi_ant_t

< antenna used to receive beacon from AP

_bitfield_1: __BindgenBitfieldUnit<[u8; 4], u32>country: wifi_country_t

< country information of AP

Implementations

impl wifi_ap_record_t[src]

pub fn phy_11b(&self) -> u32[src]

pub fn set_phy_11b(&mut self, val: u32)[src]

pub fn phy_11g(&self) -> u32[src]

pub fn set_phy_11g(&mut self, val: u32)[src]

pub fn phy_11n(&self) -> u32[src]

pub fn set_phy_11n(&mut self, val: u32)[src]

pub fn phy_lr(&self) -> u32[src]

pub fn set_phy_lr(&mut self, val: u32)[src]

pub fn wps(&self) -> u32[src]

pub fn set_wps(&mut self, val: u32)[src]

pub fn reserved(&self) -> u32[src]

pub fn set_reserved(&mut self, val: u32)[src]

pub fn new_bitfield_1(
    phy_11b: u32,
    phy_11g: u32,
    phy_11n: u32,
    phy_lr: u32,
    wps: u32,
    reserved: u32
) -> __BindgenBitfieldUnit<[u8; 4], u32>
[src]

Trait Implementations

impl Clone for wifi_ap_record_t[src]

impl Copy for wifi_ap_record_t[src]

Auto Trait Implementations

impl Send for wifi_ap_record_t

impl Sync for wifi_ap_record_t

impl Unpin for wifi_ap_record_t

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.