S140 SoftDevice v7.2.0
Data Fields
ble_conn_cfg_t Struct Reference

BLE connection configuration type, wrapping the module specific configurations, set with sd_ble_cfg_set. More...

#include <ble.h>

Data Fields

uint8_t conn_cfg_tag
 
union {
   ble_gap_conn_cfg_t   gap_conn_cfg
 
   ble_gattc_conn_cfg_t   gattc_conn_cfg
 
   ble_gatts_conn_cfg_t   gatts_conn_cfg
 
   ble_gatt_conn_cfg_t   gatt_conn_cfg
 
   ble_l2cap_conn_cfg_t   l2cap_conn_cfg
 
params
 

Detailed Description

BLE connection configuration type, wrapping the module specific configurations, set with 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, BLE_CONN_CFG_TAG_DEFAULT should be used in place of ble_conn_cfg_t::conn_cfg_tag.
See Also
sd_ble_gap_adv_start()
sd_ble_gap_connect()
Relevant Message Sequence Charts
Connection Configuration

Field Documentation

uint8_t ble_conn_cfg_t::conn_cfg_tag
        The application chosen tag it can use with the

sd_ble_gap_adv_start() and sd_ble_gap_connect() calls to select this configuration when creating a connection. Must be different for all connection configurations added and not BLE_CONN_CFG_TAG_DEFAULT.

ble_gap_conn_cfg_t ble_conn_cfg_t::gap_conn_cfg

GAP connection configuration, cfg_id is BLE_CONN_CFG_GAP.

ble_gatt_conn_cfg_t ble_conn_cfg_t::gatt_conn_cfg

GATT connection configuration, cfg_id is BLE_CONN_CFG_GATT.

ble_gattc_conn_cfg_t ble_conn_cfg_t::gattc_conn_cfg

GATTC connection configuration, cfg_id is BLE_CONN_CFG_GATTC.

ble_gatts_conn_cfg_t ble_conn_cfg_t::gatts_conn_cfg

GATTS connection configuration, cfg_id is BLE_CONN_CFG_GATTS.

ble_l2cap_conn_cfg_t ble_conn_cfg_t::l2cap_conn_cfg

L2CAP connection configuration, cfg_id is BLE_CONN_CFG_L2CAP.

union { ... } ble_conn_cfg_t::params

Connection configuration union.


Documentation feedback | Developer Zone | Subscribe | Updated