Timeout for discover in connect() #75
Labels
Backend: pythonnet
Issues or PRs relating to the .NET/pythonnet backend
duplicate
This issue or pull request already exists
enhancement
New feature or request
Description
When connecting via DotNet backend,
discover
is called with a timeout of2.0
. However, this timeout is not always sufficient to get responses from the device necessary. In around 1/3rd of the cases it will not be able to connect to my device due to not finding it within 2 seconds.Do you think that here a 'continue looking for device until found or timeout' loop would be useful? So the maximal timeout would be the default
5.0
, but it can be shorter if the device is found before. Else, the connect method might have a parameterforce
that also tries to connect even if the device was not found during radio?The text was updated successfully, but these errors were encountered: