samples/bluetooth/bap_unicast_client/README.html · samples/bluetooth/bap_unicast_client/README.rst 공식 원문 ↗

Zephyr 3.7.0 · Bluetooth · LE Audio BAP

Bluetooth Unicast Audio Client

nRF52와 nRF5340에서 ISO 지원 controller와 함께 LE Audio client를 실행합니다.

Official pathsamples/bluetooth/bap_unicast_client/README.html
Source filesamples/bluetooth/bap_unicast_client/README.rst
Source versionZephyr 3.7.0
TranslationFull · reviewed

본문 기준: Zephyr 3.7.0 LTS3 · 이후 유지보수 패치는 별도입니다.

Part 1

요약·해설

네 target build 방식과 공식 application-core 명령의 sample path 불일치를 함께 설명합니다.

Role

Unicast Client

Peer

Unicast Server

Result

Audio stream

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 B7CEC40324F95A29BFFED5D661DF48798D9080698BED48F0A2008827F409FDE8
.. _bluetooth_bap_unicast_client:

Bluetooth: Unicast Audio Client
###############################

Overview
********

Application demonstrating the LE Audio unicast client functionality. Scans for and
connects to a LE Audio unicast server and establishes an audio stream.

This sample can be found under
:zephyr_file:`samples/bluetooth/bap_unicast_client` in the Zephyr tree.

Check the :ref:`bluetooth samples section <bluetooth-samples>` for general information.

Requirements
************

* BlueZ running on the host, or
* A board with Bluetooth Low Energy 5.2 support

Building and Running
********************

When building targeting an nrf52 series board with the Zephyr Bluetooth Controller,
use `-DOVERLAY_CONFIG=overlay-bt_ll_sw_split.conf` to enable the required ISO
feature support.

Building for an nrf52840dk
--------------------------

.. zephyr-app-commands::
   :zephyr-app: samples/bluetooth/bap_unicast_client/
   :board: nrf52840dk/nrf52840
   :goals: build
   :gen-args: -DOVERLAY_CONFIG=overlay-bt_ll_sw_split.conf

Building for an nrf5340dk
-------------------------

You can build both the application core image and an appropriate controller image for the network
core with:

.. zephyr-app-commands::
   :zephyr-app: samples/bluetooth/bap_unicast_client/
   :board: nrf5340dk/nrf5340/cpuapp
   :goals: build
   :west-args: --sysbuild

If you prefer to only build the application core image, you can do so by doing instead:

.. zephyr-app-commands::
   :zephyr-app: samples/bluetooth/bap_unicast_server/
   :board: nrf5340dk/nrf5340/cpuapp
   :goals: build

In that case you can pair this application core image with the
:ref:`hci_ipc sample <bluetooth-hci-ipc-sample>`
:zephyr_file:`samples/bluetooth/hci_ipc/nrf5340_cpunet_iso-bt_ll_sw_split.conf` configuration.

Building for a simulated nrf52_bsim
-----------------------------------

Similarly to how you would for real HW, you can do:

.. zephyr-app-commands::
   :zephyr-app: samples/bluetooth/bap_unicast_client/
   :board: nrf52_bsim
   :goals: build
   :gen-args: -DOVERLAY_CONFIG=overlay-bt_ll_sw_split.conf

Note this will produce a Linux executable in `./build/zephyr/zephyr.exe`.
For more information, check :ref:`this board documentation <nrf52_bsim>`.

Building for a simulated nrf5340bsim
------------------------------------

.. zephyr-app-commands::
   :zephyr-app: samples/bluetooth/bap_unicast_client/
   :board: nrf5340bsim/nrf5340/cpuapp
   :goals: build
   :west-args: --sysbuild

Part 3

한국어 전문 번역

개요

LE Audio Unicast Client 기능을 보여주는 application입니다. LE Audio Unicast Server를 검색해 연결하고 audio stream을 설정합니다.

Zephyr tree의 samples/bluetooth/bap_unicast_client에서 이 sample을 찾을 수 있습니다. 공통 사항은 Bluetooth sample section을 참조하십시오.

요구사항

  • Host에서 실행되는 BlueZ 또는
  • Bluetooth Low Energy 5.2를 지원하는 board

Build와 실행

Zephyr Bluetooth Controller를 사용하는 nRF52 series board용으로 build할 때는 필요한 ISO 기능을 활성화하도록 -DOVERLAY_CONFIG=overlay-bt_ll_sw_split.conf를 사용합니다.

nrf52840dk용 build

west build -b nrf52840dk/nrf52840 samples/bluetooth/bap_unicast_client/ -- -DOVERLAY_CONFIG=overlay-bt_ll_sw_split.conf

nrf5340dk용 build

Application core image와 network core에 맞는 controller image를 함께 build하려면 다음과 같이 sysbuild를 사용합니다.

west build -b nrf5340dk/nrf5340/cpuapp --sysbuild samples/bluetooth/bap_unicast_client/

Application core image만 build하는 공식 문서의 명령은 다음과 같습니다.

west build -b nrf5340dk/nrf5340/cpuapp samples/bluetooth/bap_unicast_server/

위 명령은 Unicast Client 문서 안에 있지만 sample path가 bap_unicast_client가 아니라 bap_unicast_server를 가리킵니다. 공식 명령을 보존했으므로 실제 client image를 build할 때 이 경로를 확인해야 합니다.

Application core image는 samples/bluetooth/hci_ipc/nrf5340_cpunet_iso-bt_ll_sw_split.conf configuration을 사용하는 HCI IPC sample과 함께 사용할 수 있습니다.

가상 nrf52_bsim용 build

실제 hardware와 비슷하게 다음 명령을 사용합니다.

west build -b nrf52_bsim samples/bluetooth/bap_unicast_client/ -- -DOVERLAY_CONFIG=overlay-bt_ll_sw_split.conf

이 build는 ./build/zephyr/zephyr.exe에 Linux executable을 만듭니다. 자세한 내용은 nrf52_bsim board 문서를 참조하십시오.

가상 nrf5340bsim용 build

west build -b nrf5340bsim/nrf5340/cpuapp --sysbuild samples/bluetooth/bap_unicast_client/

Source

출처

영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.