[Tinyos-help] Output Power levels CC2420

Enrico Perla perlae at tcd.ie
Sat Mar 1 04:10:18 PST 2008


> 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
> Tinyos-help at millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080301/3f6595fe/attachment.html


More information about the Tinyos-help mailing list