Closed Coimbra1984 closed 3 years ago
I have a serial device with the description "Serielles USB-Gerät (COM5)" (note the letter ä which is an extended ASCII character). When I call
final sp = SerialPort(name); sp.description
I get the error message [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: FormatException: Missing extension byte (at offset 18)
This error can be fixed with something like https://github.com/jpnurmi/dart_serial_port/pull/12 This might not be the best solution, but it definitely fixes the issue on my machine.
I have a serial device with the description "Serielles USB-Gerät (COM5)" (note the letter ä which is an extended ASCII character). When I call
I get the error message [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: FormatException: Missing extension byte (at offset 18)
This error can be fixed with something like https://github.com/jpnurmi/dart_serial_port/pull/12 This might not be the best solution, but it definitely fixes the issue on my machine.