一种基于RS485总线的可靠握手协议设计
Design of a Reliable Handshake Protocol Based on RS485 Bus
-
摘要: 设计了一种基于RS485总线的可靠软件握手协议,协议根据RS485串行总线标准,通过按照既定的通信格式、对收发数据包进行有效分析校验,解决由井下电磁干扰信号引起的通信数据包出现乱码、错码等问题。Abstract: A reliable software handshake protocol based on RS485 bus is designed. On the basis of RS485 serial bus standard, the agreement solves the problems of communication packet garbled error code caused by the underground electromagnetic interference signal through verifying data packets during receiving and delivering in accordance with established communication format.