BLE multiple connections support

Dears,

We are developing a product based on nRF5340.

OS: Zephyr RTOS
SDK: zephyr-sdk-0.15.2

Right now single connection works and iOS/Android phone with our app is able to connect to nRF5340 device via BLE. But only 1 connection has been supported.

Following this thread:  BLE peripheral that supports 2 simultaneous connections with nRF Connect SDK 1.8
didn't work for me.

Do you have an idea where I need to look?

Thank you in advance.

Parents
  • Hi SimpleSoft,

    CONFIG_SDC_SLAVE_COUNT as mentioned in that post has been refactored into CONFIG_BT_CTLR_SDC_PERIPHERAL_COUNT.
    However, I guess you knew that, or you would have gotten an error.

    If you have followed the steps in that DevZone thread, then it's most likely that you just haven't set the connection limit on the application core.

    Please make sure to:

    1. Set the following Kconfig for the network core image
      1. CONFIG_BT_CTLR_SDC_PERIPHERAL_COUNT=2
      2. CONFIG_BT_MAX_CONN=2
        1. It is normally defaulted to 16, so if you don't need to change it, that's fine
    2. Set the following Kconfig for the application core image
      1. CONFIG_BT_MAX_CONN=2

    Hieu

Reply
  • Hi SimpleSoft,

    CONFIG_SDC_SLAVE_COUNT as mentioned in that post has been refactored into CONFIG_BT_CTLR_SDC_PERIPHERAL_COUNT.
    However, I guess you knew that, or you would have gotten an error.

    If you have followed the steps in that DevZone thread, then it's most likely that you just haven't set the connection limit on the application core.

    Please make sure to:

    1. Set the following Kconfig for the network core image
      1. CONFIG_BT_CTLR_SDC_PERIPHERAL_COUNT=2
      2. CONFIG_BT_MAX_CONN=2
        1. It is normally defaulted to 16, so if you don't need to change it, that's fine
    2. Set the following Kconfig for the application core image
      1. CONFIG_BT_MAX_CONN=2

    Hieu

Children
Related