ModbusMaster icon indicating copy to clipboard operation
ModbusMaster copied to clipboard

Create Own Timeout

Open cvanbrederode opened this issue 4 years ago • 2 comments

Added the ability to change the timeout from the default of 2000 msec.

ku16MBResponseTimeout was renamed to ku16MBDefaultTimeout. The private variable _u16ResponseTimeout was created, along with getResponseTimeout() and setResponseTimeout() methods.

Description

[Describe what this change achieves]

Issues Resolved

[List any existing issues this PR resolves; include Fixes #xxx or Closes #xxx (where xxx is issue number)]

Check List

General

  • [ ] Code follows coding style defined in STYLE.md
  • [ ] Doxygen comments are included inline with code
  • [ ] No unnecessary whitespace; check with git diff --check before committing.

The following have been modified to reflect new features, if warranted

  • [ ] README.md
  • [ ] keywords.txt (use tabs as whitespace separators)
  • [ ] library.properties
  • [ ] examples/ - update or create new ones, as warranted

The following have NOT been modified

  • [ ] doc/ - will be updated upon versioned release
  • [ ] .ruby-gemset
  • [ ] .ruby-version
  • [ ] CHANGELOG.md - will be updated upon versioned release (HISTORY.md is deprecated)
  • [ ] Gemfile
  • [ ] LICENSE
  • [ ] VERSION - will be updated upon versioned release

cvanbrederode avatar Apr 22 '21 20:04 cvanbrederode

Very important feature which should be present already. Great work.

perotom avatar Nov 24 '22 07:11 perotom

useful change, thanks

ThomasHaag2 avatar Jul 11 '24 13:07 ThomasHaag2