I am not able to scan the advertisement from my unicast sink into the NRF5340 unicast Gate way application

Hello,

I am using nrf5340 Audio DK board. In that board I have flashed a sample firmware of Unicast Gateway.

This firmware is suppose to scan the advertisement and establish the connection. I have my own unicast headset which advertise. I am not able to see the scan result in NRF5340 gateway application. 

I need help here, what changes I need to make in NRF5340 gateway application so that it will able to scan and connect with my unicast headset?

Best Regards,

Sanket C

  • Hi Sanket,

    By default the gateway will search for devices named "NRF5340_AUDIO". This is set in the scan parameters for the Unicast Client and the code is found here. If you change the name to an empty string or the name your Unicast headset is advertising with, your gateways should find the advertisements.

    Best regards,

    Maria

  • Thank you Maria for the help. I could able to scan my device with NRF5340 but now I stuck with below error:

    GW [00:00:58.046,081] <inf> bt_mgmt_scan: Scanning successfully started
    GW [00:00:58.134,460] <inf> bt_mgmt_scan: Creating connection to device: 43:82:A1:00:1F:AC (public)
    GW [00:00:58.134,552] <wrn> bt_conn: Found valid connection (0x20004538) with address 43:82:A1:00:1F:AC (public) in connected state
    GW [00:00:58.134,552] <err> bt_mgmt_scan: Could not init connection
    GW [00:00:58.135,650] <inf> bt_mgmt_scan: Local addr: 42:1F:1C:C1:47:DB (random). May time out. Updates not printed
    GW [00:00:58.135,650] <inf> bt_mgmt_scan: Scanning successfully started

    I am getting repeated error as above. What extra action I need to take here? Please suggest here.

    Best Regards,

    Sanket Chadawar

  • Thank you Maria for the help. I could able to scan my device with NRF5340 but now I stuck with below error:

    GW [00:00:58.046,081] <inf> bt_mgmt_scan: Scanning successfully started
    GW [00:00:58.134,460] <inf> bt_mgmt_scan: Creating connection to device: 43:82:A1:00:1F:AC (public)
    GW [00:00:58.134,552] <wrn> bt_conn: Found valid connection (0x20004538) with address 43:82:A1:00:1F:AC (public) in connected state
    GW [00:00:58.134,552] <err> bt_mgmt_scan: Could not init connection
    GW [00:00:58.135,650] <inf> bt_mgmt_scan: Local addr: 42:1F:1C:C1:47:DB (random). May time out. Updates not printed
    GW [00:00:58.135,650] <inf> bt_mgmt_scan: Scanning successfully started

    I am getting repeated error as above. What extra action I need to take here? Please suggest here.

    Best Regards,

    Sanket Chadawar

  • Hi Sanket Chadawar,

    My initial hypothesis is that there could be bonding information left in one of the devices. Are you able to create the connection without errors when you delete bonding information on both devices and then reboot them?

    Best regards,

    Maria

Related