Closed perillamint closed 1 year ago
Adding some note here: This is a known bug in new Android Bluetooth stack.
Note that this patch is tested on Android 13 (CalyxOS on Pixel 6), but not on 12 and lower.
First of all, thank you very much for looking into this issue. Very much appreciated!
Note that this patch is tested on Android 13 (CalyxOS on Pixel 6), but not on 12 and lower.
While i am not competent to review the code (and compile with your changes), i could test for regressions on Lineage 20 and several older Android versions if you could post an APK.
Tested on GrapheneOS and fixes the issue, thank you :)
Android 13 switched Bluetooth stack to Gabledorsche. The stack is known to crash when trying to send large payload.
related SO article: https://stackoverflow.com/questions/73772158/bluetoothgattcharacteristic-write-crashes-with-android-13
This fixes issue #192