mbox series

[BlueZ,v7,0/6] Add support for BAP broadcast sink

Message ID 20230821155104.86954-1-claudia.rosu@nxp.com (mailing list archive)
Headers show
Series Add support for BAP broadcast sink | expand

Message

Claudia Draghicescu Aug. 21, 2023, 3:50 p.m. UTC
This series of patches adds support for BAP broadcast sink.
It consists in registering a broadcastsink endpoint using the
Basic Audio Announcement Service UUID,
discovering of broadcast advertisers that announce the
Broadcast Audio Announcement Service, synchronizes to the Periodic
advertisements of the source and synchronizes to the BIG advertised
in the PA train.
To retrieve the BASE info advertised in the PA train, the patch
Bluetooth: ISO: Add support for periodic adv reports processing
was used.

This feature was tested using bluetoothctl with the following commands:

[bluetooth]# endpoint.register 00001851-0000-1000-8000-00805f9b34fb 0x06
[bluetooth]# scan on
[NEW] Endpoint /org/bluez/hci0/dev_XX_XX_XX_XX_XX_XX/pac_bcast0
[bluetooth]# endpoint.config
/org/bluez/hci0/dev_XX_XX_XX_XX_XX_XX/pac_bcast0
/local/endpoint/ep0 16_2_1

Claudia Draghicescu (6):
  shared/bap: Add support for BAP broadcast sink
  bap: Add support for BAP broadcast sink
  media: Add broadcast sink media endpoint
  transport: Update transport properties for a broadcast stream
  client/player: Remove Broadcast parameter
  adapter: Fix UUID name advertised for bcast source

 client/player.c            |   3 -
 profiles/audio/bap.c       | 312 +++++++++++++++++++++++++++++++++----
 profiles/audio/media.c     |  42 ++++-
 profiles/audio/media.h     |   3 +-
 profiles/audio/transport.c | 251 ++++++++++++++++++++++++++++-
 src/adapter.c              |   2 +-
 src/shared/bap.c           | 266 +++++++++++++++++++++++++++----
 src/shared/bap.h           |  13 +-
 8 files changed, 826 insertions(+), 66 deletions(-)


base-commit: 0004eb06d5d9a2f27521d9ce3b206d6f3f82c61e