Your node has a local sleep interval defining how often the radio wakes up to perform a receive check.
Other nodes in the vicinity may have different sleep intervals. For example, maybe you have a node nearby that is not actually part of your network and is awake all the time. It would be bad to assume that every node around your node is on the same sleep schedule. Therefore, your node must specify the destination's sleep interval before sending the packet, which may be different than your local sleep interval. That way the radio stack will know how to deliver the packet to its intended destination. -David -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nitin Sharma Sent: Tuesday, May 13, 2008 11:08 AM To: tinyos-help@millennium.berkeley.edu 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 Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help _______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help