Re: 0xE0 and 0x07 - CRC
Carsten Bormann <[email protected]> Mon, 4 May 2009 16:09:45 +0200
| Newsgroups | gmane.ietf.rohc |
|---|---|
| Message-ID | <[email protected]> |
On May 4, 2009, at 14:53, Karthik Balaguru wrote: > Is it mandatory to use 0xE0 based CRC for 8-bit IR/IR-DYN CRC ? > If it is mandatory, why is '0xE0' opted instead of '0x07' ? Because that's what we agreed on after a lot of confusion during ROHC interop testing. See RFC 4815, section 2 and appendix A. > I got an online evaluation tool for 0x07 - > http://www.usstmba.cn/chenjq/www2/software/crc/CRC_Javascript/CRC8calculation0b.htm > > Is there any online evaluation tool for 0xE0 ? It's not online, but you can run it on your computer: You could use the code I wrote during the first ROHC interop; it is in appendix A of RFC 4815. (That code also should be easy to translate to $LANGUAGE.) Gruesse, Carsten