Does anybody know an equivalent tool for stty on Windows? I want to reverse engineer serial port settings on a Windows platform.
I have to port a Windows application to a Linux platform, but I do not have any information on the serial port settings that I have to use for the application. I have to reverse engineer those settings. The most common ones don't work.
An example application on windows is available and working.
AFAIK there is no stty equivalent for Windows. I transitioned from Linux to Windows for work last year and have begrudgingly learned the "best practices" for Windows and how they differ from Linux.
The Device Manager in Windows should show you all serial port settings, but for specific port settings try MODE.COM <PORT NAME>
as documented here.
Good luck.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With