[Tinyos-help] Reg:transmission power control for preamble

manish chaturvedi msc.nit at gmail.com
Mon Nov 15 03:32:40 PST 2010


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
<tatag4u at yahoo.co.in>wrote:

> Hi
>
> How to control transmission power for the preamble(in MICAZ mote).
>    **
> *With regards*
>  *Sivasankar*
>
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20101115/f2af80de/attachment-0001.htm 


More information about the Tinyos-help mailing list