Skip to main content

Advertising Interval setting in Ibeacon example code

5 months ago

Advertising Interval setting in Ibeacon example code

Posted bychintan_gala0 points 3 replies
0 upvotes

Dear team,

We are using ibeacon example code for one of the application, we are using smart bond tiny module DA14531 for same,

Inside file user_app.c if we are changing interval timing from 100ms to 10000ms than system is working as expected but when we changed interval to 15000ms we are not receiving advertising data on phone,

/ *设置* /广告率

#define ADV_INTERVAL_ms 15000

As per advertising tutorial document we can change interval form 20ms to 10485s

Pls guide us where we should do modification so our Ibeacon software can work

accepted answer!

5 months ago

PM_Dialog

Hi chintan_gala,

According to Bluetooth LE specifications, the advertising interval shall be an integer multiple of 0.625ms in the range of 20ms to 10.24s (or 10240ms) . The define ADV_INTERVAL_ms macro set the adverting interval to millisecond. The 15000ms advertising interval exceeds the 10.24sec. We’ll correct the value in theBLE Advertising Tutorial (HTML). Thanks for pointing it out!

Thanks, PM_Dialog

5 months ago

chintan_gala 0 points

Thanks for your clarification,

do you know another solution to implement advertising time interval more than 10 seconds?

Regards,

Chintan Gala

5 months ago

PM_Dialog

Hi chintan_gala,

This according to Bluetooth LE specification, so it’s not possible to use adverting interval that exceed the 10.24sec.

Thanks, PM_Dialog