BLE Audio headset with peripheral with 2 different connections

Hello,

We're trying to build a demo based on the BLE Audio sample with extra BLE services to transmit sensor data.

I have managed to build and run the BLE Audio sample on our custom hardware (based on nRF5340).

At the moment, a nRF5340 audio DK is used as a gateway to stream audio data to our custom HW.

I would like to extend this by adding a custom BLE service to transmit sensor data and to get the custom HW to connect to 2 centrals as shown in this simple diagram:

PC----USB---->DK Audio-GW ---BLE Audio link -----> Custom HW ------BLE link ------> Phone/App

I saw older posts on the forum that talk about extending the audio sample while using the same BLE connection not a different one

Is this feasible? and if so, what is the best approach?  

Best regards,

Mehdi

Parents
  • Hi again Mehdi

    Are you making a central or peripheral device here? Only one of the roles should be required, and broadcaster or receiver depending on what your application does. You should also be able to lower the usage by a lot by disabling all logging and debugging. Potentially also lowering the max connections, although that won't change too much.

    Best regards,

    Simon

Reply
  • Hi again Mehdi

    Are you making a central or peripheral device here? Only one of the roles should be required, and broadcaster or receiver depending on what your application does. You should also be able to lower the usage by a lot by disabling all logging and debugging. Potentially also lowering the max connections, although that won't change too much.

    Best regards,

    Simon

Children
  • Hi Simon,

    I'm making a peripheral device( not sure if this is true with LE Audio?). it has the following two roles:

      1/LE Audio broadcaster sink

      2/sends sensor data to a different central via ACL connection 

    So if I understood correctly, I should be able to deactivate at least the following two configurations:

    CONFIG_BT_ISO_CENTRAL=n
    CONFIG_BT_ISO_BROADCASTER=n

    Best regards,

    Mehdi

Related