Report
6 months ago.

Multilink on Mbed for NRF52-DK

Hi!

Do you know if the SoftDevice 132 stack supports multiple connections from peripherals to a central device? If it is, there is any example?

Thank you.

Comment on this question

1 Answer

6 months ago.

Hi Javier,

According to documentation of S132, it is able to maintain 20 concurrent connections,

http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.softdevices52%2Fdita%2Fsoftdevices%2Fs130%2Fs130.html

Quote:

Concurrent central, observer, peripheral, and broadcaster roles with up to 20 concurrent connections along with one Observer and one Broadcaster

In Mbed OS, default link count configuration is set in

mbed-os\features\FEATURE_BLE\targets\TARGET_NORDIC\TARGET_NORDIC_SOFTDEVICE\mbed_lib.json

You can modify it according to your use case.

Try to use our BLE_HeartRate example on GitHub

https://github.com/ARMmbed/mbed-os-example-ble/tree/master/BLE_HeartRate

Although it shows one connection in default, you can start advertising again after connection established, that would make the device able to be connected by second GAP central.

Desmond, team Mbed


You need to log in to post a question