nRF5340 Audio + peripheral_uart integration not connecting to central_uart board but connects to nRF Connect mobile app

Hi,

I am working on integrating the peripheral_uart sample with nRF5340 Audio (LE Audio) on the nRF5340 Audio DK.

Setup

Peripheral Side

Merged applications:

  • peripheral_uart
  • nrf5340_audio

The peripheral:

  • advertises successfully
  • is visible in nRF Connect mobile app
  • connects successfully to mobile phones
  • NUS service is still enabled

Central Side

Using modified central_uart sample:

  • NUS client enabled
  • fixed target MAC address filtering
  • auto-connect enabled
  • UART forwarding enabled

The central works perfectly with:

  • plain peripheral_uart

But it does NOT connect with:

  • peripheral_uart + LE Audio

even though the merged peripheral is connectable from mobile.

Observation

The peripheral MAC address is constant and not changing.

So this does NOT appear to be a privacy/random address issue.

Questions

  1. Does LE Audio integration modify advertising behavior such that the bt_scan address filter mechanism behaves differently?
  2. Is extended advertising (CONFIG_BT_EXT_ADV) known to affect central_uart style scan filtering / auto-connect behavior?

Any guidance on best practices for coexistence of:

  • LE Audio
  • NUS/custom GATT services
  • central_uart based connections

would be very helpful.

Thanks.

Parents Reply Children
  • Is the modified central_uart sample also running on an nRF5340 Audio DK?

    I haven't modified the code yet. The sample central_uart code runs on the nrf5340_DK.

    And have you merged audio features on the central side as well?

    No. 

    I'd strongly recommend to start with the nRF Audio client and server applications and rather add the UART features to that project

    I did audio_server + peripheral_uart , but audio_client + central_uart is not done.

    It's hard to say what causes the device to no longer show up since I don't know what changes exactly you have made to the peripheral_uart and central_uart samples.

    I am yet to do the audio_client + central_uart integration, but will that solve the pairing issue and will I be able to stream audio + data?

    Regards
    Pallavi L S 

Related