Opened 9 years ago

#9277 new Bugs

Serial Hardware Handshaking in Windows XP SP3 Broken?

Reported by: bd@… Owned by: chris_kohlhoff
Milestone: To Be Determined Component: asio
Version: Boost 1.54.0 Severity: Showstopper
Keywords: Cc:

Description

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...

Change History (0)

Note: See TracTickets for help on using tickets.