thanks, I fixed the crc to and now calculates correctly (0x13 0x59), but 
it still doesn't work.
Now the testing came to the phase when I just put the byte stream 
myself, so if you have additional corrections or byte stream that you 
are sure it works, I would really appreciate.
Thanks again.

Greg Hackmann wrote:
> Aleksandar Kovacevic wrote:
>> 0xDE 0x25 - CRC (well calculated)
>
> I believe that your CRC is wrong, and should be 0x13 0x59.
>
> Note that TinyOS calculates its CRC-16 using the CCITT polynomial, and 
> that the CRC field is stored in the packet in little-endian format.
>
> Greg Hackmann

-- 
_____________________/mobnets\_____________________

  Aleksandar Kovacevic
  Research Assistant    
  Tel: +49 (0) 2407 575 7028
  Room: C040
        
  Deparment of Wireless Networks
  http://www.mobnets.rwth-aachen.de
  RWTH Aachen University
  Kackertstraße 9
  D-52072 Aachen
  Germany
___________________________________________________

 
 

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to