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

Unmodifiable APP_MAX_ADV_SLOTS in Eddystone example

In Eddystone example in SDK 12.2.0, APP_MAX_ADV_SLOTS parameter is by default 5, but if I try to use less than 5, an error appears in es_flash.c because in the code, 5 slots are fixed.

Two options I have are: First, use a modified copy of es_flash.c to match my requirements and second, made changes to allow dynamic slots creation in compile time.

Two questions from this:

Are these valid solutions? How Can I contribute to SDK or at least put an issue ticket?

Parents
  • Hi,

    Thank you for reporting this. It should be possible to change the number of advertisement slots, so this is a bug. This eddystone example is new in the SDK13-alpha, but I have reported the issue and it should be resolved in the next release of the SDK (when SDK13 goes out of alpha). In the meantime, you can apply one of your proposed solutions.

Reply
  • Hi,

    Thank you for reporting this. It should be possible to change the number of advertisement slots, so this is a bug. This eddystone example is new in the SDK13-alpha, but I have reported the issue and it should be resolved in the next release of the SDK (when SDK13 goes out of alpha). In the meantime, you can apply one of your proposed solutions.

Children
Related