[][src]Struct nrf_softdevice_s113::ble_conn_cfg_t

#[repr(C)]pub struct ble_conn_cfg_t {
    pub conn_cfg_tag: u8,
    pub params: ble_conn_cfg_t__bindgen_ty_1,
}

@brief BLE connection configuration type, wrapping the module specific configurations, set with @ref sd_ble_cfg_set.

@note Connection configurations don't have to be set. In the case that no configurations has been set, or fewer connection configurations has been set than enabled connections, the default connection configuration will be automatically added for the remaining connections. When creating connections with the default configuration, @ref BLE_CONN_CFG_TAG_DEFAULT should be used in place of @ref ble_conn_cfg_t::conn_cfg_tag.

@sa sd_ble_gap_adv_start()

@mscs @mmsc{@ref BLE_CONN_CFG} @endmscs

Fields

conn_cfg_tag: u8

< The application chosen tag it can use with the @ref sd_ble_gap_adv_start() call to select this configuration when creating a connection. Must be different for all connection configurations added and not @ref BLE_CONN_CFG_TAG_DEFAULT.

params: ble_conn_cfg_t__bindgen_ty_1

< Connection configuration union.

Trait Implementations

impl Clone for ble_conn_cfg_t[src]

impl Copy for ble_conn_cfg_t[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.