Struct esp_idf_sys::esp_bt_controller_config_t

source ·
#[repr(C)]
pub struct esp_bt_controller_config_t {
Show 24 fields pub controller_task_stack_size: u16, pub controller_task_prio: u8, pub hci_uart_no: u8, pub hci_uart_baudrate: u32, pub scan_duplicate_mode: u8, pub scan_duplicate_type: u8, pub normal_adv_size: u16, pub mesh_adv_size: u16, pub send_adv_reserved_size: u16, pub controller_debug_flag: u32, pub mode: u8, pub ble_max_conn: u8, pub bt_max_acl_conn: u8, pub bt_sco_datapath: u8, pub auto_latency: bool, pub bt_legacy_auth_vs_evt: bool, pub bt_max_sync_conn: u8, pub ble_sca: u8, pub pcm_role: u8, pub pcm_polar: u8, pub hli: bool, pub dup_list_refresh_period: u16, pub ble_scan_backoff: bool, pub magic: u32,
}
Expand description

@brief Controller config options, depend on config mask. Config mask indicate which functions enabled, this means some options or parameters of some functions enabled by config mask.

Fields§

§controller_task_stack_size: u16

< Bluetooth controller task stack size

§controller_task_prio: u8

< Bluetooth controller task priority

§hci_uart_no: u8

< If use UART1/2 as HCI IO interface, indicate UART number

§hci_uart_baudrate: u32

< If use UART1/2 as HCI IO interface, indicate UART baudrate

§scan_duplicate_mode: u8

< scan duplicate mode

§scan_duplicate_type: u8

< scan duplicate type

§normal_adv_size: u16

< Normal adv size for scan duplicate

§mesh_adv_size: u16

< Mesh adv size for scan duplicate

§send_adv_reserved_size: u16

< Controller minimum memory value

§controller_debug_flag: u32

< Controller debug log flag

§mode: u8

< Controller mode: BR/EDR, BLE or Dual Mode

§ble_max_conn: u8

< BLE maximum connection numbers

§bt_max_acl_conn: u8

< BR/EDR maximum ACL connection numbers

§bt_sco_datapath: u8

< SCO data path, i.e. HCI or PCM module

§auto_latency: bool

< BLE auto latency, used to enhance classic BT performance

§bt_legacy_auth_vs_evt: bool

< BR/EDR Legacy auth complete event required to protect from BIAS attack

§bt_max_sync_conn: u8

< BR/EDR maximum ACL connection numbers. Effective in menuconfig

§ble_sca: u8

< BLE low power crystal accuracy index

§pcm_role: u8

< PCM role (master & slave)

§pcm_polar: u8

< PCM polar trig (falling clk edge & rising clk edge)

§hli: bool

< Using high level interrupt or not

§dup_list_refresh_period: u16

< Duplicate scan list refresh period

§ble_scan_backoff: bool

< BLE scan backoff

§magic: u32

< Magic number

Trait Implementations§

source§

impl Clone for esp_bt_controller_config_t

source§

fn clone(&self) -> esp_bt_controller_config_t

Returns a copy of the value. Read more
1.0.0§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for esp_bt_controller_config_t

source§

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

Formats the value using the given formatter. Read more
source§

impl Default for esp_bt_controller_config_t

source§

fn default() -> esp_bt_controller_config_t

Returns the “default value” for a type. Read more
source§

impl Copy for esp_bt_controller_config_t

Auto Trait Implementations§

Blanket Implementations§

§

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

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

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

§

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

Mutably borrows from an owned value. Read more
§

impl<T> CloneToUninit for T
where T: Copy,

§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> CloneToUninit for T
where T: Clone,

§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

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

§

fn into(self) -> U

Calls U::from(self).

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

§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

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

§

type Error = Infallible

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

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

Performs the conversion.
§

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

§

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

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

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

Performs the conversion.