On Mon, Apr 20, 2009 at 2:36 AM, giorgio <[email protected]> wrote: > I have had a strange question that is very important for me .I have written a > littele example with 3 modules one for start and stop the other 2 modules and > one module to do collection and one to do dissemination.Coleection module and > dissemination module are esasycollection module and easydisseminationmodule > that I find on Tiny OS documentaion Wiki.The strange thing is that when I > start > dissemination start also collection also I don't start it.Why ?
When you make this call "call StartRaccogli()", you RaccogliP module will start the radio. When the radio is started, RadioControl.startDone() will be signalled on both RaccogliP (which will start collection) as well as SeminaP (which will start dissemination). That is why you are seeing both the services start even though you only made a call to start collection. - om_p _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
