Hi,

The IRIS has the RF230 radio chip, not the CC2420, so your define will not work.

On Mon, May 18, 2009 at 4:01 PM, David Li <[email protected]> wrote:
> Hi,
>
> I am working on Iris mote on Ubuntu 9.10 with Tinyos 2.1. My goal is to
> measure the transmission range under different tx power levels. After
> searching the archive I concluded that I would like to use the following to
> control the tx power:
>
> CC2420.h: #define CC2420_DEF_RFPOWER 31
>
> Questions:
>
> 1. Is this the best option?

Use the PacketTransmitPower interface provided by the
RF230ActiveMessageC to set the TX power on a per packet basis.

> 2. Are there any documentations that specify the numbers that I need to use
> for various power levels? What does "31" mean?

Read the AT86RF230 datasheet for the description of these values.

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

Reply via email to