[Tinyos-help] CC2420ReceiveP RXFIFO.readDone
André Cunha
andreribeirocunha at gmail.com
Wed Dec 19 08:57:56 PST 2007
Hello all,
I am trying to change the default code in RXFIFO.readDone in TOS2.0.
I have some doubts on some parts of the code. I have some basic questions:
1. What is the meaning of the return of the following functions call
FIFO.get() and call FIFOP.get()?
2. If I have more than one packet in the FIFO buffer do I use the
RXFIFO.continueRead to read the next packet or can I use the
RXFIFO.beginRead (without doing the flush)?
3. If I want to discard an bad packet or just one packet that does not
fit some requirements (like the address) I need to call the
RXFIFO.continueRead with the remaining length of the packet before
reading a new one? Right?
Thanks for the help.
Best Regards
André
More information about the Tinyos-help
mailing list