Open xav12358 opened 2 years ago
This repo in the latest version already contains connect() with a timeout, look at the source code in this repo.
If you downloaded using pip manager, then it's not in 1.3.0. As I told you, look at the source code here, file btle.py, line 470.
When should a new tag generate to integrate that modification?
My feeling is that this should take a while, as there is not much action happening here. You can always download the most recent code from this repo and call it from your application, instead of the lib installed by PIP. That's what I have been doing.
Hello, I try to use connect function with a timeout. I use bluepy in 1.3.0 and it seems there is no timeout argument.
Si I try to design a timeout with multithread and queue.
Here is my code:
What is the proper way to set a timeout function on connection?
I try many thing, because the service or the characteristic doesn't seems to be usable outside the thread.