Details
-
Type:
Bug
-
Status: Reported
-
Priority:
P2: Important
-
Resolution: Unresolved
-
Affects Version/s: 5.15.1
-
Fix Version/s: None
-
Component/s: Connectivity: Bluetooth
-
Labels:None
-
Environment:Android version 9, macOS 11.0.1, Qt 5.15.1
-
Platform/s:
Description
I have attached an example code where I use an android program called BLE Scanner that allows to use BLE advertisers, in this example create a Heart Rate advertiser.
deviceName = "devic"
serviceUUID = "{0000180d-0000-1000-8000-00805f9b34fb}";
characteristicUUID = "{00002a37-0000-1000-8000-00805f9b34fb}"
this feature is of type Notify but when I try to enable it using:
service-> writeDescriptor (notificationDescriptor, QByteArray :: fromHex ("0100"));
The QLowEnergyService::descriptorWritten signal is supposed to be emitted, but this never happens, as a result, I can not retrieve the information from the peripheral device.
Note:
This behavior also happens when I try to run the "Bluetooth Low Energy Heart Rate Game" example