文件名称:CRC
介绍说明--下载内容均来自于网络,请自行研究使用
首先将用户输入的字符串转为二进制信息字段并左移16位后得到信息多项式,再利用生成多项式对信息多项式做模2除生成校验码,将16位的校验码拼接在左移空出的位置上,就是发送端发送的信息。由于传输过程中会有差错,所以接收方利用生成多项式对收到的信息同样做模2除检测,若余数为0,则传输过程中没有发生差错;若余数不为0,则传输过程中有差错。-First user input string converted to binary information field and moves to the left 16 bit after get the information polynomial, the generator polynomial model of an information polynomial 2 in addition to generate the checksum, 16 bit checksum stitching on the left shift vacated position is the sender to send information. Due to the errors in the transmission process, so the receiver by generating polynomial to receive information to do the same mode 2 in addition to the detection, if the remainder is zero, the transport process did not occur error. If the remainder is not 0, transmission error in the process.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
CRC.c