[Tinyos-help] RE: regarding the crc

Pablo Gil Montaño pgilmon at yahoo.es
Tue Sep 26 01:06:16 PDT 2006


I think that when you receive a packet through ReceiveMsg or Receive interfaces you don't have to check the CRC, since it has already been checked and you just won't receive the packet if the CRC was incorrect.

primalfear 69 <primeballerina at gmail.com> escribió: hello
  
         thanku very much..........bcaz of ur valuable suggestions i am able to progress a bit faster...........thanks once again.
  
    when i am using the TOS_Msg structure, the last two bytes before the sync byte(7e)  are the crc bytes........i want to verify whether the crc value of the packet which i received from the other mote through the radio is correct or not..........but i am not able to understand from which byte to which byte  the crc has been calculated.....i tried many a times removing few  bytes from the packet structure(view in the hyperterminal using the generic base or tosbase) such as the sync bytes,packettype etc and then tried to calculate the crc but my crc is not talling with the crc generated,...........i could not find out from which byte the crc is been calculated........... 
  
                                  can u helpme out with this,
                                                                     with regards,           
 

 		
---------------------------------

LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20060926/2e39a13f/attachment.htm


More information about the Tinyos-help mailing list