embassy-stm32-wpan

Crates

git

Versions

default

Flavors

embassy_stm32_wpan::mac::indications

Struct BeaconNotifyIndication

Source
#[repr(C)]
pub struct BeaconNotifyIndication { pub sdu_ptr: *const u8, pub pan_descriptor: PanDescriptor, pub addr_list: [MacAddress; 7], pub bsn: u8, pub pend_addr_spec: u8, pub sdu_length: u8, }
Expand description

MLME BEACON NOTIIFY Indication which is used to send parameters contained within a beacon frame received by the MAC to the application

Fields§

§sdu_ptr: *const u8

he set of octets comprising the beacon payload to be transferred from the MAC sublayer entity to the next higher layer

§pan_descriptor: PanDescriptor

The PAN Descriptor for the received beacon

§addr_list: [MacAddress; 7]

The list of addresses of the devices

§bsn: u8

Beacon Sequence Number

§pend_addr_spec: u8

The beacon pending address specification

§sdu_length: u8

Number of octets contained in the beacon payload of the beacon frame

Trait Implementations§

Source§

impl Debug for BeaconNotifyIndication

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.