[Tinyos-help] CRC Problem

Jeff Thorn jthorn at octavetech.com
Wed Mar 2 09:03:19 PST 2005

Ok, it appears that the CRC is calculated using the Packet Type byte (42)
plus the TinyOS packet after it has been escaped. Does this sound correct?
This does not work with the example below taken from the Xbow faq, so it
must not be a valid example. It does work with the data from the xlisten
application reading surge packets. 

My question now is, will this be the same going forward or has this changed
with newer releases of TinyOS? 


> I cannot get a correct value for the packet CRC. The Crossbow website has
> a FAQ explaining how to interpret a TinyOS packet. It discusses how to   
> calculate the CRC value, and provides code that does the calculation (from
> CRCPacket.nc I believe). They give an example data packet of:
> 7E 42 FF FF 00 11 1D 81 02 01 00 B9 07 B0 07 BE 07 B5 07 7F 00 FF 01 FF
> 03 00 00 00 00 00 00 00 00 00 00 00 55 86 7E

More information about the Tinyos-help mailing list