ModbusMaster icon indicating copy to clipboard operation
ModbusMaster copied to clipboard

Set own timeout?

Open warfery opened this issue 6 years ago • 1 comments

I would like to set my own timeout. Timeout is hardcoded in private part: static const uint16_t ku16MBResponseTimeout = 2000; ///< Modbus timeout [milliseconds]

So there is no way how to change it. Please add class function for timeout setting.

warfery avatar Jun 20 '19 06:06 warfery

I've made the changes needed (I need to change the timeout also), and they are in Pull Request $157. Or you can just grab my fork.

cvanbrederode avatar Apr 22 '21 20:04 cvanbrederode