try to add the following line in the makefile & then compile

 

CFLAGS+=-DCC2420_DEF_RFPOWER=31


 


Date: Thu, 11 Jun 2009 16:42:15 -0600
From: [email protected]
To: [email protected]
Subject: [Tinyos-help] Setting the CC2420 radio range

Hi all,

I have a program running on MICAz motes with TOS 1.x (the one which ships with 
MoteWorks by Crossbow). I want to set the CC2420 radio range to the highest 
value (31), so at first I used CC2420Controller.SetRFPower to set the power, 
but after setting the rate again the power drops to 15 (which seems to be the 
default value, right?). why it changes and how can I set it for the whole 
program life time? is there any way to set this value at compile time?

Thanks
Mohammad

_________________________________________________________________
Insert movie times and more without leaving HotmailĀ®. 
http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd_062009
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to