[Lazarus] SdpoSerial Tx and Rx buffers?

Hans-Peter Diettrich DrDiettrich1 at aol.com
Fri Feb 18 12:37:51 CET 2011


Michael Schnell schrieb:
> On 02/18/2011 03:14 AM, Hans-Peter Diettrich wrote:
>>
>> Quite a bit. Applications don't have to care about such hardware details,
> 
> Yep and this is why user land software can't (and should not) detect the 
> point in time the data it issued towards the serial port actually has 
> left the box. These systems (Windows, Linux, Mac) are not supposed to 
> support hard realtime after all.

There exists no guarantee for undisturbed transmission. Secure software 
must be prepared to re-transmit the data, in its protocol, regardless of 
realtime requirements. It's perfectly sufficient when the software is 
informed that the next data packet can be supplied for transmission.

DoDi





More information about the Lazarus mailing list