I think I get it. When do you "call RadioControl.stop()"? I am not sure if you call it within sendDone() event. So when the radio is stopped, you start the timer and it fires in the next 5 seconds. In the Timer.fired(), the radio is started to send again.
Ittipong 2009/6/2 Ana de Pablo <[email protected]> > > I'm using SplitControl as RadioControl, when the applications runs, it > starts > the radio using "call RadioControl.start();", then it sends the packets and > my goal is to stop the radio after sending it. I'm using a periodic timer > of > 5 sec, so it is suppossed to start, send the packet and then stop each 5 > seconds, but what I have is the radio on for 5 seconds and then the radio > off for another 5 seconds, so I'm missing half of the packets. > I hope you will understand my explanation. Thank you. > > -- > View this message in context: > http://www.nabble.com/CC2420-turn-off-tp23831534p23831909.html > Sent from the TinyOS - Help mailing list archive at Nabble.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
