Hi, David. Thanks for your reply on this issue. Actually, you might have noticed that I posted two questions today. What I am doing now is to detect if TOSSIM has the machanism to deal with the hidden and exposed node problems. However, in my current topology, two nodes send packets to the sink almost at the same time. So I need to force them to send separately. To ensure there is no interference, I want to assign half second interleave so that either will have sufficient time to finish its transmission. That's why I was asking for a way to let a mote sleep for a while till its turn comes.
Anothing thing is that I already booted all the nodes at different times. Also I make each of them send one packet per second. However, according to my observation, none of them strictly follow this one second interval. Either shorter or longer will happen. Am I correct that TOSSIM will randomly arrange the time that an event will occur by a slight difference? Pengjun > I don't know about sleeping but you can boot a node at the desired > time and have it trasmit immediately. see this tutorial > http://docs.tinyos.net/index.php/TOSSIM for tinyos 2.x > > David > > On Thu, Mar 6, 2008 at 1:15 PM, Pengjun Pan <[EMAIL PROTECTED]> wrote: >> >> >> Hello everyone, >> >> For some reason, I want to assign a time for a particular packet to be >> sent >> by a mote in TOSSIM. For example, when a mote receives a packet at time >> 0.001, I want it to send it out at time 0.1. But I don't know how it can >> be >> implemented. Does anyone know if there is such a time function in NesC >> that >> can make a mote sleep till a particular time comes? Thank you in >> advance. >> >> Pengjun >> _______________________________________________ >> 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
