Re: [Tinyos-help] CTP updateRouteTask() behaivior if parent gets

2011-09-22 Thread Christian
Dear Zhichao Cao, Thank you very much for answer. What you say makes perfect sense to me. I'm really thankful for your help. I couldn't figure it out by myself. I somehow always missed the fact, that data_total is only reset if data_success 0. Thanks again Christian On Tue, 20 Sep 2011

Re: [Tinyos-help] CTP updateRouteTask() behaivior if parent gets

2011-09-19 Thread Christian
Thank you very much for your kind reply, I think, I'm on the wrong train with my assumptions. However, I can not spot my mistake on my own. Please help me understand. If more than MAX_PKT_GAP beacons are lost, the code will reinitialize the link information. The code is in the same file. If I

Re: [Tinyos-help] CTP updateRouteTask() behaivior if parent gets

2011-09-18 Thread Omprakash Gnawali
On Fri, Sep 9, 2011 at 11:57 AM, Christian christ...@wwad.de wrote: Dear TinyOS community, I have a problem understanding, how CTP's updateRouteTask() works, if the 4-Bit Link Estimator is used. Consider the following example: Node 2 with costs 70 is currently using node 1 (costs 20) as

[Tinyos-help] CTP updateRouteTask() behaivior if parent gets

2011-09-11 Thread Christian
Dear TinyOS community, I have a problem understanding, how CTP's updateRouteTask() works, if the 4-Bit Link Estimator is used. Consider the following example: Node 2 with costs 70 is currently using node 1 (costs 20) as parent. He could also choose node 3, that has costs 60 over a link of costs