Hi I am trying to do the same using tinyos-1.x. Which components would I need to wire? I need to only be able to read the power set and the set the power.
I tried wiring up CC2420RadioC component and the CC2420RadioC.StdControl and CC2420RadioC.CC2420Control interfaces, but I get an error while compiling which I believe tells me that I need to wire up the send and receive interfaces provided by CC2420RadioC.CC2420RadioM component.
I also tried to wire directly to CC2420ControlM but then I cannot set the power as I am told that the HPLChipcon.write is not wired..

What am I doing wrong?

Regards

Dattatraya

On 3/24/06, Avinash Sridharan < [EMAIL PROTECTED]> wrote:
Hi All,
 I wanted to set the power of my radio dynamically (at runtime). I figured out that the CC2420Config.nc provides such an interface to set the transmission power and it is implemented in CC2420ControlP.nc. However I am not able to find any of the generic interfaces (that hide the hardware specifics) in tinyOS-2.x that are are exposing the full functionality of CC2420Config.nc (that is the ability to set the tx power of the radios) to applications.

  Do I need to access the CC2420Control component directly to perform the above operation ?

Thanks,
Avinash

--
Phd Dept. of Electrical Engineering
University of Southern California
http://www-scf.usc.edu/~asridhar

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help





--
Dattatraya

-------------------------------------------------
Work fascinates me, I can stare at it for hours...!!
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to