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.
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
> 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
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
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
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
- 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,
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
[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'
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
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
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
12 matches
Mail list logo