[Tinyos-help] Is Drip a one-to-many or a many-to-many protocol?

Robert Taylor das.bobby2000 at gmail.com
Tue Aug 5 11:00:35 PDT 2008


Thanks Phil!

2008/8/5 Philip Levis <pal at cs.stanford.edu>:

>
> On Aug 4, 2008, at 5:26 PM, John Hendrie wrote:
>
> > Thanks for the explanation.
> >
> > I have another question about sequence numbers. What happens when
> > the sequence number overflows? I can't see anything in the code that
> > deals with wrapping. Does Drip assume that the sequence number will
> > never wrap?
>
> Yes, it does. You can only change a variable 65,535 times. If this is
> an issue, you can use 32-bit sequence numbers, at which point it will
> take 248 days (at 200 packets per second) to even increment across all
> 32 bits. But this would cost an extra 2 bytes/variable, and we thought
> 65,535 was sufficient for almost all reasonable cases.
>
> Phil
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080805/100279ee/attachment.htm 


More information about the Tinyos-help mailing list