On 02/18/2011 12:37 PM, Hans-Peter Diettrich wrote:
It's perfectly sufficient when the software is informed that the next data packet can be supplied for transmission.

IMHO the decent way for user land software is to use a timeout that is _a_lot_ greater than the time the hardware needs to toggle out the serial bits plus to receive biggest possible the answer and resend the block if no answer is detected up till then. This is not hard realtime. The user land software can at any time be delayed for multiple seconds by other proceedings on the PC.

Of course a decent protocol should use a running block counter so that the receiver can detect a block it received a second time.

-Michael

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to