Hi everyone,
I want to measure some Deluge's features,
in particular I 
want to measure time of rebooting of each motes.

Before the reboot 
instruction (NetProg.programImageAndReboot(..))
I save on mote's flash 
the value returned from call Timer.getNow().
After mote reboots, 
the 
first instruction that mote run is another call Timer.getNow();
so time 
of rebooting for the mote is the difference between 
the last call 
Timer.getNow() and value saved before on flash.

My problem is that 
Timer.getNow() doesn't return the current system time
so my measures 
are wrong.
How can I solve my problem?
Is ther some function in TinyOS 
2.x that return the current system time
like the funcion date in Unix?

Thanks in advance
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to