[Tinyos-help] How do I properly turn off the tinynode's radio
Maxime Muller - s h o c k f i s h /
maxime at shockfish.com
Tue Oct 16 06:54:18 PDT 2007
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
> Tinyos-help at Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
More information about the Tinyos-help
mailing list