It seems like since commit b1eb2c4cd057624312e0412f6c4be000f7fc3617
gatttool
has been deprecated but I'm unable to find any information on
what has replaced gattool.
Every Python Bluetooth LE packages I looked into relays on gatttool
and is now broken on my ArchLinux system since the bluez package isn't
build with --enabled-deprecated
flag (which would build gatttool binary).
pygatt
is just broken on my system and bluepy
doesn't build as they
ship there own (on my system broken) bluez code to build gatttool.
Whatsoever I looking to write a new wrapper around whatever replaced gatttool but I'm unable to find any information on this topic.
So which tool from the bluez stack can I use to write a new Python Bluetooth LE wrapper?
update
ArchWiki listed gatttool
as deprecated and lists btgatt-client
the D-Bus Gatt API as replacement.
gattlib from labapart supports bluez
5 and provides gatttool
.
I guess gatttool got deprecated due to a missing maintainer rather than being replaced by some new tool.
edit unfortunately the code for gatttool in the linked repository supports only bluez 4.