1

I have a BLE device which has a bunch of GATT services running on it. My goal is to access and read data from the service characteristics on this device from a Linux computer (BlueZ version is 5.37). I have enabled experimental mode - therefore, full GATT support should be available. BlueZ's DBUS API, however, only provides the org.bluez.GattManager1 interface for the connected device, and not the org.bluez.GattCharacteristic1 or org.bluez.GattService1 interfaces which I need. Is there something I'm doing wrong? The device is connected and paired, and really I've just run out of ideas as how to make this work, or what may be wrong.

If it helps, I'm using Python and the DBUS module to interface with BlueZ.

9
  • As per bluez git, we have GattCharacterstic1 and GattService1 in Bluez 5.37. Did I miss any thing ? Any way, why not use latest 5.39 ? Apr 30, 2016 at 18:57
  • 1
    The interfaces don't show up though, that's the problem. I've decided to stick to the stock Ubuntu version instead of upgrading to 5.39, in case it breaks anything.
    – Joe
    Apr 30, 2016 at 19:02
  • 1
    Considering that this tinyb library depends on 5.37, may be, we are missing some thing? Apr 30, 2016 at 19:09
  • 1
    I'll take a look at that library - if I have to bring it over to C++, I can. Thanks for linking it, I never knew it even existed!
    – Joe
    Apr 30, 2016 at 20:21
  • What do you mean by "doesn't show up". I've used the gatt interfaces and can confirm that they work just fine. It's more likely you are not using them correctly but we cannot tell as you have not provided your code.
    – kaylum
    May 1, 2016 at 12:15

1 Answer 1

1

A system update resolved this problem.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.