-
-
Notifications
You must be signed in to change notification settings - Fork 45
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to get list of devices?? #57
Comments
Hi again, found the solution by myself. Here the code that works...
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
first thank you for making node-ble. Hope it will help me connecting to my devices 馃憤
I have a question but maybe it is also an issue, I don't know.
I like to start discovery and get the devices discovered so I can decide to which one I like to connect. In my example below I use
myAdapter.devices()
but is only returns an empty object. Any ideas?I have
bluetoothctl
open at the same time and see that discovery starts. I also see the device announcing its UUID after some time but my code shows nothing.Here my code:
I can connect to one of my devices using its UUID (see working code blow). But before being able to do so I first have to find out the UUID which I expected to get with
myAdapter.devices()
.Support would be appreciated.
Best DrCWO
The text was updated successfully, but these errors were encountered: