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 (7): client/player: Add broadcast sink endpoint btio: Add support for getsockopt(BT_ISO_BASE) adapter: Do not filter out broadcast advertiser profile: Add probe_on_discover flag bap: Add support for BAP broadcast sink 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 | 334 +++++++++++++++++++++++++++++++++---- profiles/audio/media.c | 82 +++++++-- profiles/audio/media.h | 3 +- profiles/audio/transport.c | 245 ++++++++++++++++++++++++++- src/adapter.c | 10 ++ src/device.c | 22 ++- src/profile.h | 5 + src/shared/bap.c | 139 ++++++++++++--- src/shared/bap.h | 6 +- 11 files changed, 831 insertions(+), 89 deletions(-) base-commit: 59569c1f947d648f1e0b9234dad3707f6c34739b -- 2.34.1