Dear Jacob,

i suggest you try in StdControl.stop():
...
   result_t result1, result2, result3;
   atomic {
   if(mState != RADIO_LISTEN) return FAIL;
   mState = RADIO_DISABLED;
   }
   call IRQ0.disable();
...

Regards,
maxime
I'm using tinyos 1.x (CVS snapshot) with the tinynodes and I want to
periodically turn off the radio.  I looked around and tried using the
StdControl interface on XE1205RadioC.nc which occasionally works, but
at other times the radio dies and requires a reboot to bring it back.
Is there are "correct" way to do this?

Thanks,
Jacob
_______________________________________________
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

Reply via email to