woodemi / quick.flutter

54 stars 64 forks source link

[Android BLE]: BLE device not disconnecting #76

Open MGlolenstine opened 2 years ago

MGlolenstine commented 2 years ago

If I connect to a device and then try to reconnect, it doesn't connect. If I connect, disconnect and wait for about a minute, it does connect again.

I found other reports (admittedly, not using this library) with the same issue (https://stackoverflow.com/questions/37653487/android-ble-device-is-not-disconnecting-sometime, https://stackoverflow.com/questions/35986549/totally-disconnect-a-bluetooth-low-energy-device/63187218#63187218). In both cases, the onConnectionStateChange: Disconnected is called right after the QuickBlue.disconnect is called.