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 Hung,

    Thanks for your response.

    I have double checked CONFIG_BT_MAX_CONN in autoconfig.h file and it is set to 10 as well.

    At the moment I am working with a custom board, let me build the project to run in the nRF52840-DK board and I will send the whole project to you.

    Please find attached autoconf.h file.

     

Reply
  • Hi Hung,

    Thanks for your response.

    I have double checked CONFIG_BT_MAX_CONN in autoconfig.h file and it is set to 10 as well.

    At the moment I am working with a custom board, let me build the project to run in the nRF52840-DK board and I will send the whole project to you.

    Please find attached autoconf.h file.

     

Children
No Data
Related