Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

stty equivalent in windows

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.

like image 771
Peter DW Avatar asked Dec 16 '13 09:12

Peter DW


1 Answers

  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.

like image 64
Myles Baker Avatar answered Nov 12 '22 02:11

Myles Baker