Auracast example

I am using NCS v2.8.0.

After successfully running the headset example with one gateway, one left channel receiver and one right channel receiver am trying to get the Auracast example working, so I can connect three receivers to the gateway.

I added CONFIG_TRANSPORT_BIS=Y to prj.cfg, but after compiling and programming the system functionality did not change to Auracast. Do I need to change something to nrf5340_audio_dk_devices.json as well? The current one see below. I also did not find any references to CONFIG_TRANSPORT_BIS in the source code of v2.8.0. Do I miss something?

[
{
"nrf5340_audio_dk_snr": 1050111739,
"nrf5340_audio_dk_dev": "headset",
"channel": "left"
},
{
"nrf5340_audio_dk_snr": 1050156869,
"nrf5340_audio_dk_dev": "gateway",
"channel": "NA"
},
{
"nrf5340_audio_dk_snr": 1050128347,
"nrf5340_audio_dk_dev": "headset",
"channel": "right"
}
]

  • Hi, 

    Try to delete the build folder and build again. You can check the .config file under build/nrf5340_audio/zephyr to see whether the CONFIG_TRANSPORT_BIS=Y takes effect or not.

    Regards,
    Amanda H. 

  • Hi Amanda,

    Thanks for your reply.

    I deleted the build folder and after rebuild the .config indeed shows CONFIG_TRANSPORT_BIS=Y. I am not sure how to verify that Auracast is active now. Is it possible to change the reception on the headsets/receivers to stereo? Can I just add an extra headset/receiver to nrf5340_audio_dk_devices.json?

  • JeroenT said:
    I am not sure how to verify that Auracast is active now.

    You can refer to the test section of the Broadcast sink (BIS /headset) and Broadcast source (BIS /gateway).

    JeroenT said:
    Is it possible to change the reception on the headsets/receivers to stereo?

    Check out the branch in this post

    JeroenT said:
    Can I just add an extra headset/receiver to nrf5340_audio_dk_devices.json?

    Yes.

  • Hi. I am trying to get stereo example working, but I get a build error. With the original v2.8.0\nrf directory it just works. I hope you could help me to correct my way of building it. I take these steps:

    - Open cmd prompt

    - Type: cd ncs\v2.8.0

    - Type: git clone https://github.com/rick1082/sdk-nrf

    - Type: cd sdk-nrf

    - Type: git checkout stereo_bis_receiver_pre270

    - Type: cd applications\nrf5340_audio\tools\buildprog

    - Type: buildprog.py -c both -b debug -d both

    +------------+----------+---------+--------------+---------------------+---------------------+
    | snr | snr conn | device | only reboot | core app programmed | core net programmed |
    +------------+----------+---------+--------------+---------------------+---------------------+
    | 1050121107 | ←[33mFalse←[0m | headset | Not selected | Selected | Selected |
    | 1050197742 | ←[33mFalse←[0m | gateway | Not selected | Selected | Selected |
    | 1000 | ←[33mFalse←[0m | headset | Not selected | Selected | Selected |
    +------------+----------+---------+--------------+---------------------+---------------------+
    Invoking build step
    Net core uses precompiled hex or child image
    Run: west build C:\ncs\v2.8.0\sdk-nrf\applications\nrf5340_audio -b nrf5340_audio_dk/nrf5340/cpuapp --sysbuild -d C:\ncs\v2.8.0\sdk-nrf\applications\nrf5340_audio\build\dev_headset\build_debug
    ninja: error: loading 'build.ninja': The system cannot find the file specified.

    FATAL ERROR: command exited with status 1: 'C:\Program Files\CMake\bin\cmake.EXE' --build 'C:\ncs\v2.8.0\sdk-nrf\applications\nrf5340_audio\build\dev_headset\build_debug'

  • How do you install the NCS? I would suggest to Installate with Toolchain Manager, and then open the command prompt for NCS v2.8.0  to build. 

Related