[Tinyos-help] double boot in TOS-2.0.0beta1
Christian Tschudin
Christian.Tschudin at unibas.ch
Tue Aug 8 02:13:45 PDT 2006
On Fri, 4 Aug 2006, Philip Levis wrote:
> On Aug 3, 2006, at 2:31 AM, Christian Tschudin wrote:
>
> > Starting from RadioCountToLeds, I wanted to switch off and on
> > the ActiveMessageC component, and got a second booted()-event
> > with complete re-init of the main component. Bug or mistake
> > on my side?
>
>
> Can you be a bit clearer about what's going on. You call
> ActiveMessageC.SplitControl.stop() and the booted() event is signaled
> to you again?
yes: after the stop() that you mention I do a start() and then I get the
2nd booted() event. Overall:
-> start()
<- startDone()
<- booted()
...
-> stop()
<- stopDone()
...
-> start()
<- startDone()
<- booted() !!
christian.
>
> Phil
>
More information about the Tinyos-help
mailing list