zephyr::raw

Struct bt_le_local_features

Source
#[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.

Trait Implementations§

Source§

impl Debug for bt_le_local_features

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.