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

reverseUuid as workaround for QTBUG-61392 is broken for BaseUuid

    XMLWordPrintable

Details

    • Android
    • 45608abda7b9470ec0b3ea26e849ec71b637288d (qt/qtconnectivity/5.12)

    Description

      I have a problem when i try to connect to a bluetooth-device with an uuid QBluetoothUuid::SerialPort on Android 7 and up. I always get "Connection to service failed". When I change qtconnectivity/src/bluetooth/qbluetoothsocket_android.cpp the function  reverseUuid to return serviceUuid instead QBluetoothUuid(). It works fine.

       

      Problem:static QBluetoothUuid reverseUuid(const QBluetoothUuid &serviceUuid)
      {

      ...
          if (isBaseUuid)
             return QBluetoothUuid();

      ...

      }

       

      No problem:

      static QBluetoothUuid reverseUuid(const QBluetoothUuid &serviceUuid)
      {

      ...
          if (isBaseUuid)
             return serviceUuid;

      ...

      }

       

      Attachments

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

        Activity

          People

            ablasche Alex Blasche
            floppy Florian Bohrer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes