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

Zephyr 3.7.0 · Bluetooth · LE Audio BAP

Bluetooth Broadcast Audio Assistant

Broadcast Sink와 Source를 차례로 찾아 sink가 수신할 broadcast ID를 관리합니다.

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

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

Part 1

요약·해설

PACS·BASS UUID 검색, sink/source 이름 filter와 nRF52840 DK build를 설명합니다.

Role

Broadcast Assistant

Target

BAP Scan Delegator

Service

BASS · PACS

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 CDAAB04EA905ADA860E7B4EA5CAE960AEE12D676204599AD8C9634D2FDC9C357
.. zephyr:code-sample:: bluetooth_bap_broadcast_assistant
   :name: Bluetooth: Broadcast Audio Assistant
   :relevant-api: bt_bap

   Use LE Audio Broadcast Assistant functionality

Overview
********

Application demonstrating the LE Audio broadcast assistant functionality.

The sample will automatically try to connect to a device in the BAP Scan Delegator
role (advertising support for the Broadcast Audio Scan Service (BASS)).
It will then search for a broadcast source and (if found) add the broadcast ID to
the BAP Scan Delegator.

Practical use of this sample requires a sink (e.g. the Broadcast Audio Sink sample or
a set of LE Audio Broadcast capable earbuds) and a source (e.g. the Broadcast Audio
Source sample).

This sample can be found under
:zephyr_file:`samples/bluetooth/bap_broadcast_assistant` 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
* Broadcast Audio Source and Sink devices

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

The application will act as a broadcast assistant with optionally preconfigured
filtering of broadcast sink and broadcast source names. By default, the application will
search for and connect to the first broadcast audio sink found (advertising PACS and
BASS UUIDs) and then search for and select the first broadcast audio source found
(advertising a broadcast ID).

Filter these by modifying the following configs:

``CONFIG_SELECT_SINK_NAME``: Substring of BT name of the sink.

and

``CONFIG_SELECT_SOURCE_NAME``: Substring of BT name or broadcast name of the source.

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

.. zephyr-app-commands::
   :zephyr-app: samples/bluetooth/bap_broadcast_assistant/
   :board: nrf52840dk/nrf52840
   :goals: build

Part 3

한국어 전문 번역

개요

LE Audio Broadcast Assistant 기능을 보여주는 application입니다.

Sample은 BAP Scan Delegator 역할로 동작하며 Broadcast Audio Scan Service(BASS) 지원을 advertising하는 device에 자동으로 연결을 시도합니다. 그런 다음 broadcast source를 검색하고, source를 찾으면 해당 broadcast ID를 BAP Scan Delegator에 추가합니다.

실제로 사용하려면 sink가 필요합니다. 예를 들면 Broadcast Audio Sink sample이나 LE Audio Broadcast를 지원하는 earbud가 해당합니다. 이와 함께 Broadcast Audio Source sample 같은 source도 필요합니다.

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

요구사항

  • Host에서 실행되는 BlueZ 또는
  • Bluetooth Low Energy 5.2를 지원하는 board
  • Broadcast Audio Source와 Sink device

Build와 실행

Application은 broadcast assistant로 동작하며, broadcast sink와 source 이름에 미리 설정한 filter를 선택적으로 적용할 수 있습니다. 기본 설정에서는 PACS와 BASS UUID를 advertising하는 첫 번째 broadcast audio sink를 찾아 연결한 뒤, broadcast ID를 advertising하는 첫 번째 broadcast audio source를 찾아 선택합니다.

다음 configuration으로 검색 대상을 제한할 수 있습니다.

CONFIG_SELECT_SINK_NAME
Sink의 Bluetooth 이름에 포함될 substring입니다.
CONFIG_SELECT_SOURCE_NAME
Source의 Bluetooth 이름 또는 broadcast 이름에 포함될 substring입니다.

nrf52840dk용 build

west build -b nrf52840dk/nrf52840 samples/bluetooth/bap_broadcast_assistant/

Source

출처

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