Hi,

Stop the radio.

module xxxx
{
  interface SplitControl as RadioControl;
  .....
}
implementation 
{
  task stopRadio()
  {
      call RadioControl.stop();
   }
  
   event void RadioControl.stopDone(error_t error) 
   {
     // Radio is stopped
   }
}

Regards,

-daniel

-------- Original Message --------
> From: "Ittipong Khemapech" <[EMAIL PROTECTED]>
> Sent: Saturday, August 11, 2007 4:27 AM
> To: tinyos-help <[email protected]>
> Subject: [Tinyos-help] How to stop or disable radio listening?
> 
> Dear all,
> 
> I am trying to see how well the transmission power reduction can preserve
> energy consumption. I have been trying to simulate the modified
> CntToLedsAndRfm on TOSSIM with one mote. The results I got have marginal
> improvement in energy preservation (only 5%). I need to remove all
> procedures such as radio listening which may consume a significant amount of
> energy.
> 
> My question is how can I stop or disable radio listening. I am studying the
> CC1000RadioIntM module but totally not sure if I am going to the right
> direction.
> 
> Hope to hear from you soon.
> 
> Ittipong




_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to