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

Multi central connect to multi peripheral example

Hi all , I using module NRF52832 and SDKv14 . I have 2 board central and 2 board peripheral . I want to connect each board central to all board peripheral and connect each board peripheral to all board central . Pls give me advice . Thank very much .

Parents Reply
  • What you are experiencing is most likely due to this note in the documentation of the ble_multiperipheral example:

    Note that you can also use the BLE Multi-link Example as Central. However, the multi-link example accepts all peripheral connections, so the Peripheral will connect four times to the same Central. As a result, you will see four indications for each event.

    You will have to modify the multi-link cental example to check if the address found in the advertising packet is the same as the one of an already connected device. I have attached a modified version of the multi-link central example from SDK 14 that should support connection to multiple examples running the multiperipheral example, in my above answer.

Children
No Data
Related