Part 1
요약·해설
Zephyr 3.7.0의 구현 범위와 shell 예제 3개를 보존했습니다.
Scan Delegator
Receive state
Optional
3
Part 2
접을 수 있는 영어 원문 전체
영어 원문 전체 펼치기
1A1B0050F7C8B431C83747015F2BFBC80698021552A6C37DAA976F8C30973B90
Bluetooth: Broadcast Audio Profile Scan Delegator
#################################################
This document describes how to run the Scan Delegator functionality, Note that
in the examples below, some lines of debug have been
removed to make this shorter and provide a better overview.
The Scan Delegator may optionally support the periodic advertisements
synchronization transfer (PAST) protocol.
The Scan Delegator server typically resides on devices that have inputs or
outputs.
It is necessary to have
:kconfig:option:`CONFIG_BT_BAP_SCAN_DELEGATOR_LOG_LEVEL_DBG` enabled for using
the Scan Delegator interactively.
The Scan Delegator can currently only set the sync state of a receive state, but
does not actually support syncing with periodic advertisements yet.
.. code-block:: console
bap_scan_delegator --help
bap_scan_delegator - Bluetooth BAP Scan Delegator shell commands
Subcommands:
init :Initialize the service and register callbacks
synced :Set server scan state <src_id> <pa_synced> <bis_syncs> <enc_state>
Example Usage
*************
Setup
=====
.. code-block:: console
uart:~$ bt init
uart:~$ bt advertise on
Advertising started
When connected
==============
Set sync state for a source:
.. code-block:: console
uart:~$ bap_scan_delegator synced 0 1 3 0
Part 3
한국어 전문 번역
BAP Scan Delegator
Scan Delegator는 선택적으로 PAST protocol을 지원하며 보통 audio input 또는 output이 있는 device에 server로 존재합니다. 예제는 개요를 명확히 하기 위해 일부 debug line을 생략했습니다.
Interactive 사용에는 CONFIG_BT_BAP_SCAN_DELEGATOR_LOG_LEVEL_DBG가 필요합니다. Zephyr 3.7.0 구현은 receive state의 sync state만 설정할 수 있고 실제 periodic advertising sync는 아직 지원하지 않습니다.
bap_scan_delegator --help
bap_scan_delegator - Bluetooth BAP Scan Delegator shell commands
Subcommands:
init :Initialize the service and register callbacks
synced :Set server scan state <src_id> <pa_synced> <bis_syncs> <enc_state>사용 예제
초기화와 advertising
uart:~$ bt init
uart:~$ bt advertise on
Advertising started연결 후 source sync state 설정
Source ID 0의 PA synchronized flag를 1, BIS sync bitmask를 3, encryption state를 0으로 설정합니다.
uart:~$ bap_scan_delegator synced 0 1 3 0
Source
출처
영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.