[Tinyos-help] Program flow

Tarun Bansal bansal.tarun at gmail.com
Tue Feb 13 21:43:51 PST 2007


Nothing gets executed...There is nothing like background idle process
running continuously. So the node wont do anything except listening at
the radio.

Tarun
http://bansal.tarun.googlepages.com/

On 2/14/07, Aditya Bhave <adityay.bhave at gmail.com> wrote:
> Hello,
>
> SO suppose both of my init's and start's do some variable setting and return
> SUCCESS.
> What code gets exceuted next?
>
> In my application, my mote does something only when it receives the first
> packet over the radio. SO my start and init just set some state variables
> and then I wait for ReceiveMsg.receive to be called.
>
> While my mote is waiting, what code gets exceuted on the processor. Is there
> some system idle process that gets executed and if so, where and what is the
> name of the corresponding component?
>
> Thanks for your help
>
>
> On 2/13/07, Philip Levis <pal at cs.stanford.edu> wrote:
> > On Feb 13, 2007, at 1:01 PM, Ankur Kamthe wrote:
> >
> > > Read this
> http://www.tinyos.net/tinyos-2.x/doc/html/tep107.html for
> > > more details
> > > But from what I gather, its initialization first then the start
> > > routines are called sequentially.
> > > So, its init, init, start, start
> >
> >
> > TEP 107 is about TinyOS 2.x, not 1.x.
> >
> > But your conclusion is correct. A fan-out does not make calls in
> > parallel (it can't, given there is a single thread of execution); it
> > calls each one in an unspecified order.
> >
> > Phil
> > _______________________________________________
> > Tinyos-help mailing list
> > Tinyos-help at Millennium.Berkeley.EDU
> >
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >
>
>
>
> --
> regards,
> Aditya Bhave
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>


More information about the Tinyos-help mailing list