python - How to subscribe a common characteristic for all the slaves connected with BLED112 in Windows 10?
问题描述
I am able to connect multiple ST Microelectronics peripherals with Windows 10 using BLED112 and pygatt library in Python. The only thing left is that I am unable to catch a disconnected event.
Moreover, I want to subscribe for notifications for all the 5 peripherals connected to BLED112 at once. I mean i need data from all of them simultaneously.
Now, the problem here is that when i run the script, I see all of the devices in a connected state, and some start to send data to the application, but the problem is that after some seconds, the notification remains for only one or two of them..
Other devices leave their connection with the BLED112. I need some sort of reconnection scenario as well.
Things to cover:
Disconnection event.
Subscribing all the devices at once and receive data.
Make a persistent connection for atleast an hour, with streaming live data.
Thanks in advance.
解决方案
推荐阅读
- rust - 使用 clickhouse 依赖运行 cargo build 时出错
- mysql - 存储过程问题
- python - 如何使用 ipywidget 选择 Pandas DataFrame?
- c# - 使用 C# 在 Blazor 中动态生成圆圈
- java - “maven-cucmber-reporting”插件无法解决。也无法生成报告。黄瓜,马文
- vue.js - 禁用 nuxt 代码拆分。如何将所有内容打包到一个文件中
- php - 当某些值可以为空时如何通过许多输入过滤电子商务商店中的产品
- ios - ms 团队深层链接不适用于 ios 应用程序
- azure-devops - 来自同一组织的管道中的多个存储库
- r - 如何在for循环中验证条件