[Tinyos-help] GlobalTime in Tmote from Moteiv

Joe Polastre joe at polastre.com
Thu Jun 1 04:31:51 PDT 2006


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

-Joe

On 5/31/06, Jörgen Johansson <Jorgen.Johansson at saab.se> 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: joe.polastre at gmail.com [mailto:joe.polastre at gmail.com] För Joe Polastre
> Skickat: den 30 maj 2006 18:51
> Till: Jörgen Johansson
> Kopia: tinyos-help at millennium.berkeley.edu
> Ä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 <Jorgen.Johansson at saab.se> 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
> > Tinyos-help at Millennium.Berkeley.EDU
> > https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >
>



More information about the Tinyos-help mailing list