-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need help with Advertising interval #66
Comments
Ok, it's clear. So I don't understand why I receive broadcasts only once every ~20000 ms when I put 5000 as advertising interval :-/ |
Where, in which packet receiving sniffer, do you receive broadcasts in 20 second increments when the ad interval is 5 seconds? |
It's my own application, built on top of Linux Bluez stack 5.43.
When I use Android BLE Scanner it gives advertising ranges from 5000 to more than 10000 ms but often around 5000. |
Testing for several days on RTL8722DM in a noisy radio environment:
|
Sniffer next to Xiaomi LYWSD03MMC: |
II don't know whether the OP found a way to fix it but just by accident I fixed it in my case and wanted to share my experience since I thought maybe it helps towards perfecting this nice project! |
Hi,
thanks to share your work.
May you help to understand the calculation of the advertising interval ?
If I set
Advertising interval 5000 , step 62,5 ms
would the interval be 5000 X 62,5 ms = 312,5 s
or 5000 s modulo 62,5 = 5000 s ?
or 5000 ms modulo 62,5 = 80 s ?
In fact, with this value, I see an advertisement every 20040 ms !
Confusing !
The text was updated successfully, but these errors were encountered: