Hi
I didn't have CC2420Packet.nc file in my system.               With regards     
 Sivasankar  

--- On Mon, 15/11/10, manish chaturvedi <[email protected]> wrote:

From: manish chaturvedi <[email protected]>
Subject: Re: [Tinyos-help] Reg:transmission power control for preamble
To: "SHIVASANKAR GANESAN" <[email protected]>
Cc: "Berekely univ" <[email protected]>
Date: Monday, 15 November, 2010, 5:02 PM

Hi,

For setting  transmit power for each packet separately,  You can use 
CC2420Packet interface provided by CC2420PacketC.
and use the function setPower of the interface.

    call CC2420Packet.setPower(&pkt,31);//set the output power to max i.e 0 dBm


Refer to CC2420 data sheet for various tranmit power values.

Hope this helps..

Regards
Manish..



On 



        components CC2420PacketC;
        App.CC2420Packet -> CC2420PacketC;
in your configuration file

        uses interface CC2420Packet;



On Mon, Nov 15, 2010 at 11:58 AM, SHIVASANKAR GANESAN <[email protected]> 
wrote:


Hi
How to control transmission power for the preamble(in MICAZ mote).  
           
  With regards      Sivasankar  


_______________________________________________


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