Keep connection, write #1346
Replies: 5 comments 7 replies
-
This is not currently possible. Give #367 a 👍 if you would like to see this feature implemented.
You can avoid disconnection by not allowing the context manager to exit. The easiest way to do this is to wait for an |
Beta Was this translation helpful? Give feedback.
-
Hi sir for question 1, I'll check it. |
Beta Was this translation helpful? Give feedback.
-
You can handle each connection in a separate asyncio task. |
Beta Was this translation helpful? Give feedback.
-
Yes, but the connection will not keep it. test every case must reconnect again. |
Beta Was this translation helpful? Give feedback.
-
so looks like bleak can not do that what I mentioned of 2 questions currently? |
Beta Was this translation helpful? Give feedback.
-
bluetoothctl -v
) in case of Linux:Description
Example, Run continuous 3 test cases
Test case 1 : write data
then Test case 2 : write data
then Test case 3 : write data
write data without disconnection
What I Did
Logs
Include any relevant logs here.
Logs are essential to understand what is going on behind the scenes.
See https://bleak.readthedocs.io/en/latest/troubleshooting.html for information on how to collect debug logs.
If you receive an OS error (
WinError
,BleakDBusError
,NSError
, etc.), Wireshark logs of Bluetooth packets are required to understand the issue!Beta Was this translation helpful? Give feedback.
All reactions