ble_gap_cfg_role_count_t

S122 SoftDevice v8.1.1 API

S122 SoftDevice v8.1.1

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

#include <ble_gap.h>

Detailed Description

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

Return values
NRF_ERROR_CONN_COUNT The central_role_count is too large. The maximum supported number of concurrent connections is BLE_GAP_ROLE_COUNT_COMBINED_MAX for all connected roles combined.
NRF_ERROR_INVALID_PARAM central_sec_count is larger than central_role_count.

Field Documentation

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::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_start .