mbox series

[BlueZ,v5,0/5] Add support for bcast multiple BISes

Message ID 20231123151033.22898-1-silviu.barbulescu@nxp.com
Headers show
Series Add support for bcast multiple BISes | expand

Message

Silviu Florian Barbulescu Nov. 23, 2023, 3:10 p.m. UTC
Add support for multiple BISes
Register the broadcast source endpoint
endpoint.register 00001852-0000-1000-8000-00805f9b34fb 0x06
After registration a new remote endpoint is created
Use the endpoint.config command to set the BIS codec configuration by
specifying the BIS when prompted by the command
endpoint.config /org/bluez/hci0/pac_bcast0 /local/endpoint/ep0 16_2_1
[/local/endpoint/ep0] BIG (value): 0
[/local/endpoint/ep0] BIS (value): 1
Based on the number of BISes seted in the base_lc3_16_2_1 more
remote endoints wil be created (If more then one bis is setted)
Use the endpoint.config command to set the BIS codec configuration by
specifying the BIS when prompted by the command
endpoint.config /org/bluez/hci0/pac_bcast0 /local/endpoint/ep0 16_2_1
[/local/endpoint/ep0] BIG (value): 0
[/local/endpoint/ep0] BIS (value): 2
Use the endpoint config command to configure all the BISes
After all BISes are configured, use the transports to send data

Claudia Draghicescu (2):
  shared/bap: Fix source+sink endpoint registration
  audio/bap: Fix source+sink endpoint registration

Silviu Florian Barbulescu (3):
  Add support for multiple BISes
  profiles/audio/transport.c: Add support for multiple BISes
  client/player.c: Add support for multiple BISes

 client/player.c            |  46 ++-
 profiles/audio/bap.c       | 617 +++++++++++++++++++++++++++----------
 profiles/audio/transport.c |  36 ++-
 src/shared/bap.c           | 290 ++++++++++++-----
 src/shared/bap.h           |  38 ++-
 unit/test-bap.c            |  12 +-
 6 files changed, 776 insertions(+), 263 deletions(-)


base-commit: 8b035b70f379e45a32c94579ec8d00e48070c21e