[Tinyos-devel] TOSSIM MainC

Chieh-Jan (Mike) Liang cliang4 at cs.jhu.edu
Fri Sep 28 16:18:07 PDT 2007


I encountered a minor problem in TOSSIM. It seems that TimerMillic 
component can not be included first in the configuration file. Take 
BlinkAppC.nc as an example,

   components MainC, BlinkC, LedsC;
   components new TimerMilliC() as Timer0;
   ...

is fine. But, the following is not fine

   components new TimerMilliC() as Timer0;
   components MainC, BlinkC, LedsC;
   ...

The sim compilation error complains that "OCF0" is undeclared from 
Atm128AlarmAsyncP.nc. Has anyone else encountered this behavior?

Mike


More information about the Tinyos-devel mailing list