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 | |
| } | 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
Field Documentation
| uint8_t ble_conn_cfg_t::conn_cfg_tag |
The application chosen tag it can use with the @ref sd_ble_gap_adv_start() and @ref 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 this 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 this connection configuration, cfg_id is BLE_CONN_CFG_GATTS .
| union { ... } ble_conn_cfg_t::params |
Connection configuration union.