[Ace-users] [ace-users] ACE streams processing serial port data

Douglas C. Schmidt schmidt at dre.vanderbilt.edu
Mon Dec 17 08:45:25 CST 2007


Hi Douglas,

> ( This might be a stupid question, but I'll take my chances :-) )

To ensure that we have proper version/platform/compiler information,
please make sure you fill out the appropriate problem report form (PRF),
which is in

$ACE_ROOT/PROBLEM-REPORT-FORM
$TAO_ROOT/PROBLEM-REPORT-FORM

or in

$ACE_ROOT/BUG-REPORT-FORM
$TAO_ROOT/BUG-REPORT-FORM

in older versions of ACE+TAO.  Make sure to include this information
when asking any questions about ACE+TAO since otherwise we have to
"guess" what version/platform/compiler/options you've using, which is
very error-prone and slows down our responsiveness.  If you don't use
the PRF, therefore, it is less likely that someone from the core
ACE+TAO developer team will be able to answer your question.
Naturally, we encourage and appreciate other members of the ACE+TAO
user community who can respond to questions that they have the answers
to.

> I am assessing the feasibility of a small application that opens a serial port on Win32, reads and processes data from it,
> forwards the results on a socket to another server, gets the responses from the server, processes it back and writes it to
> the serial port.
> 
> I couldn't find an abstraction in ACE for serial ports, in particular Win32 serial port handles. Where should I look?

Please see

ACE_ROOT/ace/TTY_IO.{h,inl,cpp}

and

ACE_ROOT/ace/DEV_*.{h,inl,cpp}

for the ACE wrappers for serial ports.  Please see

ACE_ROOT/examples/IPC_SAP/DEV_SAP

for some examples of how to use this stuff.  

Thanks,

        Doug



More information about the Ace-users mailing list