Open chenguocan opened 1 month ago
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?
Windows write uni8List data error,but android is correct,why , connect port printer