mbox series

[BlueZ,0/1] Add command to create local endpoint in bluetoolct

Message ID 20240229162119.57523-1-silviu.barbulescu@nxp.com
Headers show
Series Add command to create local endpoint in bluetoolct | expand

Message

Silviu Florian Barbulescu Feb. 29, 2024, 4:21 p.m. UTC
In the case of using BlueZ with Pipewire to start a BAP broadcast source,
Pipewire will do the register endpoint but bluetoothctl is still required
to configure the broadcast streams, but no local broadcast endpoint is defined
in bluetoothctl.
To resolve this problem I added the new_local_ep that will create a local
 endpoint that can be used to configure the Bap broadcast source\sink.
Example how to configure a BAP broadcast source:

endpoint.new_local_ep 00001852-0000-1000-8000-00805f9b34fb 0x06
endpoint.config /org/bluez/hci0/pac_bcast0 /local/endpoint/ep0 48_4_1
endpoint.config /org/bluez/hci0/pac_bcast0 /local/endpoint/ep0 48_4_1

Silviu Florian Barbulescu (1):
  Add new command to create loal endpoint in bluetoolct

 client/player.c | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)


base-commit: 92f3ed1879042b43033241049b334404229df88d