I implemented a Time Synchronization component with the linear regression idea which is firstly introduced by Vanderbilt University in TinyOS 1.x
http://tinyos.cvs.sourceforge.net/tinyos/tinyos-2.x-contrib/ethz/snpk/tos/lib/net/TimeSync/ If anyone wants to test the component, please let me know the bugs your find. Please also note: 1. one can set the synchronization rate (time interval of synchronization messages): e.g. 100 seconds is as follows PFLAGS += -DTIMESYNC_RATE=100 2. If a mote toggles the red LED, it is considered to be synchronized. The blinking of the blue LED means the mote has received a valid synchronization message. I will provide a README file some time. Regards, Min Guo _______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help