Hello!
When looking at the central example ble_app_multilink_central in sdk_config.h, I found out that all links are considered central, with NRF_SDH_BLE_PERIPHERAL_LINK_COUNT=0. (On the contrary, in ble_app_multiperipheral, there are no central link, NRF_SDH_BLE_CENTRAL_LINK_COUNT=0)
Yet to my understanding, I would expect to find NRF_SDH_BLE_CENTRAL_LINK_COUNT=1 (the ble_app_multilink_central) and NRF_SDH_BLE_PERIPHERAL_LINK_COUNT=N (the N peripherals running ble_app_blinky), and using functions like ble_conn_state_peripheral_conn_count() instead of ble_conn_state_central_conn_count(). So my question would be why isn't it the case? And is there any advantage/disadvantage to consider every node as central like this?
I also tried changing the code to allocate "NRF_SDH_BLE_PERIPHERAL_LINK_COUNT" services instead of CENTRAL, and changing the defines in sdk_config.h to only accept 1 central and several peripherals, yet when the second device tries to connect, the code crashes as it seems to try to connect as a central while still being expected to work like a peripheral...
I know some questions have already been asked about PERIPHERAL/CENTRAL_LINK_COUNT, but I didn't find much about this, so I thought I'd ask!
Thank you and have a nice day!