Hannes Winkler

Results 303 comments of Hannes Winkler

Hey, sure. what exactly do you want to run on the Pi? Some flutter app? If you want to use this package as part of a flutter app, just add...

can you try depending on this repo directly [like this](https://dart.dev/tools/pub/dependencies#git-packages)? It has some commits that aren't contained yet in the latest version. > There is no libc.so.6 file neither flutter...

my bad, forgot about this. Yes right now linux_serial is not supported on android, but I can make it work there.

@plabon5150 Can you try this: https://github.com/ardera/flutter_gpiod/issues/9#issuecomment-689112840

Yep, sure. I actually thought about adding it myself, but I wasn't sure if anyone needed it. So it's good that you created an issue :smile:

@RadkMcku Can't really provide a time-frame, could be next week but could also be only in 2 months unfortunately :/ The testing would really help though, I don't have a...

Hey, maybe something like this would work: ```dart import 'dart:convert'; // ... final textBuffer = StringBuffer(); final Stream textStream = serialPortHandle.stream.transform(ascii.decoder); textStream.listen((chunk) { textBuffer.write(chunk); setState(() {}); }); ```

though this is probably a common enough use case that I could just add a `SerialPortHandle.textStream` shortcut for this

For listing the serial ports, read access to `/sys/dev/char` is required. You can try running `chmod ugo+r /sys/dev/char` as the root user to grant everyone access to that folder. Though...