Subject: [Boost-bugs] [Boost C++ Libraries] #9277: Serial Hardware Handshaking in Windows XP SP3 Broken?
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-10-20 21:08:09
#9277: Serial Hardware Handshaking in Windows XP SP3 Broken?
------------------------------+----------------------------
Reporter: bd@⦠| Owner: chris_kohlhoff
Type: Bugs | Status: new
Milestone: To Be Determined | Component: asio
Version: Boost 1.54.0 | Severity: Showstopper
Keywords: |
------------------------------+----------------------------
9600 8N1 Transmit only, both DSR and CTS asserted by device (printer).
Behavior is apparently no different than handshake none. Works fine with
windows-specific code which sets the DCB as follows:
{{{
dcb.fOutxCtsFlow = true; // Enable CTS monitoring
dcb.fOutxDsrFlow = true; // Enable DSR monitoring
dcb.fDtrControl = DTR_CONTROL_HANDSHAKE; // Enable DTR handshaking
dcb.fOutX = false; // Disable XON/XOFF for transmission
dcb.fInX = false; // Disable XON/XOFF for receiving
dcb.fRtsControl = RTS_CONTROL_HANDSHAKE; // Enable RTS handshaking
}}}
Couldn't find where the DCB is set in asio...
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9277> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:14 UTC