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

PureJavaSerialPort initializing fails for STM32 Virtual USB COM Port Driver #104

Open
sg26565 opened this issue Jan 16, 2018 · 0 comments
Open

Comments

@sg26565
Copy link

sg26565 commented Jan 16, 2018

PureJavaSerialPort cannot be used with the STM32 Virtual USB COM Port Driver on Windows because the driver does not support the SetCommState function in kernel32.dll and always returns error 87 (ERROR_INVALID_PARAMETER) regardless of the parameters passed to the function.

The open method of jtermios.windows.JTermiosImpl should provide an option to bypass the SetCommState call or to ignore any error generated by this function.

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

1 participant