Skip to content

Releases: plasmapper/modbus-dotnet

v3.0.0

Choose a tag to compare

@plasmapper plasmapper released this 16 Jul 16:42

Added

  • ClientSession for executing several commands as one atomic sequence.
  • Asynchronous Client, ClientSession and Stream operations.

Changed

  • Client constructors to take a Stream instance instead of a SerialPort or IP address/port.
  • Client and Stream locking to use SemaphoreSlim instead of Monitor; locking the underlying SerialPort object directly is no longer supported, share a Stream instance instead.
  • Renamed Exception to ModbusException.
  • Used FunctionCode enum instead of raw byte literals internally.
  • Replaced exception-based draining in ReadAvailableData with buffer-availability polling.
  • Replaced LINQ-based response trimming with Array.Copy.

Fixed

  • Partial TCP reads in NetworkStream.Read.
  • RTU write delay not updated on Protocol change.
  • NetworkStream.Open wrapping connection failures in AggregateException.
  • Stream.ReadTo not bounded by ReadTimeout.

v2.4.0

Choose a tag to compare

@plasmapper plasmapper released this 06 Jan 20:02

Changed

  • Made timeouts client properties.

v2.3.1

Choose a tag to compare

@plasmapper plasmapper released this 06 Jan 19:05

Fixed

  • Setting stream delay after stream change.

v2.3.0

Choose a tag to compare

@plasmapper plasmapper released this 05 Jan 19:15

Added

  • Properties for communication settings.

v2.2.2

Choose a tag to compare

@plasmapper plasmapper released this 20 Sep 16:37

Fixed

  • Missing NetworkStream lock.

v2.2.1

Choose a tag to compare

@plasmapper plasmapper released this 01 Aug 14:45

Fixed

  • IDisposable implementation.

v2.2.0

Choose a tag to compare

@plasmapper plasmapper released this 12 Nov 13:20

Changed

  • .NET 6.0 target to .NET Standard 2.0.

v2.1.0

Choose a tag to compare

@plasmapper plasmapper released this 12 Oct 13:29

Added

  • ConnectTimeout property.

Changed

  • Disabled Nagle's algorithm.

v2.0.1

Choose a tag to compare

@plasmapper plasmapper released this 11 Oct 15:46

Added

  • ExceptionCode enum.
  • DelayAfterRead property.

Changed

  • FunctionCode enum naming.
  • Timeout property to ReadTimeout property.

Fixed

  • ReadTimeout setting in examples.