if (call GlobalTime.isValid()) {
 call GlobalTime.get();
}

-Joe

On 5/31/06, Jörgen Johansson <[EMAIL PROTECTED]> wrote:
Can you explain with an example how I can use the Globaltime in the Delta 
example in Bomerang 2.0.2 ?

/Jörgen Johansson

-----Ursprungligt meddelande-----
Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För Joe Polastre
Skickat: den 30 maj 2006 18:51
Till: Jörgen Johansson
Kopia: [email protected]
Ämne: Re: [Tinyos-help] GlobalTime in Tmote from Moteiv


GlobalTime is provided by the NetSyncC component.  If you're not using
networkwide synchronization, then there is no GlobalTime provided.

-Joe

On 5/30/06, Jörgen Johansson <[EMAIL PROTECTED]> wrote:
> How can I access the GlobalTime from my code? I will have a main node as a 
time master.
> Is the timesynchronization only active when compiled with "lowpower"?
> Shall I include the file GlobalTime.nc or shall I wire the NetSync component?
> What´s the accuracy of the GlobalTime?
>
> My application is a system that will wake up one hour once a day. At that 
hour I will send as much data as possible. The rest of the time I will save power 
and only listen for a wakeup command.
>
> Best Regards
> Jörgen Johansson
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>


_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to