flutter-ble-uart icon indicating copy to clipboard operation
flutter-ble-uart copied to clipboard

Not detecting disconnect with `_updateConnectionState`

Open frey1esm opened this issue 5 years ago • 0 comments

On iOS, initiating a disconnect on the Arduino device does generate an iOS didDisconnectPeripheral event, but the flutter-ble-uart serial.onStateChange.listen(_updateConnectionState) listener doesn't see it. Thus _updateConnectionState isn't called and the Flutter app thinks it's still connected.

frey1esm avatar Sep 04 '19 19:09 frey1esm