Thanks to Phil Levis and Hui Kang (mailed me directly) for teaching me about this.
To recap, the other components (except the MCU) don't sleep even if there are no tasks to run. Hence, for example, if the radio is in RX mode, I believe an interrupt would wake up the MCU if any packet is received. If needed, the radio has to be sent to sleep explicitly. The correct way to do this seems to be through the OscillatorOff() command in the CC2420Control interface of CC2420ControlM (in TinyOS
1.x).
Thanks again,
Tim
On 7/3/06, Hieu Tran <[EMAIL PROTECTED]> wrote:
As Tim said Whenever there are no more tasks to run, TinyOS automatically sleeps. So I wonder how mote can continute to receive radio signal? (ex: in case the base station send radio signal to the mote). May be it have to wake up periodically?
Whenever there are no more tasks to run, TinyOS automatically sleeps.
HTH,
Tim
Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
