This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Periodic Adv on nRF52833

Hello, 

I'm testing periodic advertising sample (sample/bluetooth/periodic_adv,with no changes to the code) on nRF Connect SDK 1.7.0, on BBC MICORBIT V2 that has a nRF52833 chip. 

The code returns an error at: "err = bt_le_per_adv_set_param(adv, BT_LE_PER_ADV_DEFAULT);", and it indicates that "

BT_FEAT_LE_EXT_PER_ADV(bt_dev.le.features)"

is not supported. Could you advice what is the root cause? Is it on the chip or some code configuration? 

Thanks a lot, 

Parents
  • Thanks very much Elfving, Using the same workspace I did yesterday, I applied this config in the prj.conf file. Now the output has a different error code ( -5), see the screenshot below. I believe it still doesn't work. Could you provide a validated example as part of nrf Connect, as you stated the periodic advertising is supported by nrf52833 and nrf52840. 

    Thanks a lot,

    And the prj.conf file is: 

    CONFIG_BT=y
    CONFIG_BT_EXT_ADV=y
    CONFIG_BT_PER_ADV=y
    CONFIG_BT_DEBUG_LOG=y
    CONFIG_BT_DEVICE_NAME="Test Periodic Advertising"
    CONFIG_BT_LL_SW_SPLIT=y

  • Hello Libo!

    Ah, yes it seems that you would need these two configurations as well:

    CONFIG_BT_CTLR_ADV_EXT=y

    CONFIG_BT_CTLR_ADV_PERIODIC=y

    It should work now, I just tried it myself. If you want to try the periodic sync example you would need CONFIG_BT_CTLR_SYNC_PERIODIC.

    Best regards,

    Elfving

Reply Children
Related