Details
-
Task
-
Resolution: Fixed
-
P2: Important
-
6.5
-
None
-
-
13
-
8ae30c552 (dev), 712bdeb61 (dev), 163ce3e87 (6.5), 8363df31f (6.5)
-
Foundation Sprint 73, Foundation Sprint 74
Description
Android 13 (API level 33, Tiramisu) deprecates few methods that Qt bluetooth uses
BluetoothGatt::writeCharacteristic() and writeDescriptor() BluetoothGattCharacteristic::getValue() and setValue() BluetoothGattDescriptor::getValue() and setValue() BluetoothGattCallback::onCharacteristicChanged(), onCharacteristicRead(), and onDescriptorRead() BluetoothGattServer::notifyCharacteristicChanged()
These should be replaced with the suggested overloads. The work could be started with the emulator which has nowadays Bluetooth support, but ultimately a real device is needed to run the live bluetooth tests.
Most if not all of the changed APIs have similar underlying rationale (values are passed with explicit byte arrays to avoid memory issues) => likely best to do these with one commit / closely related group of commits.
Attachments
Issue Links
- is required for
-
QTBUG-103561 Android 13: Deprecations
- Open