pub enum E2EProfile {
Show 14 variants
P01,
P02,
P04,
P04m,
P05,
P06,
P07,
P07m,
P08,
P08m,
P11,
P22,
P44,
P44m,
}
Expand description
enumeration of the possible E2E profiles
Variants§
P01
E2E Profile 01: Legacy profile, uses a 4-bit counter, 16-bit data id and an 8-bit CRC. New projects should use P11 instead.
P02
E2E Profile 02: Legacy profile, uses a 8-bit counter, 8-bit data id and a 8-bit CRC. New projects should use P22 instead.
P04
E2E Profile 04: Uses an 16-bit length, 16-bit counter, 32-bit data id and a 32-bit CRC
P04m
E2E Profile 04m: Uses an 16-bit length, 16-bit counter, 32-bit data id and a 32-bit CRC, as well as source ID, message type and message result
P05
E2E Profile 05: Uses an 8-bit counter, 16-bit data id and a 16-bit CRC
P06
E2E Profile 06: Uses a 16-bit length, 8-bit counter, 16-bit data id and a 16-bit CRC
P07
E2E Profile 07: Uses an 32-bit length, 32-bit counter, 32-bit data id and a 64-bit CRC
P07m
E2E Profile 07: Uses an 32-bit length, 32-bit counter, 32-bit data id and a 64-bit CRC, as well as source ID, message type and message result
P08
E2E Profile 08: Uses an 32-bit length, 32-bit counter, 32-bit data id and a 32-bit CRC
P08m
E2E Profile 08m: Uses an 32-bit length, 32-bit counter, 32-bit data id and a 32-bit CRC, as well as source ID, message type and message result
P11
E2E Profile 11: Uses an 4-bit counter, 16-bit or 12-bit data id and a 8-bit CRC
P22
E2E Profile 22: Uses a 4-bit counter, 8-bit data id and a 8-bit CRC
P44
E2E Profile 44: Uses a 16-bit length, 16-bit counter, 32-bit data id and a 32-bit CRC
P44m
E2E Profile 44m: Uses a 16-bit length, 16-bit counter, 32-bit data id and a 32-bit CRC, as well as source ID, message type and message result
Trait Implementations§
Source§impl Clone for E2EProfile
impl Clone for E2EProfile
Source§fn clone(&self) -> E2EProfile
fn clone(&self) -> E2EProfile
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for E2EProfile
impl Debug for E2EProfile
Source§impl PartialEq for E2EProfile
impl PartialEq for E2EProfile
impl Copy for E2EProfile
impl Eq for E2EProfile
impl StructuralPartialEq for E2EProfile
Auto Trait Implementations§
impl Freeze for E2EProfile
impl RefUnwindSafe for E2EProfile
impl Send for E2EProfile
impl Sync for E2EProfile
impl Unpin for E2EProfile
impl UnwindSafe for E2EProfile
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.