nRF5340_audio not able to bond with android

Hello,
I'm trying to get nrf5340_audio example running on nrf5340 audio dk.

I'm able to build the code and run it however i'm unable to bond with my mobile phone with android 15

I'm using nrf connect sdk version 2.9.1

Using below command to build the application

west build -b nrf5340_audio_dk/nrf5340/cpuapp --pristine -DCONFIG_AUDIO_DEV=1

Attaching logs below

** Booting nRF Connect SDK v2.9.1-60d0d6c8d42d ***
*** Using Zephyr OS v3.7.99-ca954a6216c9 ***
HL [00:00:00.268,737] <inf> board_version: Compatible board/HW version found: 10
HL [00:00:00.301,391] <inf> fw_info:
nRF5340 Audio nRF5340 Audio DK cpuapp
NCS base version: 2.9.1
Cmake run : Thu Mar 20 16:55:36 2025
HL [00:00:00.301,391] <inf> fw_info: ------- DEBUG BUILD -------
HL [00:00:00.301,391] <inf> fw_info: HEADSET left device
HL [00:00:00.368,865] <inf> bt_mgmt_ctlr_cfg: Controller: SoftDevice: Version 66
HL [00:00:00.369,079] <inf> bt_mgmt: Local identity addr: F8:BE:A1:CD:EE:E6 (ra)
HL [00:00:00.399,505] <inf> bt_mgmt_scan: Local addr: F8:BE:A1:CD:EE:E6 (randomd
HL [00:00:00.399,505] <inf> bt_mgmt_scan: Scanning successfully started
*** Booting nRF Connect SDK v2.9.1-60d0d6c8d42d ***
*** Using Zephyr OS v3.7.99-ca954a6216c9 ***
HL [00:00:00.376,617] <inf> board_version: Compatible board/HW version found: 10
HL [00:00:00.409,301] <inf> fw_info:
nRF5340 Audio nRF5340 Audio DK cpuapp
NCS base version: 2.9.1
Cmake run : Thu Mar 20 18:27:28 2025
HL [00:00:00.409,301] <inf> fw_info: ------- DEBUG BUILD -------
HL [00:00:00.409,301] <inf> fw_info: HEADSET left device
HL [00:00:00.482,971] <inf> bt_mgmt_ctlr_cfg: Controller: SoftDevice: Version 66
HL [00:00:00.483,184] <inf> bt_mgmt: Local identity addr: CB:BB:A6:23:7B:20 (ra)
HL [00:00:00.512,084] <wrn> unicast_server: CSIP using the default SIRK, must bn
HL [00:00:00.515,838] <inf> bt_mgmt_adv: Local addr: 5F:85:78:D3:E0:D9 (random)
HL [00:00:00.516,357] <inf> bt_mgmt_adv: Advertising successfully started
HL [00:00:38.042,419] <inf> bt_mgmt: Connected: 46:E7:86:BF:E5:1D (random)
HL [00:00:38.042,449] <inf> main: Connection event. Num connections: 1
HL [00:01:21.386,779] <inf> bt_mgmt: Disconnected: 46:E7:86:BF:E5:1D (random),
HL [00:01:21.386,810] <inf> main: Disconnection event. Num connections: 0
HL [00:01:21.386,810] <wrn> bt_content_ctrl_media: Unable to look up conn point3
HL [00:01:21.387,695] <inf> bt_mgmt_adv: Local addr: 5F:85:78:D3:E0:D9 (random)
HL [00:01:21.388,214] <inf> bt_mgmt_adv: Advertising successfully started
HL [00:01:28.542,236] <inf> bt_mgmt: Connected: 46:E7:86:BF:E5:1D (random)
HL [00:01:28.542,266] <inf> main: Connection event. Num connections: 1
HL [00:01:30.927,185] <inf> main: Security changed
HL [00:01:33.207,153] <inf> bt_content_ctrl_media: Discovery of MCS finished
HL [00:02:12.233,978] <err> bt_content_ctrl_media: Invalid state: 0
HL [00:02:12.234,008] <wrn> bt_content_ctrl: Failed to change the streaming stae
HL [00:02:12.234,008] <wrn> main: Could not start: -140
HL [00:02:14.056,488] <err> bt_content_ctrl_media: Invalid state: 0
HL [00:02:14.056,488] <wrn> bt_content_ctrl: Failed to change the streaming stae
HL [00:02:14.056,488] <wrn> main: Could not start: -140
HL [00:00:01.838,623] <inf> bt_mgmt: Directed adv timed out with no connection,v
HL [00:00:01.841,979] <inf> bt_mgmt_adv: Local addr: 50:1E:3D:72:F7:D6 (random)
HL [00:00:01.842,498] <inf> bt_mgmt_adv: Advertising successfully started

Parents
  • Hi,

    Can you provide details about you test setup and testing procedure?

    Have you made any changes to audio application?

    Which Android phone do you use?

    Best regards,
    Dejan

  • Hello Dejan,

    I'm building the nrf5340_audio app as is for my nRF5340_audio dk, 
    Goal is to connect it to a phone and to be able to use nRF5340_audio dk as headset.

    I haven't made any changes to the application

    I have used this command to build the application
    west build -b nrf5340_audio_dk/nrf5340/cpuapp --pristine -DCONFIG_AUDIO_DEV=1

    I'm using OnePlus Nord CE4 for testing 

  • Hi,

    Ye previously provided logs are collected when i tried to pair the device with the audio dk

    Regards

  • Hi,

    Do you have any other phone (which supports LE Audio) that you could use for testing?

    Best regards,
    Dejan

  • Hi Dejan,

    I tried with another mobile which support LE Audio, with that mobile also i got same issue,
    I was able to bond with the device and connect in nRF Connect app but unable to use as headset

    Here are logs form nRF Connect app

    nRF Connect, 2025-03-26
    NRF5340_AUDIO (CB:BB:A6:23:7B:20)
    V	14:40:35.584	Connecting to CB:BB:A6:23:7B:20...
    D	14:40:35.584	gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE, preferred PHY = LE 1M)
    D	14:40:35.608	[Callback] Connection state changed with status: 0 and new state: CONNECTED (2)
    I	14:40:35.608	Connected to CB:BB:A6:23:7B:20
    D	14:40:35.608	wait(1600ms)
    D	14:40:35.615	[Callback] Connection state changed with status: 0 and new state: CONNECTED (2)
    V	14:40:37.210	Discovering services...
    D	14:40:37.210	gatt.discoverServices()
    D	14:40:37.225	[Callback] Services discovered with status: 0
    I	14:40:37.226	Services discovered
    V	14:40:37.238	Generic Attribute (0x1801)
    - Service Changed [I] (0x2A05)
       Client Characteristic Configuration (0x2902)
    - Client Supported Features [R W] (0x2B29)
    - Database Hash [R] (0x2B2A)
    Generic Access (0x1800)
    - Device Name [R W] (0x2A00)
    - Appearance [R] (0x2A01)
    Published Audio Capabilities Service (0x1850)
    - Sink PAC [R] (0x2BC9)
       Client Characteristic Configuration (0x2902)
    - Sink Audio Locations [R] (0x2BCA)
    - Source PAC [R] (0x2BCB)
       Client Characteristic Configuration (0x2902)
    - Source Audio Locations [R] (0x2BCC)
    - Available Audio Contexts [N R] (0x2BCD)
       Client Characteristic Configuration (0x2902)
    - Supported Audio Contexts [R] (0x2BCE)
    Audio Stream Control Service (0x184E)
    - ASE Control Point [N W WNR] (0x2BC6)
       Client Characteristic Configuration (0x2902)
    - Sink ASE [N R] (0x2BC4)
       Client Characteristic Configuration (0x2902)
    Coordinated Set Identification Service (0x1846)
    - Set Identity Resolving Key Characteristic [R] (0x2B84)
    - Size Characteristic [N R] (0x2B85)
       Client Characteristic Configuration (0x2902)
    - Lock Characteristic [N R W] (0x2B86)
       Client Characteristic Configuration (0x2902)
    - Rank Characteristic [R] (0x2B87)
    Common Audio Service (0x1853)
    Volume Control (0x1844)
    - Volume State [N R] (0x2B7D)
       Client Characteristic Configuration (0x2902)
    - Volume Control Point [W] (0x2B7E)
    - Volume Flags [R] (0x2B7F)
    D	14:40:37.239	gatt.setCharacteristicNotification(00002a05-0000-1000-8000-00805f9b34fb, true)
    D	14:40:37.243	gatt.setCharacteristicNotification(00002bcd-0000-1000-8000-00805f9b34fb, true)
    E	14:40:37.247	Exception occurred (Need BLUETOOTH PRIVILEGED permission: Neither user 10403 nor current process has android.permission.BLUETOOTH_PRIVILEGED.)
    D	14:40:37.247	gatt.setCharacteristicNotification(00002bc6-0000-1000-8000-00805f9b34fb, true)
    E	14:40:37.249	Exception occurred (Need BLUETOOTH PRIVILEGED permission: Neither user 10403 nor current process has android.permission.BLUETOOTH_PRIVILEGED.)
    D	14:40:37.249	gatt.setCharacteristicNotification(00002bc4-0000-1000-8000-00805f9b34fb, true)
    E	14:40:37.250	Exception occurred (Need BLUETOOTH PRIVILEGED permission: Neither user 10403 nor current process has android.permission.BLUETOOTH_PRIVILEGED.)
    D	14:40:37.251	gatt.setCharacteristicNotification(00002b85-0000-1000-8000-00805f9b34fb, true)
    E	14:40:37.252	Exception occurred (Need BLUETOOTH PRIVILEGED permission: Neither user 10403 nor current process has android.permission.BLUETOOTH_PRIVILEGED.)
    D	14:40:37.252	gatt.setCharacteristicNotification(00002b86-0000-1000-8000-00805f9b34fb, true)
    E	14:40:37.254	Exception occurred (Need BLUETOOTH PRIVILEGED permission: Neither user 10403 nor current process has android.permission.BLUETOOTH_PRIVILEGED.)
    D	14:40:37.254	gatt.setCharacteristicNotification(00002b7d-0000-1000-8000-00805f9b34fb, true)
    E	14:40:37.256	Exception occurred (Need BLUETOOTH PRIVILEGED permission: Neither user 10403 nor current process has android.permission.BLUETOOTH_PRIVILEGED.)
    V	14:40:59.833	Reading characteristic 00002b86-0000-1000-8000-00805f9b34fb
    D	14:40:59.833	gatt.readCharacteristic(00002b86-0000-1000-8000-00805f9b34fb)
    E	14:40:59.836	Exception occurred (Need BLUETOOTH PRIVILEGED permission: Neither user 10403 nor current process has android.permission.BLUETOOTH_PRIVILEGED.)
    V	14:41:12.501	Writing request to characteristic 00002b7e-0000-1000-8000-00805f9b34fb
    D	14:41:12.501	gatt.writeCharacteristic(00002b7e-0000-1000-8000-00805f9b34fb, value=0x2B7F)
    E	14:41:12.501	Exception occurred (Writing characteristic failed)
    I	14:42:35.321	PHY updated (TX: LE 2M, RX: LE 1M)

  • Hi,

    Which mobile phone did you use?
    Does this phone support LE Audio?

    Best regards,
    Dejan

  • Hi Dejan,

    I'm using Oneplus Nord CE4 with android 15
    Also attached the device information

    This information i already provided in previous chats

Reply Children
  • Hi,

    dejans said:
    Which mobile phone did you use?
    Does this phone support LE Audio?
    MalikRehan_05 said:
    I tried with another mobile which support LE Audio, with that mobile also i got same issue

    My question was about the second phone. The first phone was Oneplus Nord CE4 with Android 15. What was the second one that you got the same issue with? Have you maybe tried using 2 different Oneplus Nord CE4 phones?

    Best regards,
    Dejan

Related