Skip to content

FlutterError - PlatformException(writeCharacteristic, device is disconnected, null, null) #3440

@krushnarout

Description

@krushnarout

BleTransport.writeCharacteristic

io.flutter.plugins.firebase.crashlytics.FlutterError - PlatformException(writeCharacteristic, gatt.writeCharacteristic() returned 201 : ERROR_GATT_WRITE_REQUEST_BUSY, null, null)

android:

https://console.firebase.google.com/u/0/project/based-hardware/crashlytics/app/android:com.friend.ios/issues/de029f11fe34d419203a84691e246049?time=7d&types=crash&sessionEventKey=691493D600BF00056B3BD5592648D8C0_2150285060399256605

logs:

          Fatal Exception: io.flutter.plugins.firebase.crashlytics.FlutterError: PlatformException(writeCharacteristic, device is disconnected, null, null)
       at StandardMethodCodec.decodeEnvelope(message_codecs.dart:653)
       at MethodChannel._invokeMethod(platform_channel.dart:367)
       at FlutterBluePlus._invokeMethod(flutter_blue_plus.dart:614)
       at BluetoothCharacteristic.write(bluetooth_characteristic.dart:204)
       at BleTransport.writeCharacteristic(ble_transport.dart:191)
       at CustomDeviceConnection._sendCommand(custom_connection.dart:81)
       at CustomDeviceConnection.performRetrieveBatteryLevel(custom_connection.dart:92)
       at DeviceConnection.retrieveBatteryLevel(device_connection.dart:182)
       at DeviceProvider._onDeviceConnected(device_provider.dart:334)

ios:

https://console.firebase.google.com/u/0/project/based-hardware/crashlytics/app/ios:com.friend-app-with-wearable.ios12/issues/6570980dfb92b5f8c61da8629b55ac14?time=7d&types=crash&sessionEventKey=931f4b4d188c4f6aad99a92542a001d4_2152205447924830269

logs:

          Fatal Exception: FlutterError
0  ???                            0x0 BluetoothCharacteristic.write + 171 (bluetooth_characteristic.dart:171)
1  ???                            0x0 BleTransport.writeCharacteristic + 191 (ble_transport.dart:191)
2  ???                            0x0 CustomDeviceConnection._sendCommand + 81 (custom_connection.dart:81)
3  ???                            0x0 CustomDeviceConnection.performRetrieveBatteryLevel + 92 (custom_connection.dart:92)
4  ???                            0x0 CustomDeviceConnection.performGetBleBatteryLevelListener.<fn> + 112 (custom_connection.dart:112)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

In progress

Relationships

None yet

Development

No branches or pull requests

Issue actions