BLE Advertising and Multiple Client Connections

Hi NORDIC Support Team,

I am using the nrf5340 and attempting to enable a BLE connection on the board with 2 clients simultaneously.

The issue I'm encountering is that after advertising the device, both clients can see it. However, after one client connects, the second client can no longer connect. In a subsequent scan, the second client cannot find the advertising device.

As a workaround, re-advertising the device allows the second client to connect. But is it possible, in principle, to connect both clients one after the other within the same advertising window? Is this supported at the infrastructure level?

Thank you for your assistance.

Parents
  • Hi Shira,

    Please take a look at this ticket.

    Make sure to set update the number of connections in the prj.conf as mentioned in the ticket, appropriately and this should solve your issue.

    Regards,

    Priyanka

  • Hi Priyanke,

    Thank you for the quick response.

    I tried the configuration mentioned in that ticket; however, the problem persists.

    Moreover, after I build the system, even though I set CONFIG_BT_CENTRAL to y, it seems that it saves this setting with a value of n.

    I've attached the configuration files prj.conf and child_image/hci_ipc.conf.

    5282.prj.conf

    7357.hci_ipc.conf

    Perhaps I've missed something in this configuration layer? Is it possible that some other configuration is overriding the settings above?

    Thanks a lot,

    Shira

Reply
  • Hi Priyanke,

    Thank you for the quick response.

    I tried the configuration mentioned in that ticket; however, the problem persists.

    Moreover, after I build the system, even though I set CONFIG_BT_CENTRAL to y, it seems that it saves this setting with a value of n.

    I've attached the configuration files prj.conf and child_image/hci_ipc.conf.

    5282.prj.conf

    7357.hci_ipc.conf

    Perhaps I've missed something in this configuration layer? Is it possible that some other configuration is overriding the settings above?

    Thanks a lot,

    Shira

Children