Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Dynamic control of active slots

Hi, I'm developing a Eddystone Beacon based on the Eddystone example of the SDK 15.2.0 using a nRF52832 chip. I've made some modifications to the code, but I'm facing difficulties in the implementation of a major feature. I need to dynamic control the active slots, for example let's consider that there are 2 slots programmed, both of type UID, slot 0 is always advertising, however slot 1 only advertises when a button is pressed, and here is the problem that i'm facing. I'm unable to find/understand in the code if this is possible, and if it is where and how it should be done.

Thanks in advance for any help.

Parents
  • Hi.

    Sorry for the late reply, as this question required a fair amount of digging.

    The Eddystone example and the library does not have this implemented, so you have to implement this by yourself.

    The library as it is now, iterates through the slots structure and transmits one advertisement for each of the active slots.

    So, you must modify the library to make it suitable for the behavior you wish.

    Hope this helps.

    - Andreas

Reply
  • Hi.

    Sorry for the late reply, as this question required a fair amount of digging.

    The Eddystone example and the library does not have this implemented, so you have to implement this by yourself.

    The library as it is now, iterates through the slots structure and transmits one advertisement for each of the active slots.

    So, you must modify the library to make it suitable for the behavior you wish.

    Hope this helps.

    - Andreas

Children
Related