5 months ago
Advertising Interval setting in Ibeacon example code
Posted bychintan_gala0 points 3 repliesDear 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
5 months ago
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