Open dnssoftware opened 1 year ago
in spec, yes, in reality, maybe. I think this should be protected by a quirk mode.
In my reality, definitely!
See https://github.com/arduino-libraries/ArduinoModbus/issues/117 where this lib is used on a microcontroller and causing an undesired delay. I have added a PR to that repo but its actually on the exact libmodbus code shown above.
This is actually dupe of #379 which has a PR #467 to fix this!
When one is targeting slaves with MODBUS_BROADCAST_ADDRESS and say you issue modbus_write_registers, the code after sending a frame still goes through
if (rc > 0) { uint8_t rsp[MAX_MESSAGE_LENGTH];
Shouldn't one bypass waiting for response as one isn't expected?
Regards
Dean