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

Multiple services #8

Open
grosdode opened this issue Nov 7, 2019 · 4 comments
Open

Multiple services #8

grosdode opened this issue Nov 7, 2019 · 4 comments

Comments

@grosdode
Copy link

grosdode commented Nov 7, 2019

Multiple services

Hi,
I like this project, but I can't find a way to get values from characteristics in different services. Did I miss something?
best regards and thank you for the work

@yining1023
Copy link
Member

Hi @grosdode

So sorry for the delay.

For now, p5.ble.js is only getting one service UUID at a time. I can modify the API to support multiple services. I will let you know as soon as we make the changes.

In the meantime, you can check out this Web BLE example that gets all the services.

Thank you for using this library!

@grosdode
Copy link
Author

grosdode commented Dec 2, 2019

Hello yining,
thank you for your response. I already had a look at the examples and solved my problem. So if it is "only" for me you don't have to do the work.
Best regards
grosdode

@yining1023
Copy link
Member

So glad you solved your problem!

It's on my todo list.

Another way would be creating multiple characteristics in one service.

@pinyu911
Copy link

Hi
Can this API support to connect multiple devices?

I want to let my PC to connect three arduino nano 33.

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

3 participants