The following steps will put a node to sleep for a specified time:

1) stop the activities the node performs (this puts the node to sleep)
2) set a timer to fire after a specified time interval (this is the wake-up
time)
3) in the fired() event of the timer, start the node's activities that you
stopped earlier (this wakes the node up)

Adesola


-----Original Message-----

Date: Fri, 16 Jun 2006 14:18:01 -0500
From: "Ravilochan G S" <[EMAIL PROTECTED]>
Subject: [Tinyos-help] setting node to sleep in TinyOS
To: [email protected]
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"

Hi,
Can someone please let me know the command in TinyOS to put the node to
sleep for a specified no of milliseconds/seconds?


Thanks in advance,
Ravilochan

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

Reply via email to