pub struct L2CapCocReconfig {
pub conn_handle: ConnectionHandle,
pub mtu: u16,
pub mps: u16,
pub channel_number: u8,
pub channel_index_list: [u8; 246],
}
Expand description
This event is generated when receiving a valid Credit Based Reconfigure Request packet.
See Bluetooth spec. v.5.4 [Vol 3, Part A].
Fields§
§conn_handle: ConnectionHandle
handle of the connection where this event occured.
mtu: u16
Maximum Transmission Unit
Values:
- 23 .. 65535
mps: u16
Maximum Payload Size (in octets)
Values:
- 23 .. 248
channel_number: u8
Number of channels to be created. If this parameter is set to 0, it requests the creation of one LE credit based connection- oriented channel. Otherwise, it requests the creation of one or more enhanced credit based connection-oriented channels.
Values:
- 0 .. 5
channel_index_list: [u8; 246]
List of channel indexes for which the primitives apply.
Trait Implementations§
Source§impl Clone for L2CapCocReconfig
impl Clone for L2CapCocReconfig
Source§fn clone(&self) -> L2CapCocReconfig
fn clone(&self) -> L2CapCocReconfig
Returns a duplicate 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 L2CapCocReconfig
impl Debug for L2CapCocReconfig
impl Copy for L2CapCocReconfig
Auto Trait Implementations§
impl Freeze for L2CapCocReconfig
impl RefUnwindSafe for L2CapCocReconfig
impl Send for L2CapCocReconfig
impl Sync for L2CapCocReconfig
impl Unpin for L2CapCocReconfig
impl UnwindSafe for L2CapCocReconfig
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