[][src]Struct esp_idf_bindgen::esp_now_peer_info

#[repr(C)]pub struct esp_now_peer_info {
    pub peer_addr: [u8; 6],
    pub lmk: [u8; 16],
    pub channel: u8,
    pub ifidx: wifi_interface_t,
    pub encrypt: bool,
    pub priv_: *mut c_void,
}

@brief ESPNOW peer information parameters.

Fields

peer_addr: [u8; 6]

< ESPNOW peer MAC address that is also the MAC address of station or softap

lmk: [u8; 16]

< ESPNOW peer local master key that is used to encrypt data

channel: u8

< Wi-Fi channel that peer uses to send/receive ESPNOW data. If the value is 0, use the current channel which station or softap is on. Otherwise, it must be set as the channel that station or softap is on.

ifidx: wifi_interface_t

< Wi-Fi interface that peer uses to send/receive ESPNOW data

encrypt: bool

< ESPNOW data that this peer sends/receives is encrypted or not

priv_: *mut c_void

< ESPNOW peer private data

Trait Implementations

impl Clone for esp_now_peer_info[src]

impl Copy for esp_now_peer_info[src]

impl Debug for esp_now_peer_info[src]

Auto Trait Implementations

impl !Send for esp_now_peer_info

impl !Sync for esp_now_peer_info

impl Unpin for esp_now_peer_info

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.