Part 1
요약·해설
nRF5340 sysbuild·application-only와 nRF5340/nRF52 simulation build를 설명합니다.
Public Broadcast Sink
First high-quality source
LE PBP
Part 2
접을 수 있는 영어 원문 전체
영어 원문 전체 펼치기
5D5B55D775BE8DF3624CCD89BFA48D81791FD25E6E4975D65816472DB115F2E1
.. zephyr:code-sample:: bluetooth_public_broadcast_sink
:name: Bluetooth: Public Broadcast Sink
:relevant-api: bluetooth
Bluetooth: Public Broadcast Sink
Overview
********
Application demonstrating the LE Public Broadcast Profile sink functionality.
Starts by scanning for LE Audio broadcast sources and then synchronizes to
the first found source which defines a Public Broadcast Announcement including
a High Quality Public Broadcast Audio Stream configuration.
This sample can be found under
:zephyr_file:`samples/bluetooth/pbp_public_broadcast_sink` 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 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/pbp_public_broadcast_sink/
: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/pbp_public_broadcast_sink/
: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 nrf5340bsim
------------------------------------
Similarly to how you would for real HW, you can do:
.. zephyr-app-commands::
:zephyr-app: samples/bluetooth/pbp_public_broadcast_sink/
:board: nrf5340bsim/nrf5340/cpuapp
:goals: build
:west-args: --sysbuild
Note this will produce a Linux executable in `./build/zephyr/zephyr.exe`.
For more information, check :ref:`this board documentation <nrf5340bsim>`.
Building for a simulated nrf52_bsim
-----------------------------------
.. zephyr-app-commands::
:zephyr-app: samples/bluetooth/pbp_public_broadcast_sink/
:board: nrf52_bsim
:goals: build
:gen-args: -DOVERLAY_CONFIG=overlay-bt_ll_sw_split.conf
Part 3
한국어 전문 번역
개요
LE Public Broadcast Profile Sink 기능을 보여주는 application입니다. LE Audio broadcast source를 scan한 뒤, Public Broadcast Announcement와 High Quality Public Broadcast Audio Stream configuration을 정의한 첫 번째 source에 동기화합니다.
이 sample은 Zephyr tree의 samples/bluetooth/pbp_public_broadcast_sink에 있습니다. 일반 정보는 Bluetooth sample section을 참조하십시오.
요구사항
- Host에서 실행되는 BlueZ 또는
- Bluetooth Low Energy 5.2를 지원하는 board
Build와 실행
Zephyr Bluetooth Controller를 사용하는 nRF52 계열 board를 대상으로 build할 때는 필요한 ISO 기능을 켜기 위해 -DOVERLAY_CONFIG=overlay-bt_ll_sw_split.conf를 사용합니다.
nrf5340dk용 build
Application core image와 network core에 맞는 Controller image를 함께 build하려면 다음 명령을 사용합니다.
# From the root of the zephyr repository
west build -b nrf5340dk/nrf5340/cpuapp --sysbuild samples/bluetooth/pbp_public_broadcast_sink/
Application core image만 build하려면 다음 명령을 사용합니다.
# From the root of the zephyr repository
west build -b nrf5340dk/nrf5340/cpuapp samples/bluetooth/pbp_public_broadcast_sink/
Application core만 build한 경우 HCI IPC sample의 samples/bluetooth/hci_ipc/nrf5340_cpunet_iso-bt_ll_sw_split.conf configuration으로 만든 network-core image와 조합할 수 있습니다.
가상 nrf5340bsim용 build
실제 hardware와 비슷하게 다음 명령을 사용합니다.
# From the root of the zephyr repository
west build -b nrf5340bsim/nrf5340/cpuapp --sysbuild samples/bluetooth/pbp_public_broadcast_sink/
이 build는 ./build/zephyr/zephyr.exe에 Linux executable을 생성합니다. 자세한 내용은 nrf5340bsim board 문서를 참조하십시오.
가상 nrf52_bsim용 build
# From the root of the zephyr repository
west build -b nrf52_bsim samples/bluetooth/pbp_public_broadcast_sink/ -- -DOVERLAY_CONFIG=overlay-bt_ll_sw_split.conf
Source
출처
영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.