[Tinyos-help] TinyOS Design Questions - (Question-1)
Faisal Aslam
aslam at informatik.uni-freiburg.de
Tue Dec 11 06:37:24 PST 2007
I do not think that "default" keyword could solve following problem.
regards,
Faisal
Aurélien Francillon wrote:
> 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