client/player: Add broadcast sink endpoint
authorClaudia Draghicescu <claudia.rosu@nxp.com>
Tue, 8 Aug 2023 11:50:34 +0000 (14:50 +0300)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 5 Jan 2024 13:34:03 +0000 (19:04 +0530)
commit2718c8752f0b011212fff7db620858ca2c6d4671
treedd239abfeb511f6caed33ec5bdc69362278f4e9a
parentea1fbbf9dc60bd11e04e24a1dd21ada22df2f279
client/player: Add broadcast sink endpoint

Added support for broadcast sink registration using the 0x1851 UUID.
Added support for remote endpoint creation when a broadcast source
is discovered.
Added support for creating a local endpoint when the broadcast sink
endpoint was registered from an external application (Pipewire).
To test this feature use 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
client/player.c