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
Not Discovering all Peripherals #7
Comments
Try it and see if it works.
|
Yes, it worked. Thank you! Can I ask what exactly that does to make it work? |
It actually scans out all the hardware, but when it outputs to node, the thread is blocked, so your hardware is randomly output by chance, since there is so much hardware, the chance is very low. |
For it to work I installed it with After that, with |
@s524797336 Thanks for investigating this issue! Could you check if all devices are delivered to the callback by logging the |
Hi, |
@geovie |
I tested it and the simulation works for me (the library we are use has a testcase for this problem). |
@geovie |
@s524797336 Could you check out branch test/not-discovered, run the following two commands |
@geovie |
Another thing to try is to set noble.startScanning([], true); // any service UUID, allow duplicates Could someone try that and report back? Thanks! |
@geovie |
@ReinierH Can you try the test/not-discovered branch and post the results here? |
@geovie |
@ReinierH Have you tried the latest version (0.0.3)? It was released yesterday and had some changes regarding advertiment handling... |
@geovie I've included the console.log of a peripheral below |
@ReinierH Yes that's expected, apparently they are not delivered by the OS on every discover event. #17 changed the behavior so that we only update advertisement properties which have changed, as noble would override the previous property if we set the property to a default value (see also #16 ). Maybe wait a few seconds and check the device then... |
@geovie i tested new 0.0.3 and everything work perfect |
@s524797336 Great, thanks for testing! Fixed in @jaret32 @ReinierH I'll close this issue, if you're still having problems please open a new one, thank you! |
I have an Adafruit Feather 32u4 Bluefruit LE board that I am trying to connect to. Before upgrading to MacOS Mojave and using the original noble branch, the peripheral could be discovered. After upgrading, noble was unable to discover any peripherals. Since then I have tried using this repository instead, and it does detect some peripherals, but not the board I am trying to connect to. I am not sure what the issue is, please let me know if you have any suggestions.
The text was updated successfully, but these errors were encountered: