Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

com.intelligt.modbus.jlibmodbus.msg.response.BroadcastResponse cannot be cast to com.intelligt.modbus.jlibmodbus.msg.response.ReadHoldingRegistersResponse #74

Open
shaisxx opened this issue Apr 18, 2022 · 3 comments

Comments

@shaisxx
Copy link

shaisxx commented Apr 18, 2022

com.intelligt.modbus.jlibmodbus.msg.response.BroadcastResponse cannot be cast to com.intelligt.modbus.jlibmodbus.msg.response.ReadHoldingRegistersResponse

@yudaichen
Copy link

java.lang.ClassCastException: com.intelligt.modbus.jlibmodbus.msg.response.BroadcastResponse cannot be cast to com.intelligt.modbus.jlibmodbus.msg.response.ReadInputRegistersResponse

@yudaichen
Copy link

Cannot be a broadcast address.

 request.getServerAddress() != Modbus.BROADCAST_ID 
ServerAddress != 0x00. It took me a whole day. I once thought it was the problem of spring-boot-devtools.

@Hotant-Bu
Copy link

cannot be cast to com.intelligt.modbus.jlibmodbus.msg.response.ReadHoldingRegistersResponse

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants