cuble.js icon indicating copy to clipboard operation
cuble.js copied to clipboard

[Question] How to find BLE Characteristic commands

Open fmirault opened this issue 5 years ago • 1 comments

Hi!

I'm working on a bluetooth device, I already found services and characteristics, but I cannot find how to discover available commands. Because you did the same work for some Cubes devices, I'd like to know how to find all available commands for a BLE device ? Maybe you use a sniffer or something else ? If you can help me I will be very grateful.

fmirault avatar Jul 21 '19 21:07 fmirault

I tend to use two tools:

  • chrome://bluetooth-internals/ in Google Chrome
  • BlueSee on macOS.

However, there is no general way to find commands. For this, I capture packets using:

  • Native Android logging (look up btsnoop or HCI logging)
  • Ubertooth One

We're working on documenting known characteristics and commands for each cube, but that's not quite ready yet.

lgarron avatar Jul 22 '19 07:07 lgarron