Closed FritzMatthaeus closed 1 year ago
Do you have another BLE tool, write the value to your BLE device, and check whether this write causes the problem. It may be your device's response to the unknown data.
Do you have another BLE tool, write the value to your BLE device, and check whether this write causes the problem. It may be your device's response to the unknown data.
thanks for the hint. I've found the solution. By mistake i sent a byte array with 100000 bytes in a single write request. Normally this would be blocked by FBP, but in our implementation we ignore the mtu size check on write requests. Obviously this large payload crashed the connection.
problem solved
Requirements
Have you checked this problem on the example app?
No
FlutterBluePlus Version
1.29.8
Flutter Version
3.16.1
What OS?
Android
OS Version
Android 13
Bluetooth Module
ANNA-B112
What is your problem?
I write a value (without response) to a Bluetooth Characteristic and then the bluetooth connection gets disconnected. Any help on intepreting the native logs is appreciated, thx.
Logs