How is "Unexpected character RX-ed" handled in libmodbus-RUT ?
Hello,
a question regarding Modbus-RTU implementation on Linux.
From old times, writing device drivers myself, I remember bad consequences on serial connections, when "unexpected characters" were inducted onto the wires. No problem for interfaces, generating 1 interrupt/char, as for Modbus-protocol, this character should be ignored because of a char-timeout.
But this might be a different story, when having a buffering interface, which should be standard nowadays. Depending upon usage or setup of this interface, the "Unexpected RX-Character" might stay in RX-silo for longer period of time, to be improperly interpreted as "Address Field", after arrival of a valid response..
Can somebody clarify on this potential issue, with special respect to LINUX ?