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,

  • Hi Hung,

    That is correct. I have two boards running the same code and I enable/disable advertising with a couple of buttons.

    I have done several tests by changing advertising and scanning intervals and I can confirm that advertising packets on both 1M and Coded PHY are being detected. I guess there is a compromise with the scanning and advertising intervals.

    I am happy to close this ticket Hung.

    Thank you very much for your time and support.

    Regards,

Related