modbus4j icon indicating copy to clipboard operation
modbus4j copied to clipboard

fix connection error when open stream

Open youxingz opened this issue 3 years ago • 0 comments

When open a new connection, it will throw a NullPointerException if the serial wire does not connect. After connection open, if the slave device is not exist, the stream should be closed and stop reading bits from device, fixed in file src/com/serotonin/modbus4j/sero/messaging/InputStreamListener.java at line 108. :)

youxingz avatar Apr 02 '23 06:04 youxingz