Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Apr 2010 15:41:33 +0200
From:      Grzegorz Daniluk <lin_g@o2.pl>
To:        freebsd-questions@freebsd.org
Subject:   reliable rs-232
Message-ID:  <4BC0800D.9030407@o2.pl>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BC0800D.9030407>