#[repr(C)]pub struct bt_le_local_features {
pub features: [u8; 8],
pub states: u64,
pub acl_mtu: u16,
pub acl_pkts: u8,
pub iso_mtu: u16,
pub iso_pkts: u8,
pub rl_size: u8,
pub max_adv_data_len: u16,
}
Fields§
§features: [u8; 8]
@brief Local LE controller supported features.
Refer to BT_LE_FEAT_BIT_* for values. Refer to the BT_FEAT_LE_* macros for value comparionson. See Bluetooth Core Specification, Vol 6, Part B, Section 4.6.
states: u64
@brief Local LE controller supported states
Refer to BT_LE_STATES_* for values. See Bluetooth Core Specification 6.0, Vol 4, Part E, Section 7.8.27
acl_mtu: u16
@brief ACL data packet length
This represents the maximum ACL HCI Data packet which can be sent from the Host to the Controller. The Host may support L2CAP and ATT MTUs larger than this value. See Bluetooth Core Specification, Vol 6, Part E, Section 7.8.2.
acl_pkts: u8
Total number of ACL data packets
iso_mtu: u16
@brief ISO data packet length
This represents the maximum ISO HCI Data packet which can be sent from the Host to the Controller. ISO SDUs above this size can be fragmented assuming that the number of @ref bt_le_local_features.iso_pkts support the maximum size.
iso_pkts: u8
Total number of ISO data packets
rl_size: u8
@brief Maximum size of the controller resolving list.
See Bluetooth Core Specification, Vol 6, Part E, Section 7.8.41.
max_adv_data_len: u16
@brief Maximum advertising data length
@note The maximum advertising data length also depends on advertising type.
See Bluetooth Core Specification, Vol 6, Part E, Section 7.8.57.