embassy-stm32-wpan

Crates

git

Versions

default

Flavors

embassy_stm32_wpan::mac::typedefs

Enum PibId

Source
#[repr(u8)]
pub enum PibId {
Show 47 variants CurrentChannel = 0, ChannelsSupported = 1, TransmitPower = 2, CCAMode = 3, CurrentPage = 4, MaxFrameDuration = 5, SHRDuration = 6, SymbolsPerOctet = 7, AckWaitDuration = 64, AssociationPermit = 65, AutoRequest = 66, BeaconPayload = 69, BeaconPayloadLength = 70, BeaconOrder = 71, Bsn = 73, CoordExtendedAdddress = 74, CoordShortAddress = 75, Dsn = 76, MaxFrameTotalWaitTime = 88, MaxFrameRetries = 89, PanId = 80, ResponseWaitTime = 90, RxOnWhenIdle = 82, SecurityEnabled = 93, ShortAddress = 83, SuperframeOrder = 84, TimestampSupported = 92, TransactionPersistenceTime = 85, MaxBe = 87, LifsPeriod = 94, SifsPeriod = 95, MaxCsmaBackoffs = 78, MinBe = 79, PanCoordinator = 16, AssocPanCoordinator = 17, ExtendedAddress = 111, AclEntryDescriptor = 112, AclEntryDescriptorSize = 113, DefaultSecurity = 114, DefaultSecurityMaterialLength = 115, DefaultSecurityMaterial = 116, DefaultSecuritySuite = 117, SecurityMode = 118, CurrentAclEntries = 128, DefaultSecurityExtendedAddress = 129, AssociatedPanCoordinator = 86, PromiscuousMode = 81,
}
Expand description

this enum contains all the MAC PIB Ids

Variants§

§

CurrentChannel = 0

§

ChannelsSupported = 1

§

TransmitPower = 2

§

CCAMode = 3

§

CurrentPage = 4

§

MaxFrameDuration = 5

§

SHRDuration = 6

§

SymbolsPerOctet = 7

§

AckWaitDuration = 64

§

AssociationPermit = 65

§

AutoRequest = 66

§

BeaconPayload = 69

§

BeaconPayloadLength = 70

§

BeaconOrder = 71

§

Bsn = 73

§

CoordExtendedAdddress = 74

§

CoordShortAddress = 75

§

Dsn = 76

§

MaxFrameTotalWaitTime = 88

§

MaxFrameRetries = 89

§

PanId = 80

§

ResponseWaitTime = 90

§

RxOnWhenIdle = 82

§

SecurityEnabled = 93

§

ShortAddress = 83

§

SuperframeOrder = 84

§

TimestampSupported = 92

§

TransactionPersistenceTime = 85

§

MaxBe = 87

§

LifsPeriod = 94

§

SifsPeriod = 95

§

MaxCsmaBackoffs = 78

§

MinBe = 79

§

PanCoordinator = 16

§

AssocPanCoordinator = 17

§

ExtendedAddress = 111

§

AclEntryDescriptor = 112

§

AclEntryDescriptorSize = 113

§

DefaultSecurity = 114

§

DefaultSecurityMaterialLength = 115

§

DefaultSecurityMaterial = 116

§

DefaultSecuritySuite = 117

§

SecurityMode = 118

§

CurrentAclEntries = 128

§

DefaultSecurityExtendedAddress = 129

§

AssociatedPanCoordinator = 86

§

PromiscuousMode = 81

Trait Implementations§

Source§

impl Debug for PibId

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Default for PibId

Source§

fn default() -> PibId

Returns the “default value” for a type. Read more
Source§

impl From<PibId> for u8

Source§

fn from(value: PibId) -> u8

Converts to this type from the input type.
Source§

impl TryFrom<u8> for PibId

Source§

type Error = ()

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

fn try_from(value: u8) -> Result<Self, ()>

Performs the conversion.

Auto Trait Implementations§

§

impl Freeze for PibId

§

impl RefUnwindSafe for PibId

§

impl Send for PibId

§

impl Sync for PibId

§

impl Unpin for PibId

§

impl UnwindSafe for PibId

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.