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