Thts fine..but there is still one more thing to ask.

If an event is not doing anything then why do we take the pains to include
it..

for example
in file tinyos-1.x/tos/platform/mica2/CC1000RadioIntM.nc there are some
"default events" which do nothing. They are not even implemented in some
other configuration. Then what purpose do they serve. ( I did not find an
explanation of this in the manual)

Thanking you once again

MMA


On 28/06/07, Brian Mulanda <[EMAIL PROTECTED]> wrote:

When an event is preceded by "default", the compiler will not require you
to wire this event when specifying your
configuration. The nesC compiler will complain if an event, not preceded
by default,  is not wired  within a
configuration.

You can read more about this in the nesC language reference manual  here:

 http://nescc.sourceforge.net/papers/nesc-ref.pdf

-Brian


On 6/28/07, Murtuza <[EMAIL PROTECTED]> wrote:

> hi friends,
>
> Can anyone tell me what a "default event" is? Why do we need the word
> "default" in it...can we just say "event" ?
>
> Thanking You
> MMA
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>


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

Reply via email to