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): client/player: Add broadcast sink endpoint registration btio: Add support for getsockopt(BT_ISO_BASE) adapter: Broadcast source discovery bap: Create synchronization with source and create BAP broadcast sink stream media: Add broadcast sink media endpoint transport: Update transport properties for a broadcast stream btio/btio.c | 13 +- client/player.c | 61 +++++++- profiles/audio/bap.c | 300 +++++++++++++++++++++++++++++++++---- profiles/audio/media.c | 81 ++++++++-- profiles/audio/media.h | 3 +- profiles/audio/transport.c | 245 +++++++++++++++++++++++++++++- src/adapter.c | 48 ++++++ src/adapter.h | 2 + src/shared/bap.c | 153 ++++++++++++++++--- src/shared/bap.h | 11 +- 10 files changed, 835 insertions(+), 82 deletions(-) base-commit: 8eb1dee87e019f29b6c8233dfe0f9aef8ee44461 -- 2.34.1