[英]Read (any) characteristic value of a Bluetooth LE (Smart) device in python
我想阅读低功耗蓝牙(智能)的特征值。 我不想使用gatttool
或btgatt-client
。 d-bus
也无济于事。 我想用Python做到这一点。 我在以下找不到任何示例: http : //read.pudn.com/downloads166/ebook/757380/bluetooth_essentials_for_programmers.4272206415.pdf https://github.com/karulis/pybluez
官方Python
网站上也没有关于此的任何文档。
理想情况下,我只想连接到L2CAP
并从那里获取属性或直接连接到GATT
。 这有可能吗?
我已经完成了简单的扫描,连接,gat读/写,使用bluepy订阅。
也许看起来不太“ pythonish”,但绝对值得尝试。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.