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

Zephyr/nRF Connect SDK one peripheral with multiple central

Hello, I started learning BLE/nrf about a week ago and I faced an issue that I unable to handle more than one connection simultaneously.

I have a pretty simple application build with nRF Connect SDK that provide peripheral device on my nrf5340-pdk with one service, build on top of "nRF Connect SDK Tutorial | NCS v1.4.0". And if I have one device(phone) connected to PDK then I couldn't connect from another phone until first will be disconnected.

I have tried to change CONFIG_BT_MAX_CONN and some other parameters, but it doesn't help. Also, I have found the example 'peripheral_bms' should support up to 2 devices, but I can not connect from two devices even with this example.

Could you please give me directions on how to deal with multiple connections in one peripheral device? Maybe I have missed some sample, that implements it, available in Zephyr or nRF Connect SDK.

Parents Reply Children
Related