好像自从commit b1eb2c4cd057624312e0412f6c4be000f7fc3617
gatttool
已被弃用,但我找不到任何信息
什么取代了 gattool。
我在 gatttool 上研究过的每个 Python 蓝牙 LE 包
现在在我的 ArchLinux 系统上被破坏了,因为 bluez 包没有
构建与--enabled-deprecated
标志(将构建 gatttool 二进制文件)。
pygatt
我的系统刚刚坏了bluepy
不像他们那样建造
发布自己的(在我的系统上损坏的)bluez 代码来构建 gatttool。
无论我想为替换的内容编写一个新的包装器
gatttool 但我无法找到有关此主题的任何信息。
那么我可以使用 bluez 堆栈中的哪个工具来编写新的 Python 蓝牙 LE 包装器?
update
ArchWiki https://wiki.archlinux.org/index.php/Bluetooth#Troubleshooting listed gatttool
已弃用并列出btgatt-client https://git.kernel.org/cgit/bluetooth/bluez.git/tree/doc/gatt-api.txtD-Bus Gatt API 作为替代。
来自 labapart 的 gattlib https://github.com/labapart/gattlib支持bluez
5 并提供gatttool https://github.com/labapart/gattlib/tree/master/examples/gatttool.
我猜想 gatttool 被弃用是因为缺少维护者,而不是被一些新工具取代。
edit不幸的是,链接存储库中的 gatttool 代码仅支持 bluez 4。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)