That often leads to 133 issues if peripheral device supports both 2.0 and BLE link.
I see a lot of that on some old Amazon Fire 7 devices running Android 5 and issue can't be worked around in the current version of the flutter_blue_plus.
To get around that pretty much all native Android BLE helper libraries are using reflection to call a hidden private method on BluetoothDevice class:
Requirements
Have you checked this problem on the example app?
No
FlutterBluePlus Version
1.34.5
Flutter Version
3.24.5
What OS?
Android
OS Version
5
Bluetooth Module
Amazon Fire7 gen5 2015
What is your problem?
The
flutter_blue_plus
plugin is using a default BT transport (LE + 2.0) when Android platform is below 23 (e.g. Android 5)https://github.com/chipweinberger/flutter_blue_plus/blob/fe45ba098c76bacf31fe7ffb667d5b15352fd54f/android/src/main/java/com/lib/flutter_blue_plus/FlutterBluePlusPlugin.java#L718-L722
That often leads to 133 issues if peripheral device supports both 2.0 and BLE link. I see a lot of that on some old Amazon Fire 7 devices running Android 5 and issue can't be worked around in the current version of the
flutter_blue_plus
.To get around that pretty much all native Android BLE helper libraries are using reflection to call a hidden private method on BluetoothDevice class:
https://github.com/douglasjunior/AndroidBluetoothLibrary/blob/master/BluetoothLowEnergyLibrary/src/main/java/com/github/douglasjunior/bluetoothlowenergylibrary/BluetoothLeService.java#L317-L330
Here is a full patch that fixes these 133 connection issues in my case:
https://github.com/chipweinberger/flutter_blue_plus/pull/1065
Logs