13| 1
|
[求助] K10连接win中siot的稳定性以及多线程重启问题 |
一、K10连接win中siot的稳定性我最近做了一个类似于家庭天气牌的东西,使用BME680与行空板K10(后文简称为行空板),但我发现行空板、在连接win上运行的SIOT时,经常出现报错:{"level":"error","time":"2025-05-25T22:43:31.137+0800","caller":"broker/client.go:136","msg":"读取数据包错误","error":"read tcp 192.168.1.157:1883->192.168.1.138:64031: wsarecv: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.","ClientID":"42739615461254643"} 严格按照使用规范:点击bat文件打开的siot、行空板填写的为本机IP地址而非小黑窗中的IP地址、家庭网络良好。在Python模式中siot连接非常顺利(包括可视化面板)我最开始发现拔下BME680会大大提升连接成功率,但后来又发现似乎并没有影响,但没有删去对应代码;(现在情况为 |
1
2
© 2013-2025 Comsenz Inc. Powered by Discuz! X3.4 Licensed