Hi,
thanks for your reply,
could you show me the way you wired your interface.
i used SimpleTime but i get an error message while compiling :
here is my code :

configuration OnePhasePull {
}

implementation {

 components Main,
         OnePhasePullM,
         TxManC,
         GenericComm,
         TimerC,
         SimpleTime,
         LedsC;

  OnePhasePullM.Timer -> TimerC.Timer[unique("Timer")];
  OnePhasePullM.Time ->  SimpleTime.Time;
 // .......
}

*************************************
module OnePhasePullM {
  uses {

    interface Timer;
    interface Time;
// ....... some code lines
}
 //......some code lines
 tos_time_t timeStamp = call Time.get();
//......... some code lines
}

and this is my error message :

OnePhasePullM.nc: In function `Publish.publish':
OnePhasePullM.nc:429: Time.get not connected
make: *** [exe0] Error 1


i whish you can help me to fix it.
i'll be so thankful.

2008/5/23 509 sukumar <[EMAIL PROTECTED]>:

> Hi,
>
>           I did using SimpleTime interface instead of SimpleTimeM.  Then I
> didnt get any error messages.
>
>           Better to check using SimpleTime interface.
>
>
>
>
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to