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

How to get device name? #58

Closed
DrCWO opened this issue Jun 20, 2023 · 1 comment
Closed

How to get device name? #58

DrCWO opened this issue Jun 20, 2023 · 1 comment

Comments

@DrCWO
Copy link

DrCWO commented Jun 20, 2023

I experimented a bit and knowing the UUID of the device I can work with it.
As I found I can get the list of the UUIDs of the discovered devices.

How can I find out the name of the device belonging to the UUID?
Background: I like to connect to a special device who's name I will know but not its UUID.

A hint would be appreciated.

Thanks DrCWO

@chrvadala
Copy link
Owner

With this method you can get the device name https://github.com/chrvadala/node-ble/blob/main/docs/api.md#Device+getName

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

2 participants