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

多个线程打开多个串口,关闭其中一个串口,其余串口也没响应 #41

Open
eddyyuen opened this issue Jan 7, 2022 · 0 comments

Comments

@eddyyuen
Copy link

eddyyuen commented Jan 7, 2022

在使用安卓8.1 开发串口应用,有3个串口设备,使用多个线程进行串口操作。
任意调用 serialport.close() 关闭一个串口,其它串口都不能正常工作了。
通过日志可见只是关闭了其中一个串口的。

请问这个是什么原因?

@eddyyuen eddyyuen closed this as completed Jan 7, 2022
@eddyyuen eddyyuen reopened this Jan 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant