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

"noble.stopScanning();" isn't working #39

Open
moryoav opened this issue Feb 7, 2020 · 0 comments
Open

"noble.stopScanning();" isn't working #39

moryoav opened this issue Feb 7, 2020 · 0 comments

Comments

@moryoav
Copy link

moryoav commented Feb 7, 2020

(From: eschava/node-red-contrib-xiaomi-ble#20)

I'm using one of the supported Intel-based adapters on Windows 10.
Possibly because there's a long distance between the PC and the sensors, I sometimes don't get a result. I would be willing to try again and retrigger the node, but that's not possible. I realized that when I get to a timeout, the code gets stuck in line 162 (stopScanning). I tried to put another node.status after this line and it doesn't get there. And so it doesn't let me call the node again (probably node.scanningActive is still true). Is there a way to forcibly stop the scan somehow?

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

No branches or pull requests

1 participant