Mikołaj Kojdecki
Mikołaj Kojdecki
Hi! We have a bug with some of the streams. I've made a bad, uninformed decision making the streams asynchronous, which causes the cancel function to be asynchronous as well...
Hi! The proper fix is to make data streams single subscription, which will make `cancel()` awaitable. On a broadcast stream the cancel is immediately finished, even if the underlying cleanup...
Stay tuned, it should be fine and maintained. 🙂
Related to #487
Error code 2 means operation cancelled. I think you might've passed the same transaction ID to two operations.
3 is operation timeout. https://github.com/Polidea/FlutterBleLib/blob/develop/lib/error/ble_error.dart This library is based on our React Native BLE library and some things are directly translated from there. You can check out what the errors...
I don't why, I haven't seen your code. 🙂 If you're not monitoring, does the read succeed?
Can you check the permissions on your characteristic? (`isReadable`, `isWritable`, etc.)
Hi! Creating a new simplified sample app will take time. For the time being, you can start with just two files: Initialisation https://github.com/Polidea/FlutterBleLib/blob/develop/example/lib/devices_list/devices_bloc.dart#L52 Scanning for peripherals: https://github.com/Polidea/FlutterBleLib/blob/develop/example/lib/devices_list/devices_bloc.dart#L111 (same file) Most...
Hi! You can try setting log level to verbose and then running it from the native project (xcode or Android Studio), as flutter run unfortunately does not display native logs....