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é

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to