sensboston / BLEConsole

Bluetooth Low Energy device console app
https://sensboston.github.io/BLEConsole
MIT License
196 stars 73 forks source link

"Error accessing service" which is viewable in "Bluetooth LE Explorer" #1

Closed ethaniel closed 5 years ago

ethaniel commented 5 years ago

Thank you for an amazing application!

I am interacting with a GoPro. I encountered 2 problems:

First problem

In "Bluetooth LE Explorer" I can see the service 61590 and it's characteristics: image

When I try to access the same service (65190) through BLEConsole, it returns "Error accessing service." image

Second problem

I would like to write directly to characteristic b5f90072-aa8d-11e3-9046-0002a5d5c51b (which is inside the service 6190). I tried following your naming rules, but it didn't work:

image

It would be easier if I could write to b5f90072-aa8d-11e3-9046-0002a5d5c51b directly (without the "Custom characteristic" or service part).

kinetixx commented 4 years ago

You need to remember what type of data you are writing - normally you put hex data. For that you need to change format to hex like that: format hex - by default in BleConsole format is utf

Writing looks like that: format hex write #06/#00 03 17 01 01 - beeping write #06/#00 03 17 01 00 - no beeping write #06/#00 01 05 - power off

megholm commented 2 years ago

First problem

In "Bluetooth LE Explorer" I can see the service 61590 and it's characteristics: image

When I try to access the same service (65190) through BLEConsole, it returns "Error accessing service." image

Did you ever find a solution for this? I get the same problem here - I can access the service from the UI explorer (but I'd rather use this CLI)...

BR, Martin