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

Parents Reply Children
  • 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

  • Hello Team,

    I upgraded the NRF COnnect SDK to 2.7.0 and now I am not able to do the same as per previous comments.

    When I try to modify the  here. I observed that it is not a part of the build (I intentionally inserted the build error) and post that also I the build is passed.

    Please guide me.

    Also I am not able to see the adv from the gate way device in my mobile phone  (earlier version I used to see it in the mobile BT scanner)?

  • Hello,

    sanket_cha said:
    I upgraded the NRF COnnect SDK to 2.7.0 and now I am not able to do the same as per previous comments.

    Do I understand correctly that you were able to make the connection work when deleting bonding information on reboot? Are you getting identical error logs? Please share the new logs if they are different.

    When you upgraded to NCS v2.7.0, did you build and flash both the app and network core?

    sanket_cha said:
    Also I am not able to see the adv from the gate way device in my mobile phone  (earlier version I used to see it in the mobile BT scanner)?

    The unicast gateway configuration of the audio application will scan, not advertise. The broadcast source configuration will advertise.

    Best regards,

    Maria

Related