thexaib / ctp-castalia

Automatically exported from code.google.com/p/ctp-castalia
0 stars 0 forks source link

trying to change the congestion threshold in CTP #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. when I change the congestion threshold in FE I see no change on the output  
I change the value of "congestionThreshold" parameter at the initialization 
function in the CtpForwardingEngin.cc file

I am trying to disable the rout change at congestion.

What is the expected output? What do you see instead?
I think that the output should be changed when we change the congestion 
threshold

What version of the product are you using? On what operating system?
I am using the latest version of CTP,  ubuntu 10.4 OS 

Please provide any additional information below.

Original issue reported on code.google.com by laith.al...@gmail.com on 28 Oct 2012 at 6:18

GoogleCodeExporter commented 8 years ago
Have you enabled congestion control? The CTP implementation for tinyos 2.1.0 
has congestion control disabled by default (honestly I don't know the reason). 
You can check setNeighborCongested and isNeighborcongested in the Routing 
Engine. In both functions you first have "if(ECNOff) return;" where ECNOff is 
set to true.

Original comment by ucolesa...@gmail.com on 29 Oct 2012 at 3:15

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
great thanks for reply. It was very helpful for me.

thanks again

Original comment by laith.al...@gmail.com on 31 Oct 2012 at 6:10

GoogleCodeExporter commented 8 years ago

Original comment by ucolesa...@gmail.com on 10 Dec 2012 at 2:53