|
Adesola,
You would need to synchronize the base station’s time with the PC. I don’t know if anybody has done that already.
Basically, all depends on how precise you need to be. If a few hundred milliseconds are not an issue, then you can simply assume that the packet transmission through the UART is instantaneous, and map the base station time to the PC’s system time. Keep in mind that the 32kHz timer will roll over in fourty-something minutes…
Janos
-----Original Message-----
Hi Janos,
Thanks a lot for your response.
Kindly enlighten me on how I to translate a mote’s clock to something like a timestamp.
Adesola
From: Janos
Sallai [mailto:[EMAIL PROTECTED]
Adesola,
The motes have no idea of date and time. They have 32kHz clocks though, implemented by the ClockC component.
Janos
-----Original Message-----
Hello,
I need all the help I can get on this seemingly trivia issue.
I want to determine the date and time that a particular event occurs (e.g. ADC.dataReady), but I don’t know how to do this in nesC. I tried including time.h, the C standard library, in my nesC module. The module compiled right but gave an "undefined reference to ‘time’” error during linking.
Any help will be greatly appreciated!!
Adesola |
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
