Xiaohui:

> (1) What if a frame fails address recognition and is automatically
flushed? How is this case handled?
I avoided this problem by doing the address recognition in software, so
there's no automatic flushing. The only thing the driver does is it signals
RadioReceive.header(rxMsg), the return value of which decides whether to
keep the message or discard it.


Regarding your question about the code in *readLengthFromRxFifo* after
reading the length byte: the FastSpi interface groups a SPI read operation
with the write operation of the following SPI byte transfer, so we don't
need to block on a flag/interrupt to wait for completion. In this
particular function, we initiate the next operation after reading the
length byte. This is done for efficiency.

Janos
On Sun, Dec 2, 2012 at 1:59 PM, Xiaohui Liu <[email protected]> wrote:

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

Reply via email to