Which tool replaced gatttool in bluez5?

It seems that commit b1eb2c4cd057624312e0412f6c4be000f7fc3617 gatttool deprecated, but I can not find any information about what replaced gattool.

Each Python Bluetooth LE package I looked at relays on gatttool and now it is broken on my ArchLinux system, because the bluez package is not build with the flag --enabled-deprecated (which will build the gatttool binary).

pygatt simply broken on my system, but bluepy not created because they ship there (on my system broken) the blue code for building gatttool.

All I want to write a new wrapper around what has been replaced by gatttool, but I can not find information on this topic.

So, which tool from the bluez stack can I use to write a new Python Bluetooth LE shell?

+5
source share
1 answer

Update

The ArchWiki listed gatttool as deprecated and listed the btgatt-client D-Bus Gatt API as a replacement.

gattlib from labapart supports bluez 5 and provides gatttool .

I think gatttool is deprecated due to a missing maintainer, instead of replacing it with a new tool.

edit Unfortunately, the code for gatttool in the linked repository only supports bluez 4.

+2
source

Source: https://habr.com/ru/post/1266290/


All Articles