Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-115053

Support DSR/DTR hardware flow control

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 6.4.2
    • Serial Port
    • 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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            vhilshei Volker Hilsheimer
            jasonc Jason Cipriani
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes