Linux bluetooth development
 help / color / mirror / Atom feed
From: Silviu Florian Barbulescu <silviu.barbulescu@nxp.com>
To: linux-bluetooth@vger.kernel.org
Cc: Silviu Florian Barbulescu <silviu.barbulescu@nxp.com>
Subject: [PATCH BlueZ v3 0/4] Add initial support for BAP broadcast source
Date: Tue, 30 May 2023 17:13:35 +0300	[thread overview]
Message-ID: <20230530141339.100733-1-silviu.barbulescu@nxp.com> (raw)

This patch adds initial support for BAP broadcast source.

The current implementation allows BAP source endpoint registration,
media transport creation, transport acquiring and sending broadcast ISO data.

Currently, one BIG containing one BIS is supported.

To test the current implementation use bluetoothctl with the following commands:
# endpoint.register 00001852-0000-1000-8000-00805f9b34fb 0x06
# transport.acquire /org/bluez/hci0/dev_00_00_00_00_00_00/pac_broadcast0/fd0
# transport.send /org/bluez/hci0/dev_00_00_00_00_00_00/pac_broadcast0/fd0 <file.wav>

The curent implementation checks that ISO_BROADCASTER is suported on the board so
"Check for ISO support in controller" patch is required
(https://patchwork.kernel.org/project/bluetooth/patch/20230510134557.11486-2-claudia.rosu@nxp.com/)

Silviu Florian Barbulescu (4):
  Split bt_bap_qos structure into unicast and broadcast structures
  Update bluetoothctl with support for broadcast source
  This adds the initial code for BAP broadcast source
  Update BAP plugin with broadcast source support

 client/player.c            | 223 +++++++++++++++--
 profiles/audio/bap.c       | 478 ++++++++++++++++++++++++++++++++-----
 profiles/audio/media.c     | 142 +++++++++--
 profiles/audio/transport.c |  57 +++--
 src/shared/bap.c           | 370 ++++++++++++++++++++++------
 src/shared/bap.h           |  80 +++++--
 unit/test-bap.c            |  75 +++---
 7 files changed, 1168 insertions(+), 257 deletions(-)


base-commit: 7002ecc8914ab1f22e36bd98c4d46eb760edf767
-- 
2.34.1


             reply	other threads:[~2023-05-30 14:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-30 14:13 Silviu Florian Barbulescu [this message]
2023-05-30 14:13 ` [PATCH BlueZ v3 1/4] Split bt_bap_qos structure into unicast and broadcast structures Silviu Florian Barbulescu
2023-05-30 16:25   ` Add initial support for BAP broadcast source bluez.test.bot
2023-05-30 14:13 ` [PATCH BlueZ v3 2/4] Update bluetoothctl with support for " Silviu Florian Barbulescu
2023-05-30 14:13 ` [PATCH BlueZ v3 3/4] This adds the initial code for BAP " Silviu Florian Barbulescu
2023-05-30 14:13 ` [PATCH BlueZ v3 4/4] Update BAP plugin with broadcast source support Silviu Florian Barbulescu
2023-05-31  0:22 ` [PATCH BlueZ v3 0/4] Add initial support for BAP broadcast source Luiz Augusto von Dentz
2023-06-03  0:23   ` Luiz Augusto von Dentz

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=20230530141339.100733-1-silviu.barbulescu@nxp.com \
    --to=silviu.barbulescu@nxp.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox