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

QBluetoothServiceDiscoveryAgent returns NULL QBluetoothServiceInfo serviceUuid ?

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 5.4.0
    • None
    • Qt 5.4.0 Linux 64-bit
      Ubuntu 14.04 LTS 64-bit

    Description

      Under Qt 5.4.0 Linux thenBluetooth Scanner Example the QBluetoothServiceDiscoveryAgent always returns QBluetoothServiceInfo serviceUuid value that is NULL for

      {00000000-0000-0000-0000-000000000000}

      " for any device.

      Steps to Reproduce
      ---------------------------
      1 - Buid btscanner example
      http://doc.qt.io/qt-5/qtbluetooth-btscanner-example.html
      2 - Put breakpoint in service.cpp at ServiceDiscoveryDialog::addService

      void ServiceDiscoveryDialog::addService(const QBluetoothServiceInfo &info)
      {
      if(info.serviceUuid().isNull())

      { qDebug() << "*** NULL service ID"; }

      I created another issue in anticipation of the coming Qt 5.5 alpha that reproduces the same behavior on OS X.

      https://bugreports.qt.io/browse/QTBUG-44320

      Thanks in advance,
      -Ed

      Attachments

        Issue Links

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

          Activity

            People

              ablasche Alex Blasche
              edofthemountain Ed Sutton
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes