Replies: 3 comments 1 reply
-
Check out the example with two devices for how to approach it. It is better without the https://github.com/hbldh/bleak/blob/develop/examples/two_devices.py |
Beta Was this translation helpful? Give feedback.
-
Hi hbldh~~ |
Beta Was this translation helpful? Give feedback.
-
In the example, both devices register for notifications and receive them. Try running it after modifying for your usecase.
There are many ways. Examples:
Experiment. Use the |
Beta Was this translation helpful? Give feedback.
-
bluetoothctl -v
) in case of Linux: noDescription
Planning to receive data from two BLE devices at the same time and for a long time,
Currently, two BLE devices can be connected at the same time, but using asyncio cannot be used at the same time
Receiving notifications from two devices (because only one at a time), the result will be one notification, receiving a lot of times and the other one is rarely.
What I Did
python Code:
==============================================================
[result-display]
Device1
Device1
Device1
Device1
Device1
Device1
Device1
Device1
Device1
Device2
Device1
Device1
Device1
Device1
Beta Was this translation helpful? Give feedback.
All reactions