[Tinyos-devel] CRC bug

Vlado Handziski handzisk at tkn.tu-berlin.de
Fri Dec 7 14:41:47 PST 2007


My recollection is that his has been done in HW on the CC2420, but this is
before the new stack was introduced.

Vlado

On Dec 7, 2007 10:31 PM, Kevin Klues <klueska at gmail.com> wrote:

> Does anyone know why the crc footer bit is never checked anywhere in
> the entire tinyos-2.x tree?  In tinyos-1.x the radio stack passed the
> packet up to the AM layer (AMPromiscuous.nc, AMStandard.nc) which
> checked to see if  (footer->crc == 1) before passing the packet up the
> stack.  The AM layer contains no such functionality in T2.
> Because of this, a disconcerting number of packets (at least on motes
> that use a cc1000) obtained by the application layer end up bing
> corrupted.
>
> This is obviously a bug, the question is where this filtering should
> actually be done.  As I mentioned before, in tinyos-1.x it was done at
> the AM layer.  Is that where we want to keep it, or should it be
> pushed down into the radio stacks themselves?  In what cases will we
> ever want to receive a packet if it has a bad crc?  I can think of
> situations where this might be useful (i.e. doing forward error
> correction or something), but if such functionality were implemented
> it should exist below the AM layer.
> I guess my real question then, is where should we put this filtering
> NOW so taht corrupted packets dont get sent up to the application.
>
> --
> ~Kevin
> _______________________________________________
> Tinyos-devel mailing list
> Tinyos-devel at Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-devel
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-devel/attachments/20071207/489b176c/attachment.html


More information about the Tinyos-devel mailing list