Hi Miklos,

Is there any way that I can put the tx power level into the packet and
display the tx power when the packet reaches the base station?

David


On Mon, May 18, 2009 at 7:35 AM, Miklos Maroti <mmar...@math.u-szeged.hu>wrote:

> 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 <w.david...@gmail.com> 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
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to