hi every one,
 
i have a question about RXThresh_
 
i know to change the RXThresh_, i should set it in tcl script, but i want to 
change this set value during simulation, so i try these two steps:
 
1- in tcl script, i set the value like this:
Phy/WirelessPhy set RXThresh_ 3.652e-10
 
2- in wireless-phy.cc file, in the "sendUp" function, i wrote the following 
code to change this value:
 
RXThresh_= 1.42681e-08;
 
but the results showed that the RXThresh_ has the value 3.652e-10 which set in 
tcl script, so the second step is wrong.
what do you suggest to change this value in c++ code?
 
thanks in advance



      

Reply via email to