BLE Audio Test app supporting both CIS and BIS

Do we have a sample BLE Audio Test app supporting both CIS and BIS ? If we don't have already what changes needed to make it work.

What is the configuration required for enabling BIS only ? It also should start advertising for connecting with another broadcast assistant for offload scan.

Thanks 

Parents
  • Hello,

    Do we have a sample BLE Audio Test app supporting both CIS and BIS ?

    Do you here mean CIS and BIS concurrently, or supports both CIS and BIS but separately?
    The nRF5340 LE Audio reference application supports both CIS and BIS, but not at the same time.

    What is the configuration required for enabling BIS only ?

    You can change the nRF5340 LE Audio reference application to use BIS instead of the default CIS if you add the CONFIG_TRANSPORT_BIS=y to your kconfig options.

    Best regards,
    Karl

  • Hello Karl.

    I am also confused about this issue, So I was very lucky to find this post. Now i can see what you have reply that the CIS and BIS can not work at the same time.

    But I still want to ask if it is possible to switch freely if it can not work at the same time, because i found that, after the SDK is compiled, only one of the work mode can be used. So in my understanding, there will be two firmware for the two work mode, is that right?

    And i am very sorry to Ravi, i used your post to ask some questions. It seems that we have the same confusion regarding BIS and CIS issues. Thank you too.

  • Thank you Karl.

    Which broadcast assistant are you referring to here, are you using another nRF5340 Audio DK, or a smartphone application perhaps?
    However, perhaps there are some additional changes that needs to be made for it to show up on your broadcast assistant, I can look closer into this when I know which assistant you are referring to.

    I am using the Broadcast assistant app on smartphone. Can you please let us know the changes to be done in the nrf ble audio application for it to show up in the broadcast assistant app on phone ?

    I have build the nRF BLE Audio application using CONFIG_TRANSPORT_BIS=y

    Below is the serial console output. I see it started scanning but not advertising. Can you please confirm why i don't see advertising logs ?

    *** Booting nRF Connect SDK v2.5.0-rc2 ***
    HR [00:00:00.259,521] <inf> fw_info:
    nRF5340 Audio nRF5340 Audio DK cpuapp
    NCS base version: 2.5.0-rc2
    Cmake run : Tue Dec 12 11:43:38 2023
    HR [00:00:00.259,521] <inf> fw_info: ------- DEBUG BUILD -------
    HR [00:00:00.259,552] <inf> fw_info: HEADSET right device
    HR [00:00:00.270,172] <inf> board_version: Compatible board/HW version found: 1.0.0
    HR [00:00:00.308,258] <inf> bt_mgmt_ctlr_cfg: Controller: LL_ACS_NRF53. Version: 3393
    HR [00:00:00.310,272] <inf> bt_mgmt: Local identity addr: D0:97:2E:8D:DA:CD (random)
    HR [00:00:00.436,096] <inf> bt_mgmt_scan: Local addr: D0:97:2E:8D:DA:CD (random). May time out. Updates not printed
    HR [00:00:00.436,096] <inf> bt_mgmt_scan: Scanning successfully started

  • Hello,

    RaviTest said:
    I am using the Broadcast assistant app on smartphone. Can you please let us know the changes to be done in the nrf ble audio application for it to show up in the broadcast assistant app on phone ?

    Which broadcast assistant app? Is this something you've implemented yourself, or one that is publically available?
    I will check with the developers what you will need to do in order to have this work. A Broadcast assistant is not used as part of the default nRF5340 LE Audio reference application.

    RaviTest said:
    Below is the serial console output. I see it started scanning but not advertising. Can you please confirm why i don't see advertising logs ?

    From the logs it seems that you have build a BIS Headset application, which will start to scan for broadcasts upon starting. If you would like for it to function as a BIS transmitter you will need to build it for the 'gateway' configuration.
    You can see instructions on how to program it for the different roles and configuration in the 'Build and program' documentation.
    Please try this again with the device built and flashed as a gateway device and see if you then are able to see the broadcast in your scanning.

    Best regards,
    Karl

  • Which broadcast assistant app? Is this something you've implemented yourself, or one that is publically available?

    I am using the Sony Xperia phone which has the Broadcast assistant feature in Settings. I want the nrf ble audio app(build as headset) to start advertising so that the Broadcast assistant on the phone can establish a ble connection with the nrf ble audio app(build as headset). Broadcast assistant on the phone will scan for the Broadcast sources and write to the scan control point on the nrf ble audio app(build as headset).

    Broadcaster source - Sony Phone

    Broadcast assistant - Sony Phone

    Broadcast sink - nrf ble audio app on nrf5340 built as headset role.

  • Hello,

    Thank you for your patience with this, and thank you for the clarifications.
    I checked with the developers of the nRF5340 LE Audio reference application and there is no support for using a broadcast assistant in the application currently, but to try out the functionality you could give the upstream BT shell a try since this now has support for Broadcast assistant.
    You could also connect with the Zephyr community on Discord to ask them directly if you have any questions to components in the Zephyr project.

    Best regards,
    Karl

  • Hello Karl,

    It looks like my question was misinterpreted. Here the Broadcast assistant is on the phone. Not on nRF5340.

    I want the nrf ble audio app(build as headset - BIS Sink) to start advertising so that the Broadcast assistant on the phone can establish a ble connection with the nrf ble audio app(build as headset). Broadcast assistant on the phone will scan for the Broadcast sources and write to the scan control point on the nrf ble audio app(build as headset).

    I am using the Broadcast assistant app on smartphone. Can you please let us know the changes to be done in the nrf ble audio application for it to show up in the broadcast assistant app on phone ?

    I have build the nRF BLE Audio application using CONFIG_TRANSPORT_BIS=y

    Below is the serial console output. I see it started scanning but not advertising. Can you please confirm why i don't see advertising logs ?

    *** Booting nRF Connect SDK v2.5.0-rc2 ***
    HR [00:00:00.259,521] <inf> fw_info:
    nRF5340 Audio nRF5340 Audio DK cpuapp
    NCS base version: 2.5.0-rc2
    Cmake run : Tue Dec 12 11:43:38 2023
    HR [00:00:00.259,521] <inf> fw_info: ------- DEBUG BUILD -------
    HR [00:00:00.259,552] <inf> fw_info: HEADSET right device
    HR [00:00:00.270,172] <inf> board_version: Compatible board/HW version found: 1.0.0
    HR [00:00:00.308,258] <inf> bt_mgmt_ctlr_cfg: Controller: LL_ACS_NRF53. Version: 3393
    HR [00:00:00.310,272] <inf> bt_mgmt: Local identity addr: D0:97:2E:8D:DA:CD (random)
    HR [00:00:00.436,096] <inf> bt_mgmt_scan: Local addr: D0:97:2E:8D:DA:CD (random). May time out. Updates not printed
    HR [00:00:00.436,096] <inf> bt_mgmt_scan: Scanning successfully started

    Thanks,

    Ravi

Reply
  • Hello Karl,

    It looks like my question was misinterpreted. Here the Broadcast assistant is on the phone. Not on nRF5340.

    I want the nrf ble audio app(build as headset - BIS Sink) to start advertising so that the Broadcast assistant on the phone can establish a ble connection with the nrf ble audio app(build as headset). Broadcast assistant on the phone will scan for the Broadcast sources and write to the scan control point on the nrf ble audio app(build as headset).

    I am using the Broadcast assistant app on smartphone. Can you please let us know the changes to be done in the nrf ble audio application for it to show up in the broadcast assistant app on phone ?

    I have build the nRF BLE Audio application using CONFIG_TRANSPORT_BIS=y

    Below is the serial console output. I see it started scanning but not advertising. Can you please confirm why i don't see advertising logs ?

    *** Booting nRF Connect SDK v2.5.0-rc2 ***
    HR [00:00:00.259,521] <inf> fw_info:
    nRF5340 Audio nRF5340 Audio DK cpuapp
    NCS base version: 2.5.0-rc2
    Cmake run : Tue Dec 12 11:43:38 2023
    HR [00:00:00.259,521] <inf> fw_info: ------- DEBUG BUILD -------
    HR [00:00:00.259,552] <inf> fw_info: HEADSET right device
    HR [00:00:00.270,172] <inf> board_version: Compatible board/HW version found: 1.0.0
    HR [00:00:00.308,258] <inf> bt_mgmt_ctlr_cfg: Controller: LL_ACS_NRF53. Version: 3393
    HR [00:00:00.310,272] <inf> bt_mgmt: Local identity addr: D0:97:2E:8D:DA:CD (random)
    HR [00:00:00.436,096] <inf> bt_mgmt_scan: Local addr: D0:97:2E:8D:DA:CD (random). May time out. Updates not printed
    HR [00:00:00.436,096] <inf> bt_mgmt_scan: Scanning successfully started

    Thanks,

    Ravi

Children
  • Hello Ravi,

    RaviTest said:
    Here the Broadcast assistant is on the phone. Not on nRF5340.

    I understood this, but your nRF5340 still needs to have added support for Broadcast assistant to be able to let the broadcast assistant on the phone control the headset output.
    Since this unfortunately is not currently supported in the nRF5340 LE Audio reference application right now you will have to add this to the reference application yourself basing it on the Broadcast assistant support that is available in upstream Zephyr, if this is to work.

    If you have any questions to the roadmap for the nRF5340 LE Audio reference application I must ask that you reach out to your Regional Sales Manager with these, since we do not discuss roadmaps or future releases here on DevZone. If you do not know who your Regional Sales Director is you can send me a direct message here on DevZone with your location so that I may provide you with their contact information.

    Best regards,
    Karl

Related