Janos Sallai wrote:
Problem:- In NesC if I have to use a single command of an interface then
I have to implement ALL of its event.

You can wire the functions one by one,

Alternatively, if it's a recurrent problem, you can also create a glue
component


Furthermore, if it's a recurrent problem, the issue might be that it's a
bad interface design.

In the case where you have found something you want to use in many places, maybe others will also, and it could be worthwhile to write
a new interface to just that subset function.

John Griessen
--
Ecosensory
tinyOS devel on:  ubuntu Linux;   tinyOS v2.0.2;   telosb ecosens1
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to