Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.7.0 Beta
-
None
-
Embedded Linux on ARM for Gatt Service.
Description
Service UUID
"
"
becomes
"
"
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);