Hi to all, 
I-ve some question about Collection in tinyOs, I hope someone can help me.

1) The StdControl interface should "generate the collection tree" (from what 
specified from the EasyCollection example). However, looking at the code of 
CollectionC I see that the StdControl interface only sets some variables 
(start=TRUE), and does not build any tree. 
If I have to implement direct diffusion I expect something like flooding of 
interests from the sink once StdControl.start() is being called, in order to 
build the tree. Where should the flooding be placed? In which function? And 
also in Ctp, where is the tree contructed?

2) If I want to implement direct diffusion, my sinks have to diffuse their 
interests, and usually, this is done from a setRoot-like function. The problem 
is that I have to pass also their interests in the  (setRoot(SinkMsg msg)). How 
I get around this? 

Thanks,
Flavio



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

Reply via email to