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

Reply via email to