哪个工具替代了bluez5中的gatttool? [英] Which tool has replaced gatttool in bluez5?

查看:405
本文介绍了哪个工具替代了bluez5中的gatttool?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

似乎是因为commit b1eb2c4cd057624312e0412f6c4be000f7fc3617 gatttool已被弃用,但我无法找到有关的任何信息 是什么取代了gattool.

It seems like since commit b1eb2c4cd057624312e0412f6c4be000f7fc3617 gatttool has been deprecated but I'm unable to find any information on what has replaced gattool.

我研究了gatttool上的每个Python蓝牙LE软件包 并且现在在我的ArchLinux系统上已损坏,因为bluez软件包不是 使用--enabled-deprecated标志进行构建(将构建gatttool二进制文件).

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刚在我的系统上损坏,并且bluepy并未构建,因为它们 运送自己的(在我的系统上已损坏)bluez代码来构建gatttool.

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.

无论如何,我都希望围绕替换的内容编写新的包装器 gatttool,但我找不到有关此主题的任何信息.

Whatsoever I looking to write a new wrapper around whatever replaced gatttool but I'm unable to find any information on this topic.

那么我可以使用bluez堆栈中的哪个工具编写新的Python Bluetooth LE包装器?

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

推荐答案

更新

ArchWiki 已将gatttool列为已弃用,并列出了

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

来自labapart的gattlib 支持bluez 5 并提供 gatttool .

gattlib from labapart supports bluez 5 and provides gatttool.

我猜gatttool是因为缺少维护者而被弃用,而不是被某些新工具所取代.

I guess gatttool got deprecated due to a missing maintainer rather than being replaced by some new tool.

修改 不幸的是,链接存储库中gatttool的代码仅支持bluez 4.

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

这篇关于哪个工具替代了bluez5中的gatttool?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆