How to get serial error on application layer ?

Cedric Aubert cedric_aubert at yahoo.fr
Tue Sep 23 11:34:09 UTC 2003


Hi

I want to known how to have my serial communication
error from the application layer.

I try to get error from the read() function.
If it's return -1, I should read errno = EIO but
how to known if it's overflow, overrun, framing or 
parity error.

With termios, I don't found any support of this type
of error.

Does something exist or should I do it myself ?

Thanks a lot

Cedric

=====
AUBERT Cedric
SDEL Controle Commande
rue Nungesser & Coli
44860 St Aignan de Grand Lieu

E-mail : cedric_aubert at yahoo.fr
Http : http://www.controle-commande.sdel.fr/

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com



More information about the users mailing list