dragoon  4383
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
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 sd_ble_gap_adv_start() and sd_ble_gap_connect()"
Relevant Message Sequence Charts
Connection Configuration

Definition at line 314 of file ble.h.

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.

Definition at line 316 of file ble.h.

ble_gap_conn_cfg_t ble_conn_cfg_t::gap_conn_cfg

GAP connection configuration, cfg_id is BLE_CONN_CFG_GAP.

Definition at line 320 of file ble.h.

ble_gatt_conn_cfg_t ble_conn_cfg_t::gatt_conn_cfg

GATT connection configuration, cfg_id is BLE_CONN_CFG_GATT.

Definition at line 323 of file ble.h.

ble_gattc_conn_cfg_t ble_conn_cfg_t::gattc_conn_cfg

GATTC connection configuration, cfg_id is BLE_CONN_CFG_GATTC.

Definition at line 321 of file ble.h.

ble_gatts_conn_cfg_t ble_conn_cfg_t::gatts_conn_cfg

GATTS connection configuration, cfg_id is BLE_CONN_CFG_GATTS.

Definition at line 322 of file ble.h.

ble_l2cap_conn_cfg_t ble_conn_cfg_t::l2cap_conn_cfg

L2CAP connection configuration, cfg_id is BLE_CONN_CFG_L2CAP.

Definition at line 324 of file ble.h.

union { ... } ble_conn_cfg_t::params

Connection configuration union.


The documentation for this struct was generated from the following file: