I just modified this piece of code as following

#ifndef CC2420_DEF_RFPOWER
#define CC2420_DEF_RFPOWER          0x1F
#endif

I changed it to different values. But nothing happened. So I guess i am
heading to the wrong direction.

Cheers,
Bai

On Wed, Dec 17, 2008 at 8:02 AM, Hui Kang <[email protected]> wrote:

> If you can post the piece of the code, it maybe easier to point out.
>
>
> BAI LI wrote:
>
>> I did changed the RFPOWER variable from 31 to 1. But nothing happened. I
>> expected the nodes can't talk to each other out of 5 meters. But they can
>> even communicate with each other in 15 meters ranges. What is wrong?
>>  Bai
>>
>> On Tue, Dec 16, 2008 at 11:57 PM, <[email protected] <mailto:
>> [email protected]>> wrote:
>>
>>    Yeap, if you want to increase the distance you can reach when
>>    sending a
>>    message you should adjust the transmission power. You can set it
>>    inside
>>    your code. But if I am not wrong, there is also a way to set it in
>>    compilation time, I do not know how, though.
>>
>>    Anyway, what modifications did you do there?
>>
>>
>>    > Thanks for your reply. I read the post on the interest to set
>>    the power
>>    > level in order to havce multihops as currently my telosb node
>>    could reach
>>    > other nodes 50 meters away. I made it impossible to test two hop
>>    > application. I suppose this transmissino power is the right one?
>>    Is that
>>    > correct?
>>    >
>>    > CHeers,
>>    > Bai
>>    >
>>    > What do you mean with power level, is it the transmission power when
>>    > sending a packet? If so, you should take a look at the command
>>    setRFPower
>>    > at the appropriate radio interface.
>>    >
>>
>>
>>    --
>>    Fernando Henrique Gielow - UFPR - NR2
>>    Computer Science graduation student.
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> 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