Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception: Failed to write the characteristic #414

Closed
itlws opened this issue Jul 23, 2023 · 2 comments
Closed

Exception: Failed to write the characteristic #414

itlws opened this issue Jul 23, 2023 · 2 comments

Comments

@itlws
Copy link

itlws commented Jul 23, 2023

`[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Exception: Exception: Failed to write the characteristic #0 BluetoothCharacteristic.write. (package:flutter_blue_plus/src/bluetooth_characteristic.dart:176:21)

#1 _Mutex.synchronized (package:flutter_blue_plus/src/utils.dart:316:13)

#2 BluetoothCharacteristic.write (package:flutter_blue_plus/src/bluetooth_characteristic.dart:143:9)

#0 BluetoothCharacteristic.write. (package:flutter_blue_plus/src/bluetooth_characteristic.dart:187:13)
#1 _RootZone.runBinary (dart:async/zone.dart:1665:54)
#2 _FutureListener.handleError (dart:async/future_impl.dart:162:22)
#3 Future._propagateToListeners.handleError (dart:async/future_impl.dart:779:47)
#4 Future._propagateToListeners (dart:async/future_impl.dart:800:13)
#5 Future._completeError (dart:async/future_impl.dart:575:5)
#6 Future._asyncCompleteError. (dart:async/future_impl.dart:666:7)
#7 _microtaskLoop (dart:async/schedule_microtask.dart:40:21)
#8 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5)`

@itlws itlws changed the title Exception: Exception: Failed to write the characteristic Exception: Failed to write the characteristic Jul 23, 2023
@chipweinberger
Copy link
Owner

chipweinberger commented Jul 23, 2023

update to 1.9.4. it should tell you the reason it fails.

ios or android?

@itlws
Copy link
Author

itlws commented Jul 24, 2023

Thank you! After upgrading to 1.9.4, I received an error message. The problem has now been resolved.

@itlws itlws closed this as completed Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants