pub struct PacketBc6 {Show 26 fields
pub mac: [u8; 6],
pub rssi: i32,
pub timestamp: u32,
pub rate: u32,
pub noise_floor: i32,
pub sig_len: u32,
pub rx_state: u32,
pub dump_len: u32,
pub sigb_len: u32,
pub cur_single_mpdu: u32,
pub cur_bb_format: u32,
pub rx_channel_estimate_info_vld: u32,
pub rx_channel_estimate_len: u32,
pub second: u32,
pub channel: u32,
pub is_group: u32,
pub rxend_state: u32,
pub rxmatch3: u32,
pub rxmatch2: u32,
pub rxmatch1: u32,
pub rxmatch0: u32,
pub date_time: Option<DateTime>,
pub sequence_number: u16,
pub csi_data_len: u16,
pub data_format: RxCsiFmt,
pub csi_data: Vec<i8>,
}Expand description
esp32c6 layout — the c5 layout plus the three #[cfg(feature = "esp32c6")]
fields (sigb_len, cur_single_mpdu, rxmatch0) at their declared
positions. Field order is the wire order.
Fields§
§mac: [u8; 6]§rssi: i32§timestamp: u32§rate: u32§noise_floor: i32§sig_len: u32§rx_state: u32§dump_len: u32§sigb_len: u32§cur_single_mpdu: u32§cur_bb_format: u32§rx_channel_estimate_info_vld: u32§rx_channel_estimate_len: u32§second: u32§channel: u32§is_group: u32§rxend_state: u32§rxmatch3: u32§rxmatch2: u32§rxmatch1: u32§rxmatch0: u32§date_time: Option<DateTime>§sequence_number: u16§csi_data_len: u16§data_format: RxCsiFmt§csi_data: Vec<i8>Trait Implementations§
Source§impl<'de> Deserialize<'de> for PacketBc6
impl<'de> Deserialize<'de> for PacketBc6
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<PacketBc6> for DecodedCsi
impl From<PacketBc6> for DecodedCsi
Auto Trait Implementations§
impl Freeze for PacketBc6
impl RefUnwindSafe for PacketBc6
impl Send for PacketBc6
impl Sync for PacketBc6
impl Unpin for PacketBc6
impl UnsafeUnpin for PacketBc6
impl UnwindSafe for PacketBc6
Blanket Implementations§
impl<T> Allocation for T
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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.