Skip to content

Releases: EnviroDIY/SensorModbusMaster

v1.7.0

27 Oct 18:56

Choose a tag to compare

Added

  • Added an error code (IMPROPER_RESPONSE = 0xC) that will be set when the modbus response doesn't match the request. This could be an incorrect value set, a malformed response, or a number of bytes returned from a command is different from that expected.

v1.6.6

26 Sep 16:31

Choose a tag to compare

Fixed

  • Fix attempt to set timeouts and run other functions on nullptr

v1.6.5

12 Sep 17:36

Choose a tag to compare

Fixed

  • Fix attempt to print to nullptr

v1.6.4

11 Sep 16:00

Choose a tag to compare

Fixed

  • Fixed compiler warning

v1.6.3

11 Sep 15:29

Choose a tag to compare

Changed

  • BREAKING Changed arguments of byteToFrame function
  • Ensure all buffers are filled with 0's before filling them with real values

v1.6.2

10 Sep 20:40

Choose a tag to compare

Changed

  • null terminate all character strings (c-style character arrays)
    • This applies to all characters added to an input buffer from the charFrom{Input/Holding}Register(...) and charFromFrame(...) functions.

v1.6.1

10 Sep 19:54

Choose a tag to compare

Added

  • Added debugging of slicing/subsetting arrays

Fixed

  • Reordered retry logic

v1.6.0

04 Sep 17:19

Choose a tag to compare

Changed

  • Reorganized functions in h file
  • Renamed some internal variables in the cpp file.

Added

  • Added overload functions {type}FromHoldingRegister(..). These are identical to the {type}FromRegister(..) functions.
  • Added support for broadcasts to address 0.

v1.5.0

28 Aug 21:51

Choose a tag to compare

Changed

  • Change the timeout for the underlying stream object immediately after frame timeout is changed.

Added

  • Added functions to set and get pointers to the stream used for communication
  • Added functions to set and get the slave ID.
  • Added additional constructors

v1.4.0

28 Aug 18:33

Choose a tag to compare

Changed

  • Removed all variable length arrays within functions
  • No longer trimming returned Strings

Added

  • Implemented a single static command buffer
  • Added the define COMMAND_BUFFER_SIZE to control the size of the command buffer.
  • Added charToRegister(..) and charToFrame(..) functions, each accepting a pointer to a constant char (const char*).

Fixed

  • Fixed return value for sendCommand function.