[Tinyos-help] Collection Dissemination
Omprakash Gnawali
gnawali at usc.edu
Tue Apr 21 12:20:06 PDT 2009
On Mon, Apr 20, 2009 at 2:36 AM, giorgio <giorgio.galassi at unimi.it> 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
More information about the Tinyos-help
mailing list