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 | periph_role_count |
| uint8_t | central_role_count |
| uint8_t | central_sec_count |
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 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_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::periph_role_count |
Maximum number of connections concurrently acting as a peripheral. Default value is BLE_GAP_ROLE_COUNT_PERIPH_DEFAULT .