From: Silviu Florian Barbulescu <silviu.barbulescu@nxp.com>
To: linux-bluetooth@vger.kernel.org
Cc: mihai-octavian.urzica@nxp.com, silviu.barbulescu@nxp.com,
vlad.pruteanu@nxp.com, andrei.istodorescu@nxp.com,
luiz.dentz@gmail.com, iulia.tanasescu@nxp.com
Subject: [PATCH BlueZ 0/2] Allow endpoint config without local endpoint argument
Date: Wed, 20 Mar 2024 16:41:51 +0200 [thread overview]
Message-ID: <20240320144153.46408-1-silviu.barbulescu@nxp.com> (raw)
Update endpoint config command to create a local endpoint for broadcast
endpoint.
This will be used to configure a broadcast source/sink if
register endpoint is done from another application like PipeWire
Sample output from using the endpoint.config with endpoint and preset
to configure a broadcast sink to connect to a BIS.
The register endpoint for the broadcast sink has been done with PipeWire.
[Waiting to connect to bluetoothd...
[bluetooth]Agent registered
[bluetooth]hci0 new_settings: powered bondable le secure-conn
cis-central cis-peripheral iso-broadcaster sync-receiver
[bluetooth][CHG[0m] Controller C0:07:E8:CE:94:CD Pairable: yes
[bluetooth]AdvertisementMonitor path registered
[bluetooth]scan on
[?2004h[bluetooth]SetDiscoveryFilter success
[bluetooth]Discovery started
[bluetooth][CHG Controller C0:07:E8:CE:94:CD Discovering: yes
[bluetooth][NEW [Device 18:41:1D:57:63:C6 18-41-1D-57-63-C6
[bluetooth][NEW Endpoint /org/bluez/hci0/dev_18_41_1D_57_63_C6/pac_bcast0
mendpoint.config /org/bluez/hci0/dev_18_41_1D_57_63_C6/pac_bcast0 48_4_1
endpoint.config /org/bluez/hci0/dev_18_41_1D_57_63_C6/pac_bcast0 48_4_1
Configuration.#0: len 0x02 type 0x01
Configuration.Sampling Frequency: 48 Khz (0x08)
Configuration.#1: len 0x02 type 0x02
Configuration.Frame Duration: 10 ms (0x01)
Configuration.#2: len 0x03 type 0x04
Configuration.Frame Length: 120 (0x0078)
BCode:
01 02 68 05 53 f1 41 5a a2 65 bb af c6 ea 03 b8 ..h.S.AZ.e......
Framing 0x00
PresentationDelay 40000
Interval 10000
PHY 0x02
SDU 120
Retransmissions 4
Latency 20
[NEW Transport /org/bluez/hci0/dev_18_41_1D_57_63_C6/pac_bcast0/fd0
[bluetooth]Endpoint /local/endpoint/baa/lc3 configured
Sample output from using the endpoint.config with endpoint and preset
to configure a broadcast source BIS.
The register endpoint has been done with PipeWire.
[Waiting to connect to bluetoothd...
[[bluetooth][0m# Agent registered
[[bluetooth][0m# hci0 new_settings: powered bondable le secure-conn
cis-central cis-peripheral iso-broadcaster sync-receiver
[[bluetooth][0m# [[CHG[0m] Controller C0:07:E8:CE:94:CD Pairable: yes
[[bluetooth][0m# AdvertisementMonitor path registered
[[bluetooth][0m# [[NEW[0m] Endpoint /org/bluez/hci0/pac_bcast0
[[bluetooth][0m# [7mendpoint.config /org/bluez/hci0/pac_bcast0 48_4_1
endpoint.config /org/bluez/hci0/pac_bcast0 48_4_1
[[1;39m[/local/endpoint/bcaa/lc3] BIG (auto/value): [0m0
[[1;39m[/local/endpoint/bcaa/lc3] Enter channel location (value/no): [0m1
[[1;39m[/local/endpoint/bcaa/lc3] Enter Metadata (value/no): [0mn
Configuration.#0: len 0x02 type 0x01
Configuration.Sampling Frequency: 48 Khz (0x08)
Configuration.#1: len 0x02 type 0x02
Configuration.Frame Duration: 10 ms (0x01)
Configuration.#2: len 0x03 type 0x04
Configuration.Frame Length: 120 (0x0078)
Configuration.#3: len 0x05 type 0x03
Configuration.Location: 0x00000001
Configuration.Location: Front Left (0x00000001)
BIG 0x00
BCode:
01 02 68 05 53 f1 41 5a a2 65 bb af c6 ea 03 b8 ..h.S.AZ.e......
Framing 0x00
PresentationDelay 40000
Interval 10000
PHY 0x02
SDU 120
Retransmissions 4
Latency 20
[[[bluetooth][0m# [[NEW[0m] Transport /org/bluez/hci0/pac_bcast0/fd0
[[bluetooth][0m# Endpoint /local/endpoint/bcaa/lc3 configured
Silviu Florian Barbulescu (2):
bap: Fix MediaEndpoint prop codec returns 0 for bcast src endpoint
player: Update endpoint config command to create local endpoint
client/player.c | 80 ++++++++++++++++++++++++++++++++++++++++++--
profiles/audio/bap.c | 8 ++++-
2 files changed, 84 insertions(+), 4 deletions(-)
base-commit: b8ad3490a3507476844d6c6a87b2cb336f7d4eb9
--
2.39.2
next reply other threads:[~2024-03-20 14:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-20 14:41 Silviu Florian Barbulescu [this message]
2024-03-20 14:41 ` [PATCH BlueZ 1/2] bap: Add bcast source support for MediaEndpoint Codec Silviu Florian Barbulescu
2024-03-20 17:05 ` Allow endpoint config without local endpoint argument bluez.test.bot
2024-03-20 14:41 ` [PATCH BlueZ 2/2] player: " Silviu Florian Barbulescu
2024-03-20 17:32 ` Luiz Augusto von Dentz
2024-03-21 11:33 ` Silviu Florian Barbulescu
2024-03-28 14:40 ` [PATCH BlueZ 0/2] " 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=20240320144153.46408-1-silviu.barbulescu@nxp.com \
--to=silviu.barbulescu@nxp.com \
--cc=andrei.istodorescu@nxp.com \
--cc=iulia.tanasescu@nxp.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=luiz.dentz@gmail.com \
--cc=mihai-octavian.urzica@nxp.com \
--cc=vlad.pruteanu@nxp.com \
/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.