Closed mihailacusteanu closed 5 months ago
There's a bug in setting the configuration. See: https://github.com/jpnurmi/libserialport.dart/issues/24#issuecomment-812918216
@jdekarske you are right 😅 thanks a lot! This is very very helpful since I couldn't change the default baud rate for micropython(115200) without side effects. 🥳
I tried multiple snippets found in the documentation and here in the issues, but no luck.
I am using a esp32 and I send on the serial port some data using this micropython code:
My dart function is:
My output is:
It seems its reading the right data at a certain point but then its not working. My guess is that it's either the buffer size or the new line char '\n', but I am not sure how to tackle that.