2011-02-22 07:56:49 Serial driver inter-character timeout
Peter Gombos (HUNGARY)
I have to implement an ancient serial protocol (Modbus). This protocol requires to detect broken frames with 1.5 character timeout. It means couple of 10 microseconds at medium speed. As far as I see there is no timeout support neither Blackfin hardware nor serial driver.
What do you suggest to detect this short timeout?
2011-02-22 12:27:43 Re: Serial driver inter-character timeout
Mike Frysinger (UNITED STATES)
you mean VTIME/VMIN in the termios settings ?
have you seen libmodbus ?
an older version is in the dist, but should be trivial to upgrade ...