In tossim, the node object in python has a bootAtTime method which lets you set when the mote boots. You can use this to make the local clock's offsets different from each other. By the way, TOSSIM does not simulate clock skew. This might limit the validity of the simulation results.
Janos On Mon, Nov 16, 2009 at 7:55 AM, mojtaba raznahan <[email protected]> wrote: > Hi all, > > I want to know how can I set the local time of each mote programmatically ? > I want to set different local time for each node then test my > synchronization algorithm on them. > I used the LocalTime interface to get the local time but i can't set > different initial local time for each node.And LocalTime interface has 2 > type "TMilli" and "TMicro" but when i use TMicro then in configuration > section there isn't any component provider for it! .I'm using Tinyos 2.1.0 > and TOSSIM. > > Regards, > -- > Mojtaba Raznahan > BS of Computer engineering > TMU university > www.raznahan.com > > _______________________________________________ > 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
