I have many devices that communicate through COM port(tty/s0), i need to implement collision avoidance to make collision impossible.
(我有许多通过COM端口(tty / s0)进行通信的设备,我需要实现避免碰撞的功能,以使无法进行碰撞。)
Please give me some algorithm or code. (请给我一些算法或代码。)
Using: smart6818(Friendly arm), Ubuntu 16.04.5 LTS (使用:smart6818(Friendly arm),Ubuntu 16.04.5 LTS)
ask by Vitalii Krasokha translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…