Skip to content

Releases: retrodaredevil/io-lib

IOBundle improvements

17 Dec 04:05
Compare
Choose a tag to compare

I'm making a new release because SolarThing has been successfully using this code for about 4 months now.

Additions since v2.2.0:

  • More exceptions that inherit from ModbusRuntimeException
  • Added RS485 option that is only supported with jSerialComm.

Breaking changes if

  • You have your own custom class implementing IOBundle -- New methods are required to be implemented
  • You use AsciiDataEncoder.fromAscii()
  • If you have been instantiating RedundancyException or UnexpectedSlaveResponseException

Exceptions for exception codes and read input registers support

20 Feb 22:32
Compare
Choose a tag to compare

Added exceptions for modbus exception codes and added support to read input registers in modbus.

Added purejavacomm library

20 May 23:50
Compare
Choose a tag to compare

Added purejavacomm library. You can choose between purejavacommand jSerialComm as your serial implementation.

Version 2!

18 May 17:55
8cbb971
Compare
Choose a tag to compare

Version 2 has many breaking changes and must be imported differently than previous versions because of its use of multiple modules.

TCP is now supported.

ModbusRuntimeException thown in rare cases

17 May 16:25
Compare
Choose a tag to compare

ModbusRuntimeException is now thown in rare cases. In previous versions there were rare cases where an incorrect exception was thrown. This update makes sure that not matter what data is thrown at you, you'll always get the correct ModbusRuntimeException.

Correct exception thrown

14 May 02:37
Compare
Choose a tag to compare

Correct exception thrown. Rarely a RuntimeException used to be thrown instead of a ModbusRuntimeException if an exception was thrown while reading.

Made SerialPortException inherit IOException

06 May 21:41
Compare
Choose a tag to compare

Made SerialPortException inherit IOException and updated jSerialComm version.

Added ability to parse

30 Apr 00:27
Compare
Choose a tag to compare

Added ability to parse. Also has breaking changes

Better error messages

20 Dec 16:04
Compare
Choose a tag to compare

Better error messages and added sleepTime to RTUDataEncoder.

Changes to IOBundle

10 Sep 16:30
Compare
Choose a tag to compare

Changes to IOBundle. close() method does nothing by default. Added static of(InputStream, OutputStream) method and two constants.