-
Notifications
You must be signed in to change notification settings - Fork 575
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
Scan stops briefly after stop #36
Comments
Could you provide a code snippet, Android version and device? |
Android N Preview 4, Nexus 6P |
Could you also turn on logging and provide ADB Logs? Best will be without package filtering because we may see system bluetooth logs as well. |
I have similar problems. The device scans for half a second (sometimes even less) and stops. If I mash the scan button multiple times I find the device I want, but it would be a lot more convinient to e possible to say "scan for X seconds" If it's relevant: I have another BLE device connected already (my watch)
|
Okay, here's how to reproduce (and a fix, at least for me)
|
Awesome. Had the same problem. This also fixed it for me. |
This is true. Name advertisement is optional. |
Summary
Another issue that I have noticed is that when perfoming scan, sometimes scan just drops. I checked this by hooking with
doOnUnsubscribe
and noticed it gets called really quickly (few seconds) after starting scan.Steps to reproduce
If I have an already open connection with
autoConnect
flag, then when I start scan it gets unsubscribed really quickly. Functionality I need is that I want to remove device (stop the open connection) and then re-add it by scanning.Kind Regards
The text was updated successfully, but these errors were encountered: