Hi Omprakash,

Thanks a lot. Thus, I guess the CtpInfo.getEtx() will return a routing cost
from transmitters to root; and the CtpPacket.getEtx() will return a routing
cost from the root to transmitter; therefore, in order to find the best path
to next route, the CtpRoutingEngineP using the CtpInfo.getEtx()?  Am I
right?

Thanks and really sorry for a late reply.

Yusnaidi

---------------------

> Message: 3
> Date: Tue, 13 Apr 2010 13:41:49 -0700
> From: Omprakash Gnawali <[email protected]>
> Subject: Re: [Tinyos-help] Etx
> To: Yusnaidi Md Yusof <[email protected]>
> Cc: [email protected]
> Message-ID:
>        <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Fri, Apr 9, 2010 at 11:00 PM, Yusnaidi Md Yusof <[email protected]>
> wrote:
> > Hi All,
> >
> > I wish to use an Etx metric in my program but quite confused what is the
> > difference between the usage of getEtx() in a call from the CtpPacket
> > compare to the getEtx() in a call from the CtpInfo. Which one should be
> used
> > to measure the Etx metrics?
>
> CtpInfo.getEtx() returns the path ETX to the root.
>
> The sender/forwarder of a packet, puts the path ETX on the packet. If
> you call CtpPacket.getEtx() on the received packet, it will return the
> path ETX for the transmitter.
>
> - om_p
>
>
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to