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

Bluetooth BLE device name is empty on macOS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Out of scope
    • Affects Version/s: 5.9.7, 5.12.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      macOS 10.13
    • Platform/s:
      macOS

      Description

      On macOS the device name is empty:

      m_discoveryAgent = new QBluetoothDeviceDiscoveryAgent(this);
      m_discoveryAgent->setLowEnergyDiscoveryTimeout(5000);
      connect(m_discoveryAgent, &QBluetoothDeviceDiscoveryAgent::deviceDiscovered, this, [this](const QBluetoothDeviceInfo &info) {
      	qDebug() << info.name(); // empty
      });
      

      On iOS (and Android) the device name is not empty.

        Attachments

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

          Activity

            People

            • Assignee:
              ablasche Alex Blasche
              Reporter:
              DanielSt Peter Staab
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes