문제

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top