p5.ble.js icon indicating copy to clipboard operation
p5.ble.js copied to clipboard

Multiple services

Open grosdode opened this issue 5 years ago • 4 comments

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

grosdode avatar Nov 07 '19 11:11 grosdode

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!

yining1023 avatar Dec 01 '19 00:12 yining1023

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

grosdode avatar Dec 02 '19 06:12 grosdode

So glad you solved your problem!

It's on my todo list.

Another way would be creating multiple characteristics in one service.

yining1023 avatar Jan 05 '20 17:01 yining1023

Hi Can this API support to connect multiple devices?

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

pinyu911 avatar Apr 19 '21 08:04 pinyu911