Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.14.0
-
None
-
Linux Ubuntu 18 System
QT 5.14
Description
Hi,
I'm repeatedly starting (every x seconds, with x going from 1 to 10 and back to 1) the BLE discovery via QBluetoothDeviceDiscoveryAgent. When the finished signal is trapped I retrieve the RSSI value from the QBluetoothDeviceInfo. This value is different from zero as expected.
When I power down the BLE device that is previously discovered I will correctly get as RSSI value 0 after the finished signal is trapped (use of getter func, discoveredDevices, to get the right ble device, represented by QBluetoothDeviceInfo).
However when I run the process for some time with the BLE device powered and then I power down the BLE device, the RSSI value is no longer zero but keeps the last value when it was queried.
It seems that no only the device is cached after a certain time but also the RSSI value and thus is no longer representative for the actual state of the BLE device.
I have added the sources to reproduce the issue.
Best regards,
Frank