BlueZ 5.4 DBus API ConnectProfile GATT UUID Service

How to connect to the GATT service using the DBus API using BlueZ?

I used the BlueZ DBUS API to discover the device, connect and detect the GATT UUIDs.

However, when I try to connect to the profile for one of the GATT UUIDs, I get an error.

+4
source share
1 answer

Got a response from the BlueZ mailing list:

"There is still no GATT D-Bus API in BlueZ 5.x. The only way to access the GATT profiles in BlueZ 5.x is using the existing D-Bus API profile (thermometer, heart rate, proximity, speed on bike, HID over GATT) or using the C API (e.g. gatttool). " ( http://marc.info/?l=linux-bluetooth&m=136656873604635&w=2 ")

This is not supported in BlueZ 5.4.

+2
source

All Articles