stephane/libmodbus — Issue #39: send with ERROR_RECOVERY_LINK has no escape hatch
Author: karlp
Created: 2011-11-16 12:39:41+00:00
State: open

Calling send will block forever if the link cannot be reestablished.

I have many cases where closing and reopening is the right thing to do, and normally works very well, but blocking forever is not OK. Could the modbus_get_response_timeout time be used to limit this? or some other mechanism? Or are there any other ways to work around this?