linux下调用open(devname,O_NONBLOCK|O_RDWR,0)打开串口设备
有时候,open卡住,迟迟不返回,甚至过了20秒左右open才返回
讨教一下这是什么情况?
有时候,open卡住,迟迟不返回,甚至过了20秒左右open才返回
讨教一下这是什么情况?
解决方案
20
会不会是串口通讯的对端的处理有问题。
或串口线缆太长,误码率超高。
……
这种时候,需要“怀疑一切,打击一切”的心态。

或串口线缆太长,误码率超高。
……
这种时候,需要“怀疑一切,打击一切”的心态。
