There was discussion of a "Vanderbilt time sync" mechanism on the
list recently. I think code from Vanderbilt U...That might help you some.
Otherwise, some tricks with a local counter/timer stamps and calculations
at the host reception end is viable if you can use (large) fractional
second resolution.
MS
Janos Sallai wrote:
Adesola,
Sorry, I was wrong. It takes much more time for the 32kHz timer to roll
over. It’s around 36 hours. Good luck.
Janos
-----Original Message-----
*From:* [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] *On Behalf Of
*Adesola Omotayo
*Sent:* Wednesday, January 25, 2006 4:40 PM
*To:* [email protected]
*Subject:* [Tinyos-help] [nesC] Date & Time Functions
Janos,
If the 32kH timer rolls over in fourty-something minutes, then it is
worthless to synchronize the base station time with the computer’s time
as it will roll over in less than an hour. I am just being curious here:
I think most computers use crystals of 32KHz to provide real-time
clocks. As long as power is supplied to the timers, computers’ clocks
don’t roll over in fourty-something minutes. Please, pardon my ignorance
and kindly explain what the differences are between a computer’s 32KHz
clock and a mote’s 32KHz. If we are able to get date and time from a
computer’s clock, I think it should be possible with motes too.
Thanks!
Adesola
------------------------------------------------------------------------
_______________________________________________
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