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

BLE Gatt Custom Service UUID Reversed on central

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.7.0 Beta
    • Fix Version/s: 5.7.0
    • Labels:
      None
    • Environment:
      Embedded Linux on ARM for Gatt Service.

      Description

      Service UUID
      "

      {73b0d2d0-4ddd-460c-aa93-625259f8eb3a}

      "
      becomes
      "

      {3aebf859-5262-93aa-0c46-dd4dd0d2b073}

      "
      When displayed by ble scanner

      code snippet on the GATT Server:
      serviceData.setUuid(QBluetoothUuid(QString("73b0d2d0-4ddd-460c-aa93-625259f8eb3a")));
      serviceData.setType(QLowEnergyServiceData::ServiceTypePrimary);
      QLowEnergyCharacteristicData charData;
      charData.setUuid(QBluetoothUuid(quint16(0x5000))); // Made up.
      charData.setProperties(QLowEnergyCharacteristic::Read);
      charData.setValue(QByteArray(1024, 'x')); // Long value to test "Read Blob".
      const QLowEnergyDescriptorData blobdesc(QBluetoothUuid::CharacteristicUserDescription,
      QByteArray("Blob User Description"));
      charData.addDescriptor(blobdesc);
      serviceData.addCharacteristic(charData);
      addService(serviceData);

        Attachments

        1. Android.png
          Android.png
          108 kB
        2. Screenshot.png
          Screenshot.png
          45 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            ablasche Alex Blasche
            Reporter:
            zoombach Lyle Zumbach
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes