I would like to write some code to flush the radio buffer immediately
(no split phase functions or tasks).
So I tried the following code:
call CSN.set();
call CSN.clr();
call SFLUSHRX.strobe();
call SFLUSHRX.strobe();
call CSN.set();
But this doesnt completely work, since based on the CC2420 datasheet,
it is always required to read at least one byte from the RXFIFO before
issuing the SFLUSHRX command strobe.
Does anyone know how to read some bytes out from the RXFIFO
immediately, or is there other way to flush the buffer?
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help