Mobile OS as assistant using native Broadcast scanning with nrf5340

We tested a few of the newest Auracast capable phones and headphones. For example using the S24 and Galaxy Buds 2 Pro allows the user to search for broadcasts from the Bluetooth settings within the os. That works fine. We can see other broadcasts and tell the headphones to connect to those. Even if they require a password.

Our question is now: is there an example that allows the nrf5340 to act the same as the buds in the above mentioned example? 

We were unable to replicate the behavior using the broadcast sink sample. It seems like most of the features are there though? Using the sink sample Android detects the Auracast characteristics and displays all the options as with other headphones but nothing happens when clicking scan. So no scanning results. The example code itself can scan and find broadcasts just fine when no assistant is connected but does not publish those findings in any way that we were able to observe when connected to the Assistent.

Did we make a mistake? Is there a different example that is applicable for this use case? Or are the small missing parts coming later this year?

Parents
  • Hi Laurin, 

    LE Audio development is a bit cutting edge, so it varies a bit what is supported on different platforms in the market, which can make this interoperability a bit difficult. Though I would think this should work. I can ask the relevant R&D team.

    The example code itself can scan and find broadcasts just fine when no assistant is connected but does not publish those findings in any way that we were able to observe when connected to the Assistent.

    This is for instance something that I could assume is just issues with interoperability.

    Are you using the newest NCS version? And I see you mention both Mobile OS and Android here, making me a bit confused.

    Regards,

    Elfving

  • Thank you for the quick response!

    We tested on Android and iOS. But with iOS the app needs to take care of calling the correct endpoints and handling things. On Android they blocked third party apps from accessing the auracast characteristics. So we can only use Android OS to directly handle auracast scanning right now. But our product should be useable by both mobile OS in the future. 

    We are currently using 2.7.0 and have tested 2.9.0 but noticed no functional differences for this use case.

  • Laur1n M. said:
    So we can only use Android OS to directly handle auracast scanning right now. But our product should be useable by both mobile OS in the future. 

    Ah I see. I assumed you were referring to some obscure OS called "mobileOS".

    I'll ask the relevant R&D team and see. It might be that some Android/iOS interoperability thing is missing.

    Regards,

    Elfving

  • Hi Laurin,

    The team just did a test for this themselves:

    • Build the nRF5340 audio application in BIS headset mode from NCS v2.9.0
      CONFIG_TRANSPORT_BIS=y
      CONFIG_BT_AUDIO_SCAN_DELEGATOR=y
    • Setup a broadcaster from Sony Xperia 5IV (we could use our broadcaster for testing, make sure CONFIG_BT_AUDIO_PRESENTATION_DELAY_US=40000 is added in broadcaster side)
    • Use Samsung S24 to connect with BIS headset, and tell the BIS headset to sync with stream from Sony Xperia

    That works.

    Could you double check that you are using this sample? It can be easy to mistake this for the one from zephyr for instance. And could you share the log from the device?

    Regards,

    Elfving

  • You are right. We used the sample from zephyr. We evaluated the audio application a few months ago when the features where not there. Then using the VSCode plugin we tried other "samples" but didnt realize that the audio application has progressed so much.

    After testing again with audio application we can confirm that it appears to be working as expected. If any other comes up i will create a new ticket.

    Thank you very much for providing great products and software! Really glad to be working with Nordic :) Have a great week!

Reply
  • You are right. We used the sample from zephyr. We evaluated the audio application a few months ago when the features where not there. Then using the VSCode plugin we tried other "samples" but didnt realize that the audio application has progressed so much.

    After testing again with audio application we can confirm that it appears to be working as expected. If any other comes up i will create a new ticket.

    Thank you very much for providing great products and software! Really glad to be working with Nordic :) Have a great week!

Children
Related