Unicast Client App interacting with non-nordic Headset

nrf Toolchain: 2.7.0
nrf Connect SDK : 2.7.0
Gateway: nrF5340 Audio DK
Headset: Earbud 'MOMENTUM TW 4' (Sennheiser)

I try to run and test this following application Unicast Client into the nrF5340 Audio DK (as role gateway) which should interact with my earbud 'MOMENTUM TW 4' (as role headset).

=> the Bluetooth paring and connection between the nrF5340-Audio-DK (as role gateway) and the earbud 'MOMENTUM TW 4' (as role headset) are successfull,
But a error occurs afterwards and I hear no sound into the earbuds.
Here are the logs:

*** Booting nRF Connect SDK v2.7.99-8765c758005e ***
*** Using Zephyr OS v3.6.99-8bd088c7c293 ***
GW [00:00:00.268,920] <inf> board_version: Compatible board/HW version found: 1.0.0
GW [00:00:00.293,823] <inf> fw_info: 
         nRF5340 Audio nRF5340 Audio DK cpuapp                      
         NCS base version: 2.7.99                           
         Cmake run : Fri Aug 16 12:14:49 2024
GW [00:00:00.293,853] <inf> fw_info: ------- DEBUG BUILD -------
GW [00:00:00.293,853] <inf> fw_info: Compiled for GATEWAY device
GW [00:00:00.362,762] <inf> bt_keys: SC LTK: 0x1895434034798a4223cf14ed5c7191af
GW [00:00:00.364,562] <inf> bt_mgmt: Clearing all bonds
GW [00:00:00.366,516] <inf> bt_mgmt_ctlr_cfg: Controller: SoftDevice: Version 5.4 (0x0d), Revision 8751
GW [00:00:00.366,729] <inf> bt_mgmt: Local identity addr: C6:95:06:0E:89:94 (random)
GW [00:00:00.366,851] <inf> audio_usb: Ready for USB host to send/receive.
GW [00:00:00.370,666] <inf> bt_mgmt_scan: Local addr: 77:C4:44:3E:64:AB (random). May time out. Updates not printed
GW [00:00:00.370,697] <inf> bt_mgmt_scan: Scanning successfully started
GW [00:00:00.429,260] <inf> bt_mgmt_scan: Creating connection to device: 80:C3:BA:54:D2:5F (public)
GW [00:00:00.502,105] <inf> bt_mgmt: Connected: 80:C3:BA:54:D2:5F (public)
GW [00:00:00.502,166] <inf> main: Connection event. Num connections: 1
GW [00:00:01.713,714] <inf> main: Security changed
GW [00:00:01.804,473] <inf> bt_keys: SC LTK: 0xdeff6a9bc66c143bc108fbdb2ddc5f00
GW [00:00:01.863,555] <wrn> unicast_client: Got err: 0 from conn: 0x20004a30
GW [00:00:01.864,990] <inf> bt_mgmt_scan: Local addr: 77:C4:44:3E:64:AB (random). May time out. Updates not printed
GW [00:00:01.864,990] <inf> bt_mgmt_scan: Scanning successfully started
GW [00:00:02.223,632] <inf> bt_vol_ctlr: VCS discover finished
GW [00:00:06.153,625] <err> bt_bap_unicast_client: Unable to find ASE Control Point
GW [00:00:06.153,656] <wrn> unicast_client: No sinks found
GW [00:00:06.153,747] <err> unicast_client: Failed to start unicast sink audio: -22


I have added this 2 additional config parameters into the prj.conf :

CONFIG_BT_DEVICE_NAME="MOMENTUM TW 4"
CONFIG_BT_LOG_SNIFFER_INFO=y

# Enable the Auracast/Broadcast mode
# CONFIG_TRANSPORT_BIS=y


Can you support me to solve the issue ?

Thank in advance for your answers and best regards.

Parents
  • Hi,

    Unicast Audio client implements CIS gateway mode. Do you see the same error when you remove CONFIG_TRANSPORT_BIS=y from your configuration? 

    Best regards,
    Dejan

  • Hi,

    You could also try to power on the earbuds and put into ear first (for a couple of seconds) before starting CIS gateway. Does this make any difference?

    => I doesn't make any difference. here are the logs

    *** Using Zephyr OS v3.6.99-8bd088c7c293 ***
    GW [00:00:00.269,012] <inf> board_version: Compatible board/HW version found: 1.0.0
    GW [00:00:00.293,914] <inf> fw_info: 
             nRF5340 Audio nRF5340 Audio DK cpuapp                      
             NCS base version: 2.7.99                           
             Cmake run : Thu Aug 29 08:10:00 2024
    GW [00:00:00.293,914] <inf> fw_info: ------- DEBUG BUILD -------
    GW [00:00:00.293,914] <inf> fw_info: Compiled for GATEWAY device
    GW [00:00:00.362,854] <inf> bt_keys: SC LTK: 0x684db1200dee505a1155c101ec74ace9
    GW [00:00:00.365,142] <inf> bt_mgmt_ctlr_cfg: Controller: SoftDevice: Version 5.4 (0x0d), Revision 8751
    GW [00:00:00.365,325] <inf> bt_mgmt: Local identity addr: C6:95:06:0E:89:94 (random)
    GW [00:00:00.365,447] <inf> audio_usb: Ready for USB host to send/receive.
    GW [00:00:00.369,384] <inf> bt_mgmt_scan: Local addr: 73:0B:BA:72:0A:3F (random). May time out. Updates not printed
    GW [00:00:00.369,384] <inf> bt_mgmt_scan: Scanning successfully started
    GW [00:00:03.902,160] <inf> bt_mgmt_scan: Creating connection to device: 80:C3:BA:54:D2:5F (public)
    GW [00:00:04.411,407] <inf> bt_mgmt: Connected: 80:C3:BA:54:D2:5F (public)
    GW [00:00:04.411,437] <inf> main: Connection event. Num connections: 1
    GW [00:00:04.483,581] <inf> main: Security changed
    GW [00:00:04.573,577] <wrn> unicast_client: Got err: 0 from conn: 0x20006910
    GW [00:00:04.575,286] <inf> bt_mgmt_scan: Local addr: 73:0B:BA:72:0A:3F (random). May time out. Updates not printed
    GW [00:00:04.575,286] <inf> bt_mgmt_scan: Scanning successfully started
    GW [00:00:04.913,574] <inf> bt_vol_ctlr: VCS discover finished
    GW [00:00:08.813,568] <err> bt_bap_unicast_client: Unable to find ASE Control Point
    GW [00:00:08.813,568] <wrn> unicast_client: No sinks found
    GW [00:00:08.813,690] <err> unicast_client: Failed to start unicast sink audio: -22
    GW [00:00:34.463,562] <inf> bt_mgmt: Disconnected: 80:C3:BA:54:D2:5F (public), reason 0x13 
    GW [00:00:34.463,623] <inf> main: Disconnection event. Num connections: 0
    GW [00:00:34.465,332] <inf> bt_mgmt_scan: Local addr: 73:0B:BA:72:0A:3F (random). May time out. Updates not printed
    GW [00:00:34.465,332] <inf> bt_mgmt_scan: Scanning successfully started
    GW [00:00:34.661,224] <inf> bt_mgmt_scan: Creating connection to device: 80:C3:BA:54:D2:5F (public)
    GW [00:00:34.906,982] <inf> bt_mgmt: Connected: 80:C3:BA:54:D2:5F (public)
    GW [00:00:34.907,012] <inf> main: Connection event. Num connections: 1
    GW [00:00:34.978,240] <inf> main: Security changed
    GW [00:00:35.058,654] <wrn> unicast_client: Got err: 0 from conn: 0x20006910
    GW [00:00:35.060,058] <inf> bt_mgmt_scan: Local addr: 73:0B:BA:72:0A:3F (random). May time out. Updates not printed
    GW [00:00:35.060,089] <inf> bt_mgmt_scan: Scanning successfully started
    GW [00:00:35.438,751] <inf> bt_vol_ctlr: VCS discover finished
    GW [00:00:39.368,225] <err> bt_bap_unicast_client: Unable to find ASE Control Point
    GW [00:00:39.368,225] <wrn> unicast_client: No sinks found
    GW [00:00:39.368,347] <err> unicast_client: Failed to start unicast sink audio: -22

Reply
  • Hi,

    You could also try to power on the earbuds and put into ear first (for a couple of seconds) before starting CIS gateway. Does this make any difference?

    => I doesn't make any difference. here are the logs

    *** Using Zephyr OS v3.6.99-8bd088c7c293 ***
    GW [00:00:00.269,012] <inf> board_version: Compatible board/HW version found: 1.0.0
    GW [00:00:00.293,914] <inf> fw_info: 
             nRF5340 Audio nRF5340 Audio DK cpuapp                      
             NCS base version: 2.7.99                           
             Cmake run : Thu Aug 29 08:10:00 2024
    GW [00:00:00.293,914] <inf> fw_info: ------- DEBUG BUILD -------
    GW [00:00:00.293,914] <inf> fw_info: Compiled for GATEWAY device
    GW [00:00:00.362,854] <inf> bt_keys: SC LTK: 0x684db1200dee505a1155c101ec74ace9
    GW [00:00:00.365,142] <inf> bt_mgmt_ctlr_cfg: Controller: SoftDevice: Version 5.4 (0x0d), Revision 8751
    GW [00:00:00.365,325] <inf> bt_mgmt: Local identity addr: C6:95:06:0E:89:94 (random)
    GW [00:00:00.365,447] <inf> audio_usb: Ready for USB host to send/receive.
    GW [00:00:00.369,384] <inf> bt_mgmt_scan: Local addr: 73:0B:BA:72:0A:3F (random). May time out. Updates not printed
    GW [00:00:00.369,384] <inf> bt_mgmt_scan: Scanning successfully started
    GW [00:00:03.902,160] <inf> bt_mgmt_scan: Creating connection to device: 80:C3:BA:54:D2:5F (public)
    GW [00:00:04.411,407] <inf> bt_mgmt: Connected: 80:C3:BA:54:D2:5F (public)
    GW [00:00:04.411,437] <inf> main: Connection event. Num connections: 1
    GW [00:00:04.483,581] <inf> main: Security changed
    GW [00:00:04.573,577] <wrn> unicast_client: Got err: 0 from conn: 0x20006910
    GW [00:00:04.575,286] <inf> bt_mgmt_scan: Local addr: 73:0B:BA:72:0A:3F (random). May time out. Updates not printed
    GW [00:00:04.575,286] <inf> bt_mgmt_scan: Scanning successfully started
    GW [00:00:04.913,574] <inf> bt_vol_ctlr: VCS discover finished
    GW [00:00:08.813,568] <err> bt_bap_unicast_client: Unable to find ASE Control Point
    GW [00:00:08.813,568] <wrn> unicast_client: No sinks found
    GW [00:00:08.813,690] <err> unicast_client: Failed to start unicast sink audio: -22
    GW [00:00:34.463,562] <inf> bt_mgmt: Disconnected: 80:C3:BA:54:D2:5F (public), reason 0x13 
    GW [00:00:34.463,623] <inf> main: Disconnection event. Num connections: 0
    GW [00:00:34.465,332] <inf> bt_mgmt_scan: Local addr: 73:0B:BA:72:0A:3F (random). May time out. Updates not printed
    GW [00:00:34.465,332] <inf> bt_mgmt_scan: Scanning successfully started
    GW [00:00:34.661,224] <inf> bt_mgmt_scan: Creating connection to device: 80:C3:BA:54:D2:5F (public)
    GW [00:00:34.906,982] <inf> bt_mgmt: Connected: 80:C3:BA:54:D2:5F (public)
    GW [00:00:34.907,012] <inf> main: Connection event. Num connections: 1
    GW [00:00:34.978,240] <inf> main: Security changed
    GW [00:00:35.058,654] <wrn> unicast_client: Got err: 0 from conn: 0x20006910
    GW [00:00:35.060,058] <inf> bt_mgmt_scan: Local addr: 73:0B:BA:72:0A:3F (random). May time out. Updates not printed
    GW [00:00:35.060,089] <inf> bt_mgmt_scan: Scanning successfully started
    GW [00:00:35.438,751] <inf> bt_vol_ctlr: VCS discover finished
    GW [00:00:39.368,225] <err> bt_bap_unicast_client: Unable to find ASE Control Point
    GW [00:00:39.368,225] <wrn> unicast_client: No sinks found
    GW [00:00:39.368,347] <err> unicast_client: Failed to start unicast sink audio: -22

Children
Related