Hi Wasif, Thanks for your answer. It looks a bit like a magic number. Shouldn't that be defined as a macro, similar to DELAY_AFTER_RECEIVE?
-- Wojtek 2010/8/12 wasif masood <[email protected]> > > SendDoneTimer is for repetitivey sending packet which is not being acked > within the sendDoneTimer window. > > The line: > > call SendDoneTimer.startOneShot( > call LowPowerListening.getRemoteWakeupInterval(currentSendMsg) + 20); > > > means that, sending will be the done, starting when the receiver wakes up + > 20 msec (grace period in order to ensure data delivery, this could be > considered as the time spent in communication and processing on either > ends). > > > > > > On Wed, Aug 11, 2010 at 2:17 PM, Wojciech Bober <[email protected]>wrote: > >> Hi all, >> >> Does any one know what is the reason for adding 20ms to the wake-up >> interval? >> >> DefaultLplP.nc line 401 >> <code> >> call SendDoneTimer.startOneShot(call >> LowPowerListening.getRemoteWakeupInterval(currentSendMsg) + 20); >> </code> >> >> Wojtek >> _______________________________________________ >> Tinyos-help mailing list >> [email protected] >> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >> > > > > -- > Wasif Masood > > > _______________________________________________ > 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
