This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

s130 sdk 11 Multi-link with centrals devices

Hi community,

I'm studying the possibility to be able to link multiple central devices to one peripheral. As it defined in the s130 soft device description (www.nordicsemi.com/.../S130-SoftDevice), concurrent multi-link operation for all roles is available.

I'm trying to realize this features without succeed. I'm using the PCA20006 beacon board (nrf51822), SDK 11 (proximity example) and s130 v2.0 soft device.

This is my question, how can I manage to be able to restart advertising after the first connection from a peripheral ?

After the PM_EVT_BONDED_PEER_CONNECTED event, it seems not...?

Do you have some clue, or better example to be able to do what I want?

Thanks in advance

  • With the S130 v2.0 you can have 1 peripheral role connection at any one time, while you can have up to 8 (7 if you already have a peripheral role connection) central role connections.

  • Hi run_ar,

    Thanks for your answer.

    I already know that, I'm wondering how I can restart the advertising with the application example proximity to be able to be detected by another central device. I change inside the device_manager_cnfg.h file the value of DEVICE_MANAGER_MAX_CONNECTIONS (set to 2). But anyway, when the first central device is connected, the advertising is stopped and no other central can detect my peripheral device.

    What changes has to be done in the code of the main.c file to be able to restart advertising after the first connection.

    Thanks in advance.

  • Connectable advertising is supposed to be stopped as soon as a central connects to your peripheral. Since you have only one peripheral role link, you need to disconnect and start advertising for a new connection if you want another central to connect.

  • If I want to get 2 peripheral role link and no central role, I have to change only PERIPHERAL_LINK_COUNT to 2? If I made that, I faced a compilation error regarding APP_RAM_BASE_CENTRAL_LINKS_0_PERIPH_LINKS_2_SEC_COUNT_0_MID_BW which not exists in ram_app_base.h If a create this new pre-processor value this will be enough to be able to get 2 centrals connected at the same time?

    I'm figuring out, if it's really possible to have 2 central devices connected to my peripheral at the same time?

  • As stated in my original answer. Having a Peripheral Link count of 2 is not supported.

Related