Re: [Tinyos-help] CRC Checking

2009-04-13 Thread JeongGil Ko (John Ko)
Hi! You should be able to find where the packet is dropped due to CRC errors in CC2420ReceiveP.nc. -John Joe Green wrote: > Is there a way to remove the CRC checking from the motes? I am trying > to implement a different type of error correction, but do not know > if/where to make the edits.

Re: [Tinyos-help] CRC checking

2007-04-10 Thread Sankar Gorthi
Message - From: "Ben Buckner" <[EMAIL PROTECTED]> To: Sent: Tuesday, April 10, 2007 10:55 AM Subject: Re: [Tinyos-help] CRC checking Yes. My mistake. We would want to make sure the CRC bytes don't have the 7E or 7D bytes. > The corrected procedure would be

Re: [Tinyos-help] CRC checking

2007-04-10 Thread Ben Buckner
> Yes. My mistake. > > We would want to make sure the CRC bytes don't have the 7E or 7D bytes. > The > corrected procedure would be as here: > > 1. create the message packet including everything but the Sync bytes (7E) > 2. run the CRC algorithm on the escaped data packet > 3. attach the CRC in l

RE: [Tinyos-help] CRC checking

2007-04-10 Thread Ben Buckner
mess up the framing logic, but you never know how logically the actual code has been implemented. Ben -Original Message- From: Michael Schippling [mailto:[EMAIL PROTECTED] Sent: Monday, April 09, 2007 10:16 PM To: Ben Buckner Cc: tinyos-help@Millennium.Berkeley.EDU Subject: Re: [Tinyos

Re: [Tinyos-help] CRC checking

2007-04-09 Thread Michael Schippling
Sounds right... however... I've not seen an exposition of what happens when the CRC has a 7{e,d}... Logically your algorithm works, but in practice we'd have to reverse engineer the TOS code... The CRC is part of the T_M packet since data[] is encapsulated, and it's at the end so some(unspecified

Re: [Tinyos-help] CRC checking

2007-04-09 Thread Ben Buckner
The way my code calculates it is to concatenate the packet type byte and the payload (TOS_Msg). Then I CRC that all together, append the CRC (low byte first), and run the escaper on it all (don't forget to catch both 7Es and 7Ds). Then I prepend and append the 7E synch bytes. Seems to work. I'm not

Re: [Tinyos-help] CRC checking

2007-04-09 Thread Sankar Gorthi
- From: "Michael Schippling" <[EMAIL PROTECTED]> To: "jurin dan" <[EMAIL PROTECTED]> Cc: "tinyos-help@Millennium.Berkeley.EDU" Sent: Monday, April 09, 2007 12:13 PM Subject: Re: [Tinyos-help] CRC checking I thing that's in the octavetech page,

Re: [Tinyos-help] CRC checking

2007-04-09 Thread Michael Schippling
ECTED]> To: "jurin dan" <[EMAIL PROTECTED]> Cc: "tinyos-help@Millennium.Berkeley.EDU" Sent: Monday, April 09, 2007 12:13 PM Subject: Re: [Tinyos-help] CRC checking I thing that's in the octavetech page, but I believe it is all bytes including header, before e

Re: [Tinyos-help] CRC checking

2007-04-09 Thread Sankar Gorthi
[EMAIL PROTECTED] > CC: tinyos-help@Millennium.Berkeley.EDU > Subject: Re: [Tinyos-help] CRC checking > > This site describes the message format and CRC calculation: > http://www.octavetech.com/pubs/TB5-01%20Deciphering%20TinyOS%20Serial%20Packets.pdf > > There'

Re: [Tinyos-help] CRC checking

2007-04-09 Thread Michael Schippling
ley.EDU > Subject: Re: [Tinyos-help] CRC checking > > This site describes the message format and CRC calculation: > http://www.octavetech.com/pubs/TB5-01%20Deciphering%20TinyOS%20Serial%20Packets.pdf > > There's also code in TOS (well...duh) and the java tools which

RE: [Tinyos-help] CRC checking

2007-04-09 Thread jurin dan
um.Berkeley.EDU> Subject: Re: > [Tinyos-help] CRC checking> > This site describes the message format and CRC > calculation:> > http://www.octavetech.com/pubs/TB5-01%20Deciphering%20TinyOS%20Serial%20Packets.pdf> > > There's also code in TOS (well...duh) and th

Re: [Tinyos-help] CRC checking

2007-04-08 Thread Michael Schippling
This site describes the message format and CRC calculation: http://www.octavetech.com/pubs/TB5-01%20Deciphering%20TinyOS%20Serial%20Packets.pdf There's also code in TOS (well...duh) and the java tools which does the CRC. I know one is called crc.java MS jurin dan wrote: hi, i have the raw d