Connect several nrf5340 DK Audio together

Hi,

We have 3 nrf5340 Audio DKs we want to connect together. One of the devices is connected as central and the two others are connected as peripheal. By know, the two peripheal-devices can stream audio, one at the time, to the central. We want the central to decide which board it has an audio connection with. If we reset the active peripheal-device, the other one connect automatically. We use the v.2.1.1 version.

Our problems are:

  • How can we use the buttons on the board to advertise (to create a ACL-link)? We want the central to store the advertising device in to a list of the type bt_addr_le_t.
  • How can the central-device choose between the different devices on the list?
  • Is there any good solutions to start and stop the audio stream, or some specific functions we can use?

We have tried to make a code from scratch in addition to tested some of the samples. A code from scratch makes it hard to create all the neccisary functions and include the right tings, and the samples are sometimes too hard to understand, or does not satisfy our problems. We are happy to hear some of your recommendations. 

-Asbjorn

  • Ok. 

    I install the SDK at nrf Connect, but this gateway-demo is placed in a different folder named nordic_devzone. Is this a problem? Should I make some changes in the root folder?

    What is the difference/necessity of the nrf-folder?

    Asbjørn

  • Hi Asbjørn

    The top folder (the one containing the other subfolders like nrf, zephyr etc) can be named anything you like, but the nrf folder itself should not be renamed. 

    As an example this is how it looks for me:

    I created a new folder called D:\ncs\rick_dual_bis_demo, and then I ran the earlier mentioned west commands from within that folder to set up a new nRF Connect SDK instance based on Rick's changes. 

    The nrf repository/folder is the manifest repository, which means it contains the manifest file that west uses to download the right version of the various other repositories, including Zephyr. 
    It also contains most of the Nordic unique libraries and samples, such as the 5340 LE Audio application. 

    Are you still having issues getting the example to build? 
    If so I will check with Rick how much work it is to integrate his example with the standard v2.2.0 release of the nRF Connect SDK. 

    Best regards
    Torbjørn

Related