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.
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.