Skip to content
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

Stop scan before connect #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

seliger
Copy link

@seliger seliger commented Jul 15, 2017

Given a couple of sources found regarding the noble library:

Certain Bluetooth adapters cannot continue scanning while attempting to connect to a device. This change tells noble to stop scanning just prior to connecting to a robot.

I ran into this issue with my Dell Laptop with an Intel 3160AC combination Bluetooth 4.0/AC wireless card and the only way to get it to work was to tell noble to stop scanning just prior to the connect call. That is represented in this request.

One thing I have yet to find is a disconnect routine where I would intend to tell noble to once again start scanning.

Given a couple of sources found regarding the noble
library:

https://porter.io/github.com/sandeepmistry/noble
noble/noble#165 (comment)

Certain Bluetooth adapters cannot continue scanning
while attempting to connect to a device. This change
tells noble to stop scanning just prior to connecting
to a robot.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant