[Tinyos-help] change CC2420 power-state
Ruben Catteeuw
rubencatteeuw at hotmail.com
Tue Jan 13 11:13:04 PST 2009
Hello,
I am trying to do the following:
Send a packet, let the radio (CC2420,telos) sleep for 200 ms and after this the radio has to be powered on and the mote has to receive an answer from the controller (another mote that sends a packet back 200ms after receiving a request).
After receiving this answer the mote has to sleep again untill a timer expires and the process is repeated.
I tried to implement this by calling SplitControl.stop() wherever the radio has to be powered off (int the AMSend.sendDone and in the Receive.receive event) and SplitControl.start() wherever the radio has to wake up (when the 200ms timer expires).
It doesn't seem to work this way. Is my way of working correct or do I have to change this state otherwise.
Any help would be greatly appreciated
Ruben
_________________________________________________________________
Hotmail staat volledig in het nieuw…
http://www.windowslive-hotmail.com/comingsoon/nl/default.htm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090113/ef9e6f95/attachment.htm
More information about the Tinyos-help
mailing list