This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Extended advertising and central role compatibility

Hi all,

We are developing an application using nRF52840 device and the idea is to enable the device with peripheral and central roles.

We would like to set two advertising sets, first one for legacy advertising on 1M PHY and a second one, extended, on Coded PHY.

I managed to make both advertising sets work if CONFIG_BT_CENTRAL role is not enabled. However, if CONFIG_BT_CENTRAL is enabled, I have got BT_HCI_ERR_CONN_LIMIT_EXCEEDED error when executing bt_le_ext_adv_start() function.

I am working with nRF Connect SDK v1.8.0 and SoftDevice HCI Controller.

Please find attached debug output screenshot, ble.c application code and prj.conf file.

Any suggestion would be much appreciated.

Kindest regards,

Parents
  • Hi Aritz, 

    Could you double check in autoconfig.h that's generated by compiling, to see if CONFIG_BT_MAX_CONN is set to 10 or something else?
    I suspect that there could be the chance that the BLE controller was not configured to support more than 2 connections. 

    Could you send the full project so we can compile and test here ? 

Reply
  • Hi Aritz, 

    Could you double check in autoconfig.h that's generated by compiling, to see if CONFIG_BT_MAX_CONN is set to 10 or something else?
    I suspect that there could be the chance that the BLE controller was not configured to support more than 2 connections. 

    Could you send the full project so we can compile and test here ? 

Children
No Data
Related