Thanks Janos and David. I have got yet another query.
So i assume, the transmitter could decide to send as soon as it has a packet to send and the radio is on .And keep on retransmitting (within the receive check period interval ) unless acked or timeout. http://docs.tinyos.net/index.php/Writing_Low-Power_Applications says "The transmitter stops sending once it receives a link-layer acknowledgment or a timeout of twice the check period." My concern is for a recipient with a relatively longer schedule. Does it keep on retrying for twice the check period in the worst case? Any insight into how many retransmissions? Thanks again. Nitin On Tue, May 13, 2008 at 1:46 PM, David Moss <[EMAIL PROTECTED]> wrote: > 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: [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 > > > -- Nitin Sharma _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
