Actually, after looking deep into the serial_port implementation, I see that DTR_CONTROL_ENABLE is set on the port in:

serial_port_base::flow_control::store()

Is it disabled at any point?

---------
Robert Dailey


On Fri, Aug 28, 2009 at 9:55 AM, Robert Dailey <rcdailey@gmail.com> wrote:
Hello,

I'm rewriting a C# program in C++. This C# program previously was communicating with a device via serial port. One thing in particular it was doing was setting the DTR flag to enabled. The MSDN article on this option is here:

http://msdn.microsoft.com/en-us/library/system.io.ports.serialport.dtrenable.aspx

I do not see an option in the Boost.Asio documentation that is identical to this C# option. Can anyone comment on this? How can I enable DTR through Boost Asio's serial_port?

---------
Robert Dailey