简体   繁体   English

BlueZ DBUS API - GATT 接口不可用于 BLE 设备

[英]BlueZ DBUS API - GATT interfaces unavailable for BLE device

I have a BLE device which has a bunch of GATT services running on it.我有一个 BLE 设备,上面运行着一堆 GATT 服务。 My goal is to access and read data from the service characteristics on this device from a Linux computer (BlueZ version is 5.37).我的目标是从 Linux 计算机(BlueZ 版本为 5.37)访问和读取此设备上的服务特征数据。 I have enabled experimental mode - therefore, full GATT support should be available.我已启用实验模式 - 因此,应提供完整的 GATT 支持。 BlueZ's DBUS API, however, only provides the org.bluez.GattManager1 interface for the connected device, and not the org.bluez.GattCharacteristic1 or org.bluez.GattService1 interfaces which I need.然而,BlueZ 的 DBUS API 只为连接的设备提供org.bluez.GattManager1接口,而不是我需要的org.bluez.GattCharacteristic1org.bluez.GattService1接口。 Is there something I'm doing wrong?有什么我做错了吗? The device is connected and paired, and really I've just run out of ideas as how to make this work, or what may be wrong.该设备已连接并配对,实际上我已经没有关于如何使其工作的想法,或者可能有什么问题。

If it helps, I'm using Python and the DBUS module to interface with BlueZ.如果有帮助,我将使用 Python 和 DBUS 模块与 BlueZ 交互。

系统更新解决了这个问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM