> 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).



Just as a side note, the default value for CC2024_DEF_RFPOWER is 31 if
nothing else is specified
>From  tos/chips/cc2420/CC2420.h :

#ifndef CC2420_DEF_RFPOWER
#define CC2420_DEF_RFPOWER 31
#endif

Cheers

                - Enrico


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

Reply via email to