ModbusMaster RTU Library

This library handles Modbus master RTU communication. The library supports callbacks for pre- and post-transmission, receive and transmit logging.

MB_RESPONSE_TIMEOUT

The patch provides changeable response timeout using MB_RESPONSE_TIMEOUT (in milliseconds).

The original author of the library is 4-20ma: https://github.com/4-20ma/ModbusMaster/

The one included in Sming is nomis’ fork: https://github.com/nomis/ModbusMaster (see branch fixes-2.0.1) that isn’t yet merged to the original repository.

References

Used by

Environment Variables

SoC support

  • esp32

  • esp32c3

  • esp32s2

  • esp32s3

  • esp8266

  • host

  • rp2040

Submodule: ModbusMaster