S140 SoftDevice v6.1.0
Data Fields
ble_gap_cfg_role_count_t Struct Reference

Configuration of maximum concurrent connections in the different connected roles, set with sd_ble_cfg_set. More...

#include <ble_gap.h>

Data Fields

uint8_t adv_set_count
 
uint8_t periph_role_count
 
uint8_t central_role_count
 
uint8_t central_sec_count
 
uint8_t qos_channel_survey_role_available:1
 

Detailed Description

Configuration of maximum concurrent connections in the different connected roles, set with sd_ble_cfg_set.

Return values
NRF_ERROR_CONN_COUNTThe sum of periph_role_count and central_role_count is too large. The maximum supported sum of concurrent connections is BLE_GAP_ROLE_COUNT_COMBINED_MAX.
NRF_ERROR_INVALID_PARAMcentral_sec_count is larger than central_role_count.
NRF_ERROR_RESOURCESThe adv_set_count is too large. The maximum supported advertising handles is BLE_GAP_ADV_SET_COUNT_MAX.

Field Documentation

uint8_t ble_gap_cfg_role_count_t::adv_set_count

Maximum number of advertising sets. Default value is BLE_GAP_ADV_SET_COUNT_DEFAULT.

uint8_t ble_gap_cfg_role_count_t::central_role_count

Maximum number of connections concurrently acting as a central. Default value is BLE_GAP_ROLE_COUNT_CENTRAL_DEFAULT.

uint8_t ble_gap_cfg_role_count_t::central_sec_count

Number of SMP instances shared between all connections acting as a central. Default value is BLE_GAP_ROLE_COUNT_CENTRAL_SEC_DEFAULT.

uint8_t ble_gap_cfg_role_count_t::periph_role_count

Maximum number of connections concurrently acting as a peripheral. Default value is BLE_GAP_ROLE_COUNT_PERIPH_DEFAULT.

uint8_t ble_gap_cfg_role_count_t::qos_channel_survey_role_available

If set, the Quality of Service (QoS) channel survey module is available to the application using sd_ble_gap_qos_channel_survey_start.


Documentation feedback | Developer Zone | Subscribe | Updated