Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windwos Incomplete writing #103

Open
chenguocan opened this issue Apr 1, 2024 · 1 comment
Open

Windwos Incomplete writing #103

chenguocan opened this issue Apr 1, 2024 · 1 comment

Comments

@chenguocan
Copy link

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

@YevgenBlazhko
Copy link

YevgenBlazhko commented Apr 1, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants