[Tinyos-help] CC2420 getPower() question.
davivale at nmsu.edu
davivale at nmsu.edu
Mon Mar 12 14:59:14 PDT 2007
Jonathan,
Thats what I thought, just was not totally sure. As a work around, I actually
set a field in the payload of the packet being transmitted in order for the
receiving node to have knowledge of the tx power of the incoming packet. I just
did not think this was efficient considering the fact that there is a getPower()
function available. Thanks for your help.
Dave
Quoting Jonathan Hui <jwhui at cs.berkeley.edu>:
> Ah, the actual intended transmit power is not carried in the packet.
> The getPower/setPower commands are only useful on the transmitting
> node.
>
> --
> Jonathan W. Hui
> jwhui at cs.berkeley.edu
> http://www.cs.berkeley.edu/~jwhui/
>
> On 3/12/07, davivale at nmsu.edu <davivale at nmsu.edu> wrote:
> > Jonathan,
> >
> > I am actually using getRssi() and getLqi and those both work fine.
> >
> > Dave
> > Quoting Jonathan Hui <jwhui at cs.berkeley.edu>:
> >
> > > Try using the CC2420Packet.getRssi(.) command.
> > >
> > > --
> > > Jonathan W. Hui
> > > jwhui at cs.berkeley.edu
> > > http://www.cs.berkeley.edu/~jwhui/
> > >
> > > On 3/12/07, davivale at nmsu.edu <davivale at nmsu.edu> wrote:
> > > > I am using TinyOS 2.0 and the TelosB platform. I have a transmitting
> node
> > > and I
> > > > am setting the tx power level on a per packet basis. For the
> receiving
> > > node,
> > > > upon reception of a packet I am using the getPower() function in order
> to
> > > record
> > > > the power levels of each incoming packet. My issue is that for each
> > > packet
> > > > received I am just seeing zeros for the tx power of all incoming
> packets.
> > > Thanks.
> > > >
> > > > Dave
> > > >
> > > > _______________________________________________
> > > > Tinyos-help mailing list
> > > > Tinyos-help at Millennium.Berkeley.EDU
> > > >
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> > > >
> > >
> >
> >
> >
>
----- End forwarded message -----
More information about the Tinyos-help
mailing list