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

Hui Kang hukang at ic.sunysb.edu
Wed Oct 1 12:35:14 PDT 2008


Interface CtpPacketDaniel provides a command to get the THL.

Patrick wrote:
> Hi All,
> I didn't understand. Who has the getTHL method?
>
> Thanks all
> My regards
>
> 2008/10/1 Hui Kang <hukang at ic.sunysb.edu>:
>   
>> 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
>>>       
>> _______________________________________________
>> 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