If you are receiving packets on the host PC side you should be able
to use a "regular" programming interfaces to get a timestamp. In java:
    long time = System.currentTimeMillis();

If you really want the basestation to timestamp things itself then
you probably need to invent a TOS_Msg that has a starting timestamp
to send from host to base to get things started.

If you want the re-Motes to do the timestamping, then you need to
search this list for time or clock synchronization advice.

was that the question?
MS



sara Khad wrote:
Hi all,
I am using tmote sky, tinyos 2 and fedora core 6. I hope that you can
help me to read the time from BaseStation node ( attached to USB); so
when the packets arrive from other mote to the baseStation, I can read
it's arriving time! Is it possible to achieve this by modifying the
basestation code. any advices will be appreciated .
kind regards
  sara
_______________________________________________
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

Reply via email to