Talk:Longitudinal redundancy check
From Wikipedia, the free encyclopedia
I would like to know ,how to arrive at the check digit,ie longitudinal redundancy check digit. Regards, Suresh.sati.P
[edit] Is the alogrythm correct on this page?
I think it should be (based upon http://www.automatas.org/modbus/crc7.html)
lrc=0x00 foreach char in string do lrc = 0xFF & (lrc + char) done lrc = 0xFF - lrc + 0xFF