Hi Mark,

Can anybody say whether there is a good reason that serial.pp lacks a
function to read the CD signal?

i would recommend the synaser library, more sophisticated then the serial.pp

http://www.ararat.cz/synapse/doku.php/download

there is a function getCarrier, i guess this is what you need.

If you are working on a ARM system you have to modify some lines in synaser. Please check my previous messages.

Is SerFlush, which calls fpfsync, intended to discard input data, output
data or both?

don't know in serial.pp

In synaser AFAIK on Linux only the transmit buffers,  on Windows RX and TX



Mit freundlichen Grüßen

Markus Greim

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to