Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH BlueZ 0/6] Add initial support for BAP broadcast source
@ 2023-05-23 14:34 Iulia Tanasescu
  2023-05-23 14:34 ` [PATCH BlueZ 1/6] doc: Update Docs " Iulia Tanasescu
                   ` (7 more replies)
  0 siblings, 8 replies; 14+ messages in thread
From: Iulia Tanasescu @ 2023-05-23 14:34 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Iulia Tanasescu

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 (6):
  doc: Update Docs for BAP broadcast source
  lib: Add macro definitions for BAP broadcast source support
  monitor: Check for ISO broadcast support in controller
  btio: Add support for setsockopt (BT_IO_OPT_BASE)
  client/player: Update bluetoothctl with support for broadcast source
  bap: Add initial support for BAP broadcast source

 btio/btio.c                |  26 ++-
 btio/btio.h                |   2 +
 client/player.c            | 207 +++++++++++++++--
 doc/media-api.txt          |  11 +
 doc/mgmt-api.txt           |   2 +
 lib/bluetooth.h            |   9 +
 lib/mgmt.h                 |   2 +
 lib/uuid.h                 |   3 +
 monitor/packet.c           |   4 +-
 profiles/audio/bap.c       | 460 ++++++++++++++++++++++++++++++++-----
 profiles/audio/media.c     | 129 +++++++++--
 profiles/audio/transport.c |  51 ++--
 src/shared/bap.c           | 324 +++++++++++++++++++-------
 src/shared/bap.h           |  81 +++++--
 unit/test-bap.c            |  83 +++----
 15 files changed, 1123 insertions(+), 271 deletions(-)


base-commit: 8c452c2ec1739efe581273bacd738e5294d0ca0f
-- 
2.34.1


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

end of thread, other threads:[~2023-05-26 22:40 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-23 14:34 [PATCH BlueZ 0/6] Add initial support for BAP broadcast source Iulia Tanasescu
2023-05-23 14:34 ` [PATCH BlueZ 1/6] doc: Update Docs " Iulia Tanasescu
2023-05-23 15:14   ` Add initial support " bluez.test.bot
2023-05-23 14:35 ` [PATCH BlueZ 2/6] lib: Add macro definitions for BAP broadcast source support Iulia Tanasescu
2023-05-23 14:35 ` [PATCH BlueZ 3/6] monitor: Check for ISO broadcast support in controller Iulia Tanasescu
2023-05-23 14:35 ` [PATCH BlueZ 4/6] btio: Add support for setsockopt (BT_IO_OPT_BASE) Iulia Tanasescu
2023-05-23 14:35 ` [PATCH BlueZ 5/6] client/player: Update bluetoothctl with support for broadcast source Iulia Tanasescu
2023-05-23 16:31   ` Luiz Augusto von Dentz
2023-05-24  8:38     ` Silviu Florian Barbulescu
2023-05-23 14:35 ` [PATCH BlueZ 6/6] bap: Add initial support for BAP " Iulia Tanasescu
2023-05-23 16:46   ` Luiz Augusto von Dentz
2023-05-24 11:44     ` Silviu Florian Barbulescu
2023-05-26 22:10 ` [PATCH BlueZ 0/6] " patchwork-bot+bluetooth
2023-05-26 22:40 ` patchwork-bot+bluetooth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox