linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH BlueZ v3 0/4] Add initial support for BAP broadcast source
@ 2023-05-30 14:13 Silviu Florian Barbulescu
  2023-05-30 14:13 ` [PATCH BlueZ v3 1/4] Split bt_bap_qos structure into unicast and broadcast structures Silviu Florian Barbulescu
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Silviu Florian Barbulescu @ 2023-05-30 14:13 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Silviu Florian Barbulescu

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-06-03  0:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-30 14:13 [PATCH BlueZ v3 0/4] Add initial support for BAP broadcast source Silviu Florian Barbulescu
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).