KDev

Results 10 comments of KDev

@tdrkDev Try to adjust the `SerialPortReader` timeout to see if it works. The default is `500 ms` if not set. ``` final timeout = const Duration(seconds: 1).inMilliseconds final reader =...

@Leadrive Not sure if this would work, but try to config the serial port after `open` and listen to the reader stream for the values. Here's a simple snippet, ```...

Have you tried to compile an run the example in the [flutter_libserialport](https://github.com/jpnurmi/flutter_libserialport/tree/main/example)? If you run the example in this repo as indicated above, you would need to compile/provide the `libserialport.dylib`...

The best way to handle this is to catch the Exception then close the existing reader and serial port connection(s). This would close the corrupted port(s), then go through the...

Would you be able to send a `handshake` message to the peripheral to acknowledge the connection? Basically, test the connection with a given configuration first and if it's timed out...

Assuming you're using a single port for both `write` and `read` operations, and the old data is the data from the `write` operation? I'm not sure if this would help,...

@yuriboeira11tx I encounter the same error on iOS and able to reproduce it with the Example app. I'm not sure if it's the same cause as the issue described in...

@remonh87 @werediver We still would like to have a patch for backward compatibility to support devices in production that can't be updated with new firmware. We've made the fix in...

@werediver I actually used the Example app, and as soon as I select the `Subscribe` button, it would return the `Writing is not permitted` error.

@dhaval-k-simformsolutions @yuriboeira11tx Are you using the `Example` app for testing? I **only** able to recreate the issue with the `Example` app when I press the `Subscribe` button multiple times. The...