Struct stm32wb_hci::event::LeDataLengthChangeEvent
source · pub struct LeDataLengthChangeEvent {
pub conn_handle: ConnectionHandle,
pub max_tx_octets: u16,
pub max_tx_time: u16,
pub max_rx_octets: u16,
pub max_rx_time: u16,
}Expand description
Indicates that either the maximum Payload length of a LL DATA PDU has changed or the maximum transmission time of packets which contain LL Data PDUs.
This event is only generated if any of the values have changed.
Defined in Vol 2, Part E, Section 7.7.65.7 of the spec.
Fields§
§conn_handle: ConnectionHandleConnection handle to be used to identify a connection between two Bluetooth devices.
max_tx_octets: u16Maximum number of octets in a PDU that the lcoal controller will send.
max_tx_time: u16Maximum time that the local controller will take to send a link layer packet.
max_rx_octets: u16Maximum number of octets in a PDU that the local controller expects to receive.
max_rx_time: u16Maximum time that the local controller expects to take to receive a link layer packet.
Trait Implementations§
source§impl Clone for LeDataLengthChangeEvent
impl Clone for LeDataLengthChangeEvent
source§fn clone(&self) -> LeDataLengthChangeEvent
fn clone(&self) -> LeDataLengthChangeEvent
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for LeDataLengthChangeEvent
impl Debug for LeDataLengthChangeEvent
impl Copy for LeDataLengthChangeEvent
Auto Trait Implementations§
impl RefUnwindSafe for LeDataLengthChangeEvent
impl Send for LeDataLengthChangeEvent
impl Sync for LeDataLengthChangeEvent
impl Unpin for LeDataLengthChangeEvent
impl UnwindSafe for LeDataLengthChangeEvent
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
Mutably borrows from an owned value. Read more