In order to get this behaviour i simply added a few lines of code to my 
application:
module /**/ {
uses {
//...
interface CC1000Control as RadioStrengthControl;
//...
}
}

and

event void Boot.booted() {
//...
#ifdef RFPOWER
        call RadioStrengthControl.setRFPower(RFPOWER);
#endif
//..
}


Am Donnerstag, 21. Oktober 2010, 03:03:40 schrieb Prusayon Nintanavongsa:
> Hi all,
>    How do you adjust MICA2 transmission power in tinyos 2.x other than
> adding CFLAG in the Makefile? In tinyos 1.x, there's CC1000RadioC which
> can be wired to CC1000Control in order to call SetRFPower(). I would like
> to adjust the transmission power "adaptively". Thank you.
> rdgs,
> PN
> 
> 
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to