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

Max Advertising interval in Eddystone example

Hi Nordic,

We created a firmware based on the eddystone example in nRF5_SDK_17.0.0_9d13099,

I modified the macro APP_CONFIG_ADV_INTERVAL_MS_MAX  in es_app_config.h from 10240 to 20000, and then configure the advertising interval to 20000ms, 

it report an error,  <error> app: Fatal error .  Can you help analyze why there is this error?   I know that in the BLE core v5.0, the advertising_interval_max are 10.24s.

However, previously we created the same application firmware based on nRF5_SDK_14.0.0_3bcc1f7, with the same settings(APP_CONFIG_ADV_INTERVAL_MS_MAX ---20000), if we configure the interval to 20000, it can advertising as expected 20000ms. 

The same settings in application, different SDK,  Why the maximum interval that can be set is different? Thanks in advance.

Best regards,

Susan

Parents
  • Hi,

    The same settings in application, different SDK,  Why the maximum interval that can be set is different? Thanks in advance.

     There has been some changes in the SDK since SDK 14. E.g. in SDK 15 we have this change mentioned on the release notes:

     - Lowered the advertising interval in the Eddystone example (ble_app_eddystone), because some advertising packets would be lost when combined
    	with the timeslot API.
     - Reduced the maximum supported value for advertising interval in Eddystone from 20000 to 16384. If a higher value is set, the SoftDevice returns
    	an error code that asserts the application.

    and in SDK 16 we have this bug-fix:

    - Eddystone: fixed bug for handling 0.625 unit in advertising interval.

    So 20000 advertising interval is not longer supported.

  • Hi Sigurd,

    Thanks for your explaination.

    The firmware we created based SDK14, if I configure the tx interval to 20s, the UID and URL slots can advertise as 20s interval, but the TLM slot will stop advertising, can you help me analyze the reason?

    In addtion, can UID , URL be set to different tx interval? e.g. UID 1s, URL 5s.

    Thank you very much.

    Sincerely,

    Susan

Reply
  • Hi Sigurd,

    Thanks for your explaination.

    The firmware we created based SDK14, if I configure the tx interval to 20s, the UID and URL slots can advertise as 20s interval, but the TLM slot will stop advertising, can you help me analyze the reason?

    In addtion, can UID , URL be set to different tx interval? e.g. UID 1s, URL 5s.

    Thank you very much.

    Sincerely,

    Susan

Children
Related