Purpose of code changes on this branch:
When the library starts reading from the serial line, it might
happen that only a part of a frame is received. In this case,
the calculation of the frame length based on the function code
will not work.
I've checked in a fix on the rtu branch which discards a
frame fragment in the case that the function code cannot
be associated with a ModbusPDU.
When reviewing my code changes, please focus on:
the stability of my solution. I'm not sure if advancing the
frame will always solve the problem.
After the review, I'll merge this branch into:
/trunk
Original issue reported on code.google.com by albert.k...@gmail.com on 4 Mar 2011 at 9:51
Original issue reported on code.google.com by
albert.k...@gmail.com
on 4 Mar 2011 at 9:51