LE Audio device as central and peripheral simultaneously

My question is related to LE Audio, i guess, since i have no previous experience from it. Is it possible to have a device as a peripheral for mobile phone sending data to some characteristics and same time as a central to another nRF5340 streaming LE Audio (CIS)?

Device A and B are nRF5340. Device A generating and streaming audio to device B. Audio stream could be e.g. a mic(s) or line(s) in. There is no audio stream from device A to mobile phone. Also device A is generating and sending data to a mobile phone. Data could be e.g. temp, status, voltage etc.

I'm just wondering for example how much resources this LE Audio (CIS) takes.

Parents
  • Hello,

    i guess, since i have no previous experience from it.

    Thank you for clarifying, this is very helpful for us to know when answering the remaining questions! :) 

    Is it possible to have a device as a peripheral for mobile phone sending data to some characteristics and same time as a central to another nRF5340 streaming LE Audio (CIS)?

    Yes, that is indeed possible - the 'ACL' which runs alongside the CIS to control the stream is actually nothing more than a regular BLE connection as you already know it.
    There is currently a limitation of concurrently supporting 2 ISO + 2 ACLs, but so long as you are within this you should be fine. Essentially, you may indeed act as a gateway to another nRF5340 Headset device, and concurrently work as a peripheral to a connected smartphone (regular BLE connection).

    I'm just wondering for example how much resources this LE Audio (CIS) takes.

    The largest swath of resources are used for the LC3 encoding, and the rule of thumb there is that it will consume roughly ~30% CPU to encode a 96 kbps stream, and ~16% to decode the same stream.

    Please do not hesitate to ask if you should have any follow-up questions to this! :) 

    Best regards,
    Karl

  • How would one go on about creating this kind of firmware?

    I am planning on buying few nRF5340 Audio DK's to first play around with the Connect SDK's LE Audio examples. I know there is in the Connect SDK a Central and Peripheral HRS -example and a nRF5340 Audio Application. Could this functionality be achieved by the help of these examples or is there some compatibility issues?

    Thank you!

Reply
  • How would one go on about creating this kind of firmware?

    I am planning on buying few nRF5340 Audio DK's to first play around with the Connect SDK's LE Audio examples. I know there is in the Connect SDK a Central and Peripheral HRS -example and a nRF5340 Audio Application. Could this functionality be achieved by the help of these examples or is there some compatibility issues?

    Thank you!

Children
Related