ble_gap_cfg_role_count_t

S112 SoftDevice v7.3.0 API

S112 SoftDevice v7.3.0

Configuration of maximum concurrent connections in the peripheral role, set with sd_ble_cfg_set . More...

#include <ble_gap.h>

Data Fields

uint8_t adv_set_count
uint8_t periph_role_count

Detailed Description

Configuration of maximum concurrent connections in the peripheral role, set with sd_ble_cfg_set .

Return values
NRF_ERROR_CONN_COUNT The periph_role_count is too large. The maximum supported sum of concurrent connections is BLE_GAP_ROLE_COUNT_COMBINED_MAX .
NRF_ERROR_RESOURCES The 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::periph_role_count

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