Struct nrf_softdevice_s113::ble_conn_cfg_t
source · #[repr(C)]pub struct ble_conn_cfg_t {
pub conn_cfg_tag: u8,
pub params: ble_conn_cfg_t__bindgen_ty_1,
}
Expand description
@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§
source§impl Clone for ble_conn_cfg_t
impl Clone for ble_conn_cfg_t
source§fn clone(&self) -> ble_conn_cfg_t
fn clone(&self) -> ble_conn_cfg_t
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more