Nitin, > Why do we need to set the interval on the > packet we're sending? Because the recipient of the message may have a different sleep interval from that of the sender.
LPL is explained in TEP 105, which is available at http://www.tinyos.net/tinyos-2.x/doc/html/tep105.html . Also, I recommend that you also read http://docs.tinyos.net/index.php/Writing_Low-Power_Applications . Janos -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nitin Sharma Sent: Tuesday, May 13, 2008 1:08 PM To: [email protected] Subject: [Tinyos-help] Low Power Listening For Low Power Listening in the default Tinyos 2.x cvs stack (Box-MAC-2?) , the two interfaces as below: command void setLocalSleepInterval(uint16_t sleepIntervalMs); command void setRxSleepInterval(message_t *msg, uint16_t sleepIntervalMs); The Node (Receiver and Transmitter) would set its local sleep interval from the first command. The Receiver of course, if is peer-to-peer synchronized following the same sleep interval would be awake at that interval for receive check ? Why do we need to set the interval on the packet we're sending? Please let me understand. Thanks -- Nitin Sharma _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
