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 白惠文 <[EMAIL PROTECTED]>:
>   
>> 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
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to