[Tinyos-help] CC2420 turn off
Ittipong Khemapech
ik.tinyos at googlemail.com
Tue Jun 2 06:05:51 PDT 2009
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 <anita.d.e at gmail.com>
>
> 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
> Tinyos-help at millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090602/df95655b/attachment.htm
More information about the Tinyos-help
mailing list