Thanks for the reply, I have some questions 1) Where does FTSP store its local time so it can be changed to sync with the global time? Is it too complicated for a simple application (LEDs from different motes blinking at the same time)? I don't need the 1 microsecond accuracy (yet).
2) I am currently disregarding the clock drift and jitter. Do you have any suggestions on how to use the computed offset in order to have a timer firing at the same time? Can I use the startPeriodicAt(t0,dt) command? Thanks for the help. - JC de Dios On Sun, Aug 22, 2010 at 2:50 AM, Philip Levis <[email protected]> wrote: > > You can't really in this case: other parts of the system (eg timers) depend on the value's progression. Two options: > 1) Run FTSP > 2) Store the observed difference between transmitter and receiver time at the receiver, use this as an offset. Note the issues with drift. > Phil > (sent from a phone) > On Aug 21, 2010, at 11:43 AM, JC de Dios <[email protected]> wrote: > > Hello, > I am trying to implement a simple time synchronization by sending the current time of a periodic timer from a "master" node using command getNow() of the Timer interface. Is it possible that the "slave" nodes set this value as the current time of their periodic timer? I imagine having motes that have blinking LEDs at the same time (not that precise) while booting at different times. What command and interface can I use to overwrite the current time of a timer? Thanks for your help. > - JC de Dios > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
