[Tinyos-help] tree level (hop count) information in CTP?

Hui Kang hukang at ic.sunysb.edu
Wed Oct 1 12:22:40 PDT 2008


The root can get the hop counter from getTHL.
But how can a node infer the hop counter to root?

- Hui Kang

Omprakash Gnawali wrote:
> 2008/10/1 白惠文 <lanceybai at hotmail.com>:
>   
>> Hi,
>>
>> How do I know which level a node is at in a tree (or how many hops it is from the root) using CTP?
>>
>>     
>
> A node can infer the minimum number of hops from the root. The root
> can find out the number of hops to each node using the THL field.
>
> - om_p
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help




More information about the Tinyos-help mailing list