Qt Bluetooth Low Energy Notification not working on Android
Unsolved
Mobile and Embedded
-
I have created an application for the Android device (arm64-v8a) to communicate with theBLE Device.
After a successful connection, all BLE services and characteristics are found, However, the characteristic descriptors for Notify (QBluetoothUuid::ClientCharacteristicConfiguration) are invalid.
When this invalid characteristic descriptor is found, enabling the Notification for that particular characteristic is not possible and BLE communication is broken.
I have tested this with Qt5.15.3 and Qt6.5.3 and the observation is the same.
I have found some related post where a workaround is suggested to force LE version BLUETOOTH_FORCE_DBUS_LE_VERSION=5.41 for Raspberry Pi. But for Android devices, this is not possible.