
David Faure wrote:
On Tuesday 02 February 2010, David Faure wrote:
How can I get/set the status of the DTR, RTS and DCD pins? [....]
Anyone? Who can I talk to about the asio::serial_port implementation?
Hi David - You can use get_option and set_option to set/get various bits in the win DCB or posix termios. These pins are not currently described as far as I can tell. Options implement the SetabbleSerialPortOption and GettableSerialPortOption. Take a look at serial_port_base.hpp for the existing options (such as baud_rate). You will find the implementation in impl/serial_port_base.ipp. It should be fairly easy to use those as a guide to make your own options that support your platform. For window you will modify the DCB structure and for posix the termios. HTH michael -- ---------------------------------- Michael Caisse Object Modeling Designs www.objectmodelingdesigns.com