Closed cfobel closed 5 years ago
This issue was introduced by da06c61fa55415b91e70c7b6d062e58033c601e9.
Prior to da06c61fa55415b91e70c7b6d062e58033c601e9, the base_node_rpc.async.read_device_id()
function propagated the timeout
keyword argument to the _read_device_id(..., timeout=...)
coroutine call.
In da06c61fa55415b91e70c7b6d062e58033c601e9, the timeout
argument of the base_node_rpc.async.read_device_id()
function is instead passed to the top-level asyncio.wait(..., timeout=...)
call directly (which wraps the calls _read_device_id()
coroutine). The default timeout of 0 causes the wrapped _read_device_id()
coroutine call to exit before having a chance to read a response.
Set the default settling_time_s
timeout value to 25 ms in SerialProxyMixin.___init__()
. This will ensure backwards compatibility with base-node-rpc<0.51.1
.
For example: