-
Notifications
You must be signed in to change notification settings - Fork 207
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
Add support for passive scans #283
base: master
Are you sure you want to change the base?
Conversation
@BartTK : You describe passive scans with your PR (i.e. improvement in crowded BLE environments). If I want to use the passive scan mode in crowded BLE environments, can you please tell me the best way ?
(i.e. or do I call (i.e.
Thank you for your clarifications on this. |
I use When doing a passive scan, you get less information from a device compared to an active scan. I think it is device dependent what it returns exactly. Local names are typically not included, so you shouldn't assume that those are present. It has been a while since I played around with it, but I think the service UUID is included. My guess would be that your I've only added support for passive scans and haven't done anything about that issue you mentioned, so it wasn't my intent to solve that problem here. @facchinm All checks succeeded, the review was OK and there are no conflicts. Is there anything I still need to do to have this PR merged? |
BartTK seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
Add support for passive scans. In my case (crowded BLE environment), a passive scan detects devices a lot faster and more reliably. In additional, a passive scan consumes less power as the BLE radio is not transmitting.
Also added the ability to retrieve the devices for which only advertise data is available. That's what you are typically interested in when doing a passive scan.