On Nov 28, 2005, at 1:17 AM, Franc Tan wrote:

Hello,

I'm trying to replicate the Trickle algorithm used in Mate' and use it in one of my applications. But I am having problems however understanding how the MateCapsuleVersion versions[MATE_CAPSULE_NUM] array gets initialized in MVirus.nc. Does anyone know how to initially set the versions[] array?

Why do you need to initialize it? The array will be filled with zeroes when the node boots. This means that if any node nearby has newer code, the just-booted node will request it.

Phil

-------

"We shall not cease from exploration
And the end of all our exploring
Will be to arrive where we started
And know the place for the first time."

- T. S. Eliot,  'Little Gidding'


_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to