Hi Enrico,
It works. Thank you very much for your help. Case closed.
regards,
PN
Quoting Enrico Treu et...@uni-potsdam.de:
Have you tried CC1000ControlP?
Am Freitag, 22. Oktober 2010, 20:04:06 schrieben Sie:
Thanks for your reply. However, it has compilation error
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
//..
}
Thanks for your reply. However, it has compilation error
RadioStrengthControl.setRFPower not connect. What component should I put in
the configuration file? For example, what component provides interface
CC1000Control? Then I'll put that into my configuration file and wire it
accordingly
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
//..
}
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