stty equivalent in windows

7.5k views Asked by At

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.

1

There are 1 answers

1
Myles Baker On BEST ANSWER
  1. 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.

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