Details
-
Suggestion
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
6.4.2
-
None
Description
`QSerialPort` currently supports only RTS/CTS hardware flow control (via QSerialPort::HardwareControl).
It should also support DSR/DTR hardware flow control for platforms that have it implemented.
On Windows this is directly settable via the DSR/DTR-related flags in the DCB structure when configuring the port.
On Linux, unfortunately, it's not settable directly in termios but may be implemented by directly controlling the DSR/DTR pins via ioctl calls.
On Macs and other platforms, I have no idea.
One option could be to have open() fail if DSR/DTR is requested on platforms that don't support it; or just silently fall back to RTS/CTS and hope for the best.