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

Periodic Advertisement sample on nrf9160dk_52840 not working

Hi, I am trying to run the periodic_adv sample on nrf9160dk_52840 which was added to the samples directory of the zepyhr repo 15 days ago. I am using nRF Connect SDK v1.4.99-dev1.

In the changelog of this version it is stated that:

Added experimental support for Periodic Advertising and Periodic Advertising Synchronization Establishment.

Yet the periodic_adv sample is not included in the zephyr directory of the nRF Connect SDK. I tried to run it by copying the sample from the zephyr repo to the nRF Connect SDK zephyr directory but when I run the program on nrf9160dk_52840, I get this error message:

ASSERTION FAIL [err == 0] @ WEST_TOPDIR/zephyr/subsys/bluetooth/host/hci_core.c:374
k_sem_take failed with err -11

This error occurs just before set_le_adv_enable_ext function returns.

Thanks in advance.

Parents Reply Children
  • I prefer to use nRF5 SDK and am trying to implement periodic advertising using Coded PHY.

    My payload is actually small but I need to use extended advertising since Coded PHY needed it (correct me if I'm wrong as I am still studying on BLE long range). No matter how small my payload is the data will be fragment over to the secondary channel. Using secondary channel no doubt increased my current consumption (Coded PHY already has a long advertising time plus AUX_ADV_IND packet in secondary channel).

    So I wonder if periodic advertising mentioned in Bluetooth 5 can help reduce the power consumption especially over several advertisement packet when using Coded PHY.

    Currently using nRF52840 with s140 and nRF5_SDK17

  • Could you open a new ticket about this, since this ticket is about the nRF Connect SDK and I do not have the best knowledge about the nRF5 SDK and your particular question.

    Best regards,

    Simon

Related