Hi SunYan, when compiling for Tossim you have access to sim_time() and sim_time_string() but my guess is that on motes you would have to use the respective Timer components.
Marek On Mon, 2007-07-23 at 13:48 +0800, SunYan wrote: > Dear all, > I am wondering how to get system time in Tinyos, like win32API timeGetTime() > that retrieves the system time in milliseconds. > Do you know any component is provided for it in tinyos, or any other method? > Thanks a lot. > > Regards > > SunYan > 2007-07-23 > > _______________________________________________ > 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
