[Tinyos-help] gett0() and getdt()

Muhammad Azhar leo_az_83 at hotmail.com
Wed May 2 19:26:08 PDT 2007


Hi,

  Before I go on assuming that I understand what gett0() and getdt() from 
the Timer interface means, I'd like to confirm if gett0() + getdt() would 
get me getNow()?
   Assuming if there is a Node 5 in the network that has a milliseconds 
periodic timer of 1 minute.  If, for instance, it has run for 6 min and 27 
secs when I call gett0() and getdt(), will gett0() return me 6 min and will 
getdt() return me 27secs (in milliseconds of course)?

   Thanks.

Regards,
Azhar




More information about the Tinyos-help mailing list