[Tinyos-devel] CRC bug
Kevin Klues
klueska at gmail.com
Fri Dec 7 13:31:50 PST 2007
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
More information about the Tinyos-devel
mailing list