mbox series

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

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

Message

Silviu Florian Barbulescu March 1, 2024, 4:39 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 /local/endpoint/bcaa/lc3 registered
endpoint.config /org/bluez/hci0/pac_bcast0 /local/endpoint/bcaa/lc3 48_4_1

Silviu Florian Barbulescu (1):
  Add command to create local endpoint in bluetoothctl

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


base-commit: 44d3f67277f83983e1e9697eda7b9aeb40ca231d