Yes, i modified the code. the default value of REPOAWER is 31 at the maximum
in Tinyos1.15. Then I changed it to 1. I believe nothing changed. The node
still can communicate with other nodes at least 15 meters. It is not that
good. I will try to use setRFPower. Is this the right value I should change
in order to decrease the transimission distance. I am confused. Anyone who
has experience, please help me. THanks in advanced.

On Tue, Dec 16, 2008 at 11:16 AM, Razvan Musaloiu-E. <[email protected]>wrote:

> Hi!
>
> On Mon, 15 Dec 2008, BAI LI wrote:
>
> Hi All,
>> Anyone can tell me where to modify the power level in tinyos 1.x and
>> tinyos
>> 2.x?
>>
>
> In tinyos-2.x you can set the global radio power of CC2420 by defining the
> CC2420_DEF_RFPOWER to a different value or you can change it dynamically on
> a per-packet basis using the setPower command from the CC2420Packet
> interface.
>
> --
> Razvan ME
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to