[Tinyos-help] Output Power levels CC2420
becher at i4.informatik.rwth-aachen.de
Fri Feb 29 16:54:28 PST 2008
* bender.13 at wright.edu:
>Now, I have a related question, Does anyone know what the default power
>level on the CC2420 is?
>i.e. If I just turn on the mote and start sending data, what is the RF
>power set to?
You can set the default output power in the Makefile of your
application, with a line like this:
PFLAGS += -DCC2420_DEF_RFPOWER=7
If you do not define CC2420_DEF_RFPOWER, the default is 3, I think: the
lowest TX power setting defined in the datasheet. Look in the CC2420
driver for details (just search for CC2420_DEF_RFPOWER in the TinyOS
source tree to find the right spot).
More information about the Tinyos-help