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

QSerialPort::waitForReadyRead() does not work properly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.2.1
    • 4.8.5, 5.1.0
    • Serial Port
    • None
    • Windows 7 64bit
      OSX 10.8.4
    • Ic8d8e3806fd4863c2720ffb83d5c19eae54d57f0

    Description

      waitForReadReady(timeout) may return before timeout with TRUE though there is no data available or it may return FALSE though data is available. Applies to USB-to-RS232 converters (FTDI chip), evtl. also to COM1&2, on Windows 7 64bit and MacOSx 10.8.5.
      This is a more general case of https://bugreports.qt-project.org/browse/QTBUG-31918 which is already closed.
      i have attached a test prog with a short howto in siotest.cpp.

      Attachments

        1. waittest.zip
          0.9 kB
        2. SioTest.zip
          6 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kuzulis Denis Shienkov
            kio Günter Woigk
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes