-
Notifications
You must be signed in to change notification settings - Fork 140
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
软件长时间运行,读取不到信息 #21
Labels
question
Further information is requested
Comments
如您提供的这些信息,无法回答,这需要您自己排查是软件的问题还是硬件问题 |
那请教下,串口一个长时间保持 open 状态,串口会不会发生死机的情况?
…---- 回复的原邮件 ----
| 发件人 | ***@***.***> |
| 日期 | 2023年02月27日 11:40 |
| 收件人 | ***@***.***> |
| 抄送至 | ***@***.***>***@***.***> |
| 主题 | Re: [xmaihh/Android-Serialport] 软件长时间运行,读取不到信息 (Issue #21) |
如您提供的这些信息,无法回答,这需要您自己排查是软件的问题还是硬件问题
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
造成串口死机的原因: |
确实存在这种长时间保持串口连接状态会出故障的BUG。 |
为避免消耗电池电量,处于空闲状态的 Android 设备会快速进入休眠模式。 需要长时间保持串口连接状态可以考虑:1.使屏幕保持开启状态 2.使 CPU 保持运行状态 。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
软件长时间运行,一连运行一个星期以上的时候,就读取不到信息,是发生串口宕机吗?
The text was updated successfully, but these errors were encountered: