[Tinyos-2-commits] CVS: tinyos-2.x/tos/lib/ftsp TimeSyncMsg.h, 1.2, 1.3
kusy
kusy at users.sourceforge.net
Fri Apr 10 14:38:11 PDT 2009
Update of /cvsroot/tinyos/tinyos-2.x/tos/lib/ftsp
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv22383
Modified Files:
TimeSyncMsg.h
Log Message:
Update an incorrect comment. Thanks to Thomas. (https://www.millennium.berkeley.edu/pipermail/tinyos-devel/2009-March/003733.html)
Index: TimeSyncMsg.h
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/lib/ftsp/TimeSyncMsg.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** TimeSyncMsg.h 24 Jun 2008 01:44:28 -0000 1.2
--- TimeSyncMsg.h 10 Apr 2009 21:38:09 -0000 1.3
***************
*** 33,40 ****
nx_uint8_t seqNum; // sequence number for the root
! /* This field is initially set to the offset between global time and local
! * time. The TimeStamping component will add the current local time when the
! * message is actually transmitted. Thus the receiver will receive the
! * global time of the sender when the message is actually sent. */
nx_uint32_t globalTime;
--- 33,46 ----
nx_uint8_t seqNum; // sequence number for the root
! /*
! * After TEP 133, the message timestamp contains the difference between
! * event time and the time the message was actually sent out. TimeSyncP
! * sends the local time associated with this globalTime to the
! * TimeStamping mechanism, which then calculates the difference.
! *
! * On the receiving side, the difference is applied to the local
! * timestamp. The receiving timestamp thus represents the time on the
! * receiving clock when the remote globalTime was taken.
! */
nx_uint32_t globalTime;
More information about the Tinyos-2-commits
mailing list