Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

有没有可以查询CTS/DSR信号线状态的方法? #92

Open
Yan-ZhJ opened this issue Sep 20, 2024 · 4 comments
Open

有没有可以查询CTS/DSR信号线状态的方法? #92

Yan-ZhJ opened this issue Sep 20, 2024 · 4 comments

Comments

@Yan-ZhJ
Copy link

Yan-ZhJ commented Sep 20, 2024

有没有方法可以实现查询这两个信号线的状态?

@itas109
Copy link
Owner

itas109 commented Sep 21, 2024

3.x版本有这个功能,因为不常用,4.x版本没加

@Yan-ZhJ
Copy link
Author

Yan-ZhJ commented Sep 23, 2024

3.x版本有这个功能,因为不常用,4.x版本没加

感谢答复,那我自己先加一个GetCommModemStatus方法用着

@Yan-ZhJ
Copy link
Author

Yan-ZhJ commented Sep 23, 2024

参考setRts写了一个GetModemStatus,结果现在调用writeData会触发BN_CLICKED,环境VS2022 MFC
搞不定了

@itas109
Copy link
Owner

itas109 commented Sep 23, 2024

理论上应该不会影响MFC的BN_CLICKED
可以加Q群交流 129518033

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants