This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

What is the maximum values for Central and Pehripheral link counts in Dual Mode

Hi, 

I've been trying to figure out how to configure a nRF52832 device using SDK 15.2 and S132 to act as both a central and peripheral device for a relay device. In looking at the sdk_config.h, it looks like it has the ability to set the maximum link counts for peripheral and central links to more than one for both (up to 20). Can we have multiple peripherals connected to a relay board i.e. device in central mode and multiple central mode devices i.e. phones/tablets connected to this relay acting as a peripheral mode? In other words the relay device connected to many peripherals and many central devices simultaneously. 

// <o> NRF_SDH_BLE_PERIPHERAL_LINK_COUNT - Maximum number of peripheral links. 
#ifndef NRF_SDH_BLE_PERIPHERAL_LINK_COUNT
#define NRF_SDH_BLE_PERIPHERAL_LINK_COUNT 0
#endif

// <o> NRF_SDH_BLE_CENTRAL_LINK_COUNT - Maximum number of central links. 
#ifndef NRF_SDH_BLE_CENTRAL_LINK_COUNT
#define NRF_SDH_BLE_CENTRAL_LINK_COUNT 1
#endif

// <o> NRF_SDH_BLE_TOTAL_LINK_COUNT - Total link count. 
// <i> Maximum number of total concurrent connections using the default configuration.

#ifndef NRF_SDH_BLE_TOTAL_LINK_COUNT
#define NRF_SDH_BLE_TOTAL_LINK_COUNT 1
#endif

Thanks!

Related