stty equivalent in windows
Asked Answered
D

1

10

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.

Dittography answered 16/12, 2013 at 9:10 Comment(1)
You can get COM port setting via serial sniffer like Portmon, serialmon.com or hhdsoftware.com/serial-monitor.Predestinate
B
4
  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.

Bodice answered 3/1, 2014 at 20:35 Comment(1)
My problem is already solved. But this tool is really what I was looking for.Dittography

© 2022 - 2024 — McMap. All rights reserved.