flutter_libserialport icon indicating copy to clipboard operation
flutter_libserialport copied to clipboard

Windwos Incomplete writing

Open chenguocan opened this issue 1 year ago • 1 comments

Windows write uni8List data error,but android is correct,why , connect port printer

chenguocan avatar Apr 01 '24 07:04 chenguocan

I also have issue with writing via the port on Windows.

      serialPort.openReadWrite();
      serialPort.config = SerialPortConfig()
        ..baudRate = 19200
        ..bits = 8
        ..stopBits = 1
        ..parity = 0
        ..rts = SerialPortRts.flowControl
        ..cts = SerialPortCts.flowControl
        ..dsr = SerialPortDsr.flowControl
        ..dtr = SerialPortDtr.flowControl
        ..setFlowControl(SerialPortFlowControl.rtsCts);

Listening _portReader?.stream.listen works right but _serialPort?.write(some_uint8list) works on MacOS, not on Windows. Why?

YevgenBlazhko avatar Apr 01 '24 09:04 YevgenBlazhko