• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

boards/03-Apr-2024-5630

src/03-Apr-2024-794585

CMakeLists.txtD03-Apr-2024275 128

Kconfig.sysbuildD03-Apr-2024506 1612

README.rstD03-Apr-20242.4 KiB8460

overlay-bt_ll_sw_split.confD03-Apr-2024333 116

prj.confD03-Apr-2024386 1712

sample.yamlD03-Apr-2024748 2726

sysbuild.cmakeD03-Apr-2024660 2518

README.rst

1.. _bluetooth_unicast_audio_server:
2
3Bluetooth: Unicast Audio Server
4###############################
5
6Overview
7********
8
9Application demonstrating the LE Audio unicast server functionality.
10Starts advertising and awaits connection from a LE Audio unicast client.
11
12This sample can be found under
13:zephyr_file:`samples/bluetooth/unicast_audio_server` in the Zephyr tree.
14
15Check the :ref:`bluetooth samples section <bluetooth-samples>` for general information.
16
17Requirements
18************
19
20* BlueZ running on the host, or
21* A board with Bluetooth Low Energy 5.2 support
22
23Building and Running
24********************
25
26When building targeting an nrf52 series board with the Zephyr Bluetooth Controller,
27use `-DOVERLAY_CONFIG=overlay-bt_ll_sw_split.conf` to enable the required ISO
28feature support.
29
30Building for an nrf52840dk
31--------------------------
32
33.. zephyr-app-commands::
34   :zephyr-app: samples/bluetooth/unicast_audio_server/
35   :board: nrf52840dk_nrf52840
36   :goals: build
37   :gen-args: -DOVERLAY_CONFIG=overlay-bt_ll_sw_split.conf
38
39Building for an nrf5340dk
40-------------------------
41
42You can build both the application core image and an appropriate controller image for the network
43core with:
44
45.. zephyr-app-commands::
46   :zephyr-app: samples/bluetooth/unicast_audio_server/
47   :board: nrf5340dk_nrf5340_cpuapp
48   :goals: build
49   :west-args: --sysbuild
50
51If you prefer to only build the application core image, you can do so by doing instead:
52
53.. zephyr-app-commands::
54   :zephyr-app: samples/bluetooth/unicast_audio_server/
55   :board: nrf5340dk_nrf5340_cpuapp
56   :goals: build
57
58In that case you can pair this application core image with the
59:ref:`hci_ipc sample <bluetooth-hci-ipc-sample>`
60:zephyr_file:`samples/bluetooth/hci_ipc/nrf5340_cpunet_iso-bt_ll_sw_split.conf` configuration.
61
62Building for a simulated nrf52_bsim
63-----------------------------------
64
65Similarly to how you would for real HW, you can do:
66
67.. zephyr-app-commands::
68   :zephyr-app: samples/bluetooth/unicast_audio_server/
69   :board: nrf52_bsim
70   :goals: build
71   :gen-args: -DOVERLAY_CONFIG=overlay-bt_ll_sw_split.conf
72
73Note this will produce a Linux executable in `./build/zephyr/zephyr.exe`.
74For more information, check :ref:`this board documentation <nrf52_bsim>`.
75
76Building for a simulated nrf5340bsim
77------------------------------------
78
79.. zephyr-app-commands::
80   :zephyr-app: samples/bluetooth/unicast_audio_server/
81   :board: nrf5340bsim_nrf5340_cpuapp
82   :goals: build
83   :west-args: --sysbuild
84