reliable rs-232

Grzegorz Daniluk lin_g at o2.pl
Sat Apr 10 14:13:48 UTC 2010


Hi everybody,
I have a question regarding rs-232 under FreeBSD.
I need to write an application for FreeBSD to operate an industrial 
controller via rs-232. The trick is that it should have very good long 
term stability (reliably operation over years). It should be able to 
detect and correct (e.g by reconfiguration of rs-232 port parameters) 
when rs-232 hangs or changes its transmission parameters as a result of 
electrical interference/disturbances etc. First thought is to simply 
close and reopen rs-232 port every given time interval, so even if 
something 'strange' happens the failure would be fixed after finite time 
period. But maybe there is smarter way of doing that. Maybe some special 
fault-tolerant rs-232 kernel drivers ?
Any help appreciated, maybe someone has other helpful advieces regarding 
reliable rs-232 programming ini general ?

Thanks for all help and advices.
Best regards,
Greg


More information about the freebsd-questions mailing list