Hi,

Thanks for your reply. But sorry for the confusion. I mean how to do it in
TinyOS2.1 not TinyOS1.x. Thanks.

Regards,
Bai

On Tue, Jun 30, 2009 at 2:41 AM, Michael Schippling <[email protected]>wrote:

> From tos/interfaces/CC2420Control.nc:
>
>  /**
>   * Set the transmit RF power value.
>   * The input value is simply an arbitrary
>   * index that is programmed into the CC2420 registers.
>   * The output power is set by programming the power amplifier.
>   * Valid values are 1 through 31 with power of 1 equal to
>   * -25dBm and 31 equal to max power (0dBm)
>   *
>   * @param power A power index between 1 and 31
>   *
>   * @result SUCCESS if the radio power was adequately set.
>   *
>   */
>  command result_t SetRFPower(uint8_t power);
>
> MS
>
>
> BAI LI wrote:
>
>>  Hi,
>>  I went through some posts in the list and most of them talked about how
>> to set the RF power in tinyOX 1.x. I am just wondering if anyone knows how
>> to set the RF power level dynamically in the code instead of adding some
>> flag in the makefile? I know in 1.x, i have to use CC2420Control interface.
>> Thanks in advance.
>>  Regards,
>> Bai
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> 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