Hello,
 
>From TEP102:
 
LocalTime
The LocalTime interface exposes a 32-bit counter without overflow utilities. 
This is primarily for application code that does not care about overflow 
conditions.interface LocalTime<precision_tag>
{
  async command uint32_t get();
}


get() 
return the current time. 
 
So,  call LocalTime.get() returns the expired time since startup.
 
kind regards
 
Ruben



Date: Thu, 22 Jan 2009 05:56:28 -0800From: [email protected]: 
[email protected]: [Tinyos-help] current time



hi all,
 
I need some help
 
in TinyOS 2.x  is there any way to give the current time
what I want is :
when some special message received I need to save the time of receiving in some 
variable 
how can I do that?
 
 
thanks in advance,
_________________________________________________________________
Hotmail staat volledig in het nieuw…
http://www.windowslive-hotmail.com/comingsoon/nl/default.htm
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to