Struct ieee802154::mac::beacon::SuperframeSpecification
source · [−]pub struct SuperframeSpecification {
pub beacon_order: BeaconOrder,
pub superframe_order: SuperframeOrder,
pub final_cap_slot: u8,
pub battery_life_extension: bool,
pub pan_coordinator: bool,
pub association_permit: bool,
}
Expand description
Superframe specification
The superframe specification describes the organisation of frames in the air when using superframes and/or periodical beacons.
Fields
beacon_order: BeaconOrder
Beacon order, 0-15, where 15 is on demand.
Beacon interval = BaseSuperframeDuration × (2 ^ BeaconOrder)
superframe_order: SuperframeOrder
Superframe order, amount of time during wich this superframe is active
final_cap_slot: u8
final contention access period slot used
battery_life_extension: bool
Limit receiving of beacons for a period. Not used if beacon_order is OnDemand.
pan_coordinator: bool
Frame sent by a coordinator
association_permit: bool
The coordinator acceppts associations to the PAN
Trait Implementations
sourceimpl Clone for SuperframeSpecification
impl Clone for SuperframeSpecification
sourcefn clone(&self) -> SuperframeSpecification
fn clone(&self) -> SuperframeSpecification
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SuperframeSpecification
impl Debug for SuperframeSpecification
sourceimpl Hash for SuperframeSpecification
impl Hash for SuperframeSpecification
sourceimpl PartialEq<SuperframeSpecification> for SuperframeSpecification
impl PartialEq<SuperframeSpecification> for SuperframeSpecification
sourcefn eq(&self, other: &SuperframeSpecification) -> bool
fn eq(&self, other: &SuperframeSpecification) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl TryRead<'_, ()> for SuperframeSpecification
impl TryRead<'_, ()> for SuperframeSpecification
sourceimpl TryWrite<()> for SuperframeSpecification
impl TryWrite<()> for SuperframeSpecification
impl Copy for SuperframeSpecification
impl Eq for SuperframeSpecification
impl StructuralEq for SuperframeSpecification
impl StructuralPartialEq for SuperframeSpecification
Auto Trait Implementations
impl RefUnwindSafe for SuperframeSpecification
impl Send for SuperframeSpecification
impl Sync for SuperframeSpecification
impl Unpin for SuperframeSpecification
impl UnwindSafe for SuperframeSpecification
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more