Closed awiegel closed 6 months ago
What Connection object makes a timeout without raising a Timeout exception?
udsoncan.connections.PythonIsoTpConnection (on Windows).
What I do is sending a repeated request during startup (turning ECU on and initializing drivers).
You are right. There's a discrepency between how connections behaves.
Thank you for this, but I will implement a fix a little different from this one.
Handled by #198
Fixed v1.21.1
In the method
send_request
when receive payload is None the variabletimeout_name_to_report
is not set and causes the error.[UnboundLocalError] : cannot access local variable 'timeout_name_to_report' where it is not associated with a value
-> ...\udsoncan\client.py:2185