pub struct HostBufferSize {
pub acl_data_packet_length: u16,
pub sync_data_packet_length: u8,
pub total_acl_data_packets: u16,
pub total_sync_data_packets: u16,
}
Expand description
Parameters for the host_buffer_size commad
§Note:
The Host ACL Data Packet Length and Host Synchronous Data Packet Length command parameters do not include the length of the HCI Data Packet header.
See Bluetooth spec. v.5.4 [Vol 4, Part E, 7.3.39].
Fields§
§acl_data_packet_length: u16
Maximum length (in octets) of the data portion of each HCI ACL Data Packet that the host is able to accept.
this parameter will be used to determine the size of the L2CAP segments contained in the ACL Data Packets, which are transferred from the Controller to the Host.
Values:
- 251 .. 65535
sync_data_packet_length: u8
Maximum length (in octets) of the data portion of each HCI Synchronous Data Packet that the Host
is able to accept. NOT USED
This parameter is used to determine the maximum size of HCI Synchronous Data Packets. Both the Host and the Controller shall support command and event packets, zhere the data portion (excluding header) contained in the packet is 255 octets is size.
total_acl_data_packets: u16
The total number of HCI ACL Data Packets that can be stored in the data buffers of the Host.
This parameter contains the total number of HCI ACL Data Packets that can be stored in the data buffers of the Host. The Controller will determine how the buffers are to be divided between different Connection Handles.
total_sync_data_packets: u16
Total number of HCI Synchronous Data Packets that can be stored in the data buffers of the Host. NOT USED
This parameter gives the save information for HCI Synchronous Data Packets.
Trait Implementations§
Source§impl Clone for HostBufferSize
impl Clone for HostBufferSize
Source§fn clone(&self) -> HostBufferSize
fn clone(&self) -> HostBufferSize
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more