[Tinyos-help] TinyOS Design Questions - (Question-1)
Aurélien Francillon
aurelien.francillon at inrialpes.fr
Tue Dec 11 05:59:22 PST 2007
Le Tuesday 11 December 2007 14:05:23 Faisal Aslam, vous avez écrit :
> Hi,
>
> I wish to discuss few NesC/TinyOS design related issue. I am not aware
> if any email list is dedicated to it hence I am sending first one of
> them here. I will send more such issue later.
>
> Problem:- In NesC if I have to use a single command of an interface then
> I have to implement ALL of its event. Even though, I am not interested
> in any one of those events. Those empty functions with nothing in them
> make a programmers code cumbersome for no reason. May be you do not find
> it a problem but being a programmer I really find it annoying.
>
Nesc has the "default" keyword, see "TinyOS Programming Manual" section 6.1
it's used in some places in tinyos ...
cheers
Aurélien
More information about the Tinyos-help
mailing list