Dear all,

I am currently measuring the current draw by the micaz mote as whole 
when it is operating in the different modes. First of all, I started 
with turning off the radio, here is my code:

configuration BlinkToRadioAppC {
}

implementation {
    components MainC;
    components BlinkToRadioC as App;
    components ActiveMessageC;
  
    App.Boot -> MainC;
    App.SplitControl -> ActiveMessageC;
}


module BlinkToRadioC {
    uses interface Boot;
    uses interface SplitControl;

}

implementation {
   
    event void Boot.booted() {
        call SplitControl.stop();
    }
         
}


However, I got the error message like this:

BlinkToRadioC.nc:18: `SplitControl.startDone' not implemented
BlinkToRadioC.nc:18: `SplitControl.stopDone' not implemented
make: *** [exe0] Error 1

Why can I not use the command Splitcontrol.stop() alone to turn off the 
radio?  Could anyone help with this or give me the hints on how to 
properly turn off the radio please? Any help would be appreciated.

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

Reply via email to