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

QBluetoothLocalDevice's name() function returns empty string

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P4: Low
    • None
    • 5.12.4, 5.13.0
    • None
    • Windows 10 Version 1809 (build 17763.678)
      Avantree DG40S USB Bluetooth 4.0 Adapter Dongle
      Qt 5.13.0 MSVC 2017 64 bit
    • Windows

    Description

      Tested with a slightly modified version of the code demonstrated here:

      https://doc.qt.io/qt-5/qtbluetooth-overview.html#retrieving-local-device-information 

       

      QBluetoothLocalDevice localDevice;
      QString localDeviceName;
      
      if (localDevice.isValid()) {
      
          localDevice.powerOn();
      
          localDeviceName = localDevice.name();
          qDebug() << "Local device name: " << localDeviceName;
      }
      

      Result as per subject.

      Attachments

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

        Activity

          People

            owolff Oliver Wolff
            jirauser42638 user-2e49f (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes