Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
boards/ | 03-Apr-2024 | - | 59 | 30 | ||
src/ | 03-Apr-2024 | - | 1,161 | 880 | ||
CMakeLists.txt | D | 03-Apr-2024 | 275 | 12 | 8 | |
Kconfig.sysbuild | D | 03-Apr-2024 | 506 | 16 | 12 | |
README.rst | D | 03-Apr-2024 | 2.4 KiB | 84 | 60 | |
overlay-bt_ll_sw_split.conf | D | 03-Apr-2024 | 378 | 12 | 8 | |
prj.conf | D | 03-Apr-2024 | 376 | 15 | 12 | |
sample.yaml | D | 03-Apr-2024 | 748 | 27 | 26 | |
sysbuild.cmake | D | 03-Apr-2024 | 660 | 25 | 18 |
README.rst
1.. _bluetooth_unicast_audio_client: 2 3Bluetooth: Unicast Audio Client 4############################### 5 6Overview 7******** 8 9Application demonstrating the LE Audio unicast client functionality. Scans for and 10connects to a LE Audio unicast server and establishes an audio stream. 11 12This sample can be found under 13:zephyr_file:`samples/bluetooth/unicast_audio_client` 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_client/ 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_client/ 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_client/ 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_client/ 81 :board: nrf5340bsim_nrf5340_cpuapp 82 :goals: build 83 :west-args: --sysbuild 84