Open shaisxx opened 2 years ago
java.lang.ClassCastException: com.intelligt.modbus.jlibmodbus.msg.response.BroadcastResponse cannot be cast to com.intelligt.modbus.jlibmodbus.msg.response.ReadInputRegistersResponse
Cannot be a broadcast address.
request.getServerAddress() != Modbus.BROADCAST_IDServerAddress != 0x00. It took me a whole day. I once thought it was the problem of spring-boot-devtools.
cannot be cast to com.intelligt.modbus.jlibmodbus.msg.response.ReadHoldingRegistersResponse
com.intelligt.modbus.jlibmodbus.msg.response.BroadcastResponse cannot be cast to com.intelligt.modbus.jlibmodbus.msg.response.ReadHoldingRegistersResponse