I see. Thank you.

Yusnaidi

On Tue, May 18, 2010 at 4:23 AM, Omprakash Gnawali
<gnaw...@cs.stanford.edu>wrote:

> On Fri, May 14, 2010 at 4:37 PM, Yusnaidi Md Yusof <yusnaid...@gmail.com>
> wrote:
> > 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?
>
> CtpPacket.getEtx() returns the Etx value in the packet:
>
> typedef nx_struct {
>  nx_ctp_options_t    options;
>  nx_uint8_t          thl;
>  nx_uint16_t         etx;
> ...
> } ctp_data_header_t;
>
>
> - om_p
>
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to