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

QSerialPortInfo should expose the device serial number

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P3: Somewhat important
    • 5.3.0 Beta1
    • 4.8.4, 5.1.0 RC1
    • Serial Port
    • None
    • 959775c41683033adbd99faab7e3d70e0009c143

    Description

      I have started to play with QtSerialPort on Qt 4.8.4.
      I noticed that there is no way to uniquely identify a serial interface from the current information provided (portName, description, manufacturer)

      I explain. If there are 2 USB FTDI dongles of the same type connnected to the computer, they can be distinguished only by their ttyUSBx name.
      Problem is that if an application saves the devices status by ttyUSB name, the next time the dongles are connected they could swap their names, so the application will get confused.

      I've been working with libftdi and ftd2xx and they both allow to read the device serial number, which should be unique.

      Thanks

      Attachments

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

        Activity

          People

            lpapp Laszlo Papp
            mcallegari79 Massimo Callegari
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes