From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH BlueZ v1 06/12] client: rename media endpoint scripts to include the codec
Date: Wed, 9 Sep 2026 15:23:02 -0400 [thread overview]
Message-ID: <20260909192308.1306567-7-luiz.dentz@gmail.com> (raw)
In-Reply-To: <20260909192308.1306567-1-luiz.dentz@gmail.com>
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Name the scripts registering a media endpoint
<profile>-<role>-<codec>[-<preset>].bt, so it is clear what they set
up without having to read them.
Assisted-by: opencode:claude-opus-5
---
client/scripts/{a2dp-sink.bt => a2dp-sink-sbc.bt} | 0
client/scripts/{a2dp-source.bt => a2dp-source-sbc.bt} | 0
doc/functional-a2dp.rst | 6 +++---
test/functional/test_a2dp.py | 4 ++--
4 files changed, 5 insertions(+), 5 deletions(-)
rename client/scripts/{a2dp-sink.bt => a2dp-sink-sbc.bt} (100%)
rename client/scripts/{a2dp-source.bt => a2dp-source-sbc.bt} (100%)
diff --git a/client/scripts/a2dp-sink.bt b/client/scripts/a2dp-sink-sbc.bt
similarity index 100%
rename from client/scripts/a2dp-sink.bt
rename to client/scripts/a2dp-sink-sbc.bt
diff --git a/client/scripts/a2dp-source.bt b/client/scripts/a2dp-source-sbc.bt
similarity index 100%
rename from client/scripts/a2dp-source.bt
rename to client/scripts/a2dp-source-sbc.bt
diff --git a/doc/functional-a2dp.rst b/doc/functional-a2dp.rst
index 779bcdcc0ff8..03b18a7201c2 100644
--- a/doc/functional-a2dp.rst
+++ b/doc/functional-a2dp.rst
@@ -20,7 +20,7 @@ Two hosts, connected over BR/EDR:
| host0 | BR/EDR | host1 |
| central | --------------> | peripheral |
| bluetoothctl | | bluetoothctl |
- | a2dp-source.bt | AVDTP (SBC) | a2dp-sink.bt |
+ | a2dp-source-sbc.bt | AVDTP (SBC) | a2dp-sink-sbc.bt |
| A2DP Source endpoint | ==============> | A2DP Sink endpoint |
+------------------------+ +------------------------+
@@ -28,12 +28,12 @@ Two hosts, connected over BR/EDR:
Both hosts start `bluetoothctl` with an endpoint registration script:
-``client/scripts/a2dp-source.bt`` on host0
+``client/scripts/a2dp-source-sbc.bt`` on host0
Registers a local A2DP Source endpoint
(``0000110a-0000-1000-8000-00805f9b34fb``) with SBC. host0 is the
central, i.e. the device sending audio.
-``client/scripts/a2dp-sink.bt`` on host1
+``client/scripts/a2dp-sink-sbc.bt`` on host1
Registers a local A2DP Sink endpoint
(``0000110b-0000-1000-8000-00805f9b34fb``) with SBC. host1 is the
peripheral, i.e. the device receiving audio.
diff --git a/test/functional/test_a2dp.py b/test/functional/test_a2dp.py
index f176e4296439..1ab712cd0da1 100644
--- a/test/functional/test_a2dp.py
+++ b/test/functional/test_a2dp.py
@@ -93,8 +93,8 @@ def a2dp_hosts(hosts):
"""
host0, host1 = hosts
- source = start_bluetoothctl(host0, "a2dp-source.bt")
- sink = start_bluetoothctl(host1, "a2dp-sink.bt")
+ source = start_bluetoothctl(host0, "a2dp-source-sbc.bt")
+ sink = start_bluetoothctl(host1, "a2dp-sink-sbc.bt")
pair(host0, source, host1, sink)
--
2.55.0
next prev parent reply other threads:[~2026-09-09 19:23 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-09 19:22 [PATCH BlueZ v1 00/12] Add functional tests for A2DP and BAP Luiz Augusto von Dentz
2026-09-09 19:22 ` [PATCH BlueZ v1 01/12] build: add doc/test-functional.rst to EXTRA_DIST Luiz Augusto von Dentz
2026-09-10 18:28 ` Add functional tests for A2DP and BAP bluez.test.bot
2026-09-09 19:22 ` [PATCH BlueZ v1 02/12] doc: describe the functional test cases Luiz Augusto von Dentz
2026-09-09 19:22 ` [PATCH BlueZ v1 03/12] client: do not prompt for LE Audio settings on A2DP endpoints Luiz Augusto von Dentz
2026-09-09 19:23 ` [PATCH BlueZ v1 04/12] client: add A2DP endpoint registration scripts Luiz Augusto von Dentz
2026-09-09 19:23 ` [PATCH BlueZ v1 05/12] test: functional: add A2DP tests Luiz Augusto von Dentz
2026-09-09 19:23 ` Luiz Augusto von Dentz [this message]
2026-09-09 19:23 ` [PATCH BlueZ v1 07/12] client: add BAP endpoint registration scripts Luiz Augusto von Dentz
2026-09-09 19:23 ` [PATCH BlueZ v1 08/12] doc: bluetoothctl: document init script option and scripts Luiz Augusto von Dentz
2026-09-09 19:23 ` [PATCH BlueZ v1 09/12] test: functional: add BAP unicast tests Luiz Augusto von Dentz
2026-09-09 19:23 ` [PATCH BlueZ v1 10/12] test: functional: add BAP broadcast tests Luiz Augusto von Dentz
2026-09-09 19:23 ` [PATCH BlueZ v1 11/12] test: functional: add BAP broadcast assistant test Luiz Augusto von Dentz
2026-09-09 19:23 ` [PATCH BlueZ v1 12/12] bap: reuse the PA sync established to discover a Broadcast Source Luiz Augusto von Dentz
2026-09-10 20:50 ` [PATCH BlueZ v1 00/12] Add functional tests for A2DP and BAP patchwork-bot+bluetooth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260909192308.1306567-7-luiz.dentz@gmail.com \
--to=luiz.dentz@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.