Hi all, I'm a (very)new user of ns2. I have to implement a mac protocol based on csma which is able to change the transmission power (and so the transmission range) dynamically. Can I do it by simply putting tcl commands such as the following one?
$ns at 0.2 "$node_(0) set TxPower_ 8.5872e-4" If not, I have to change the c++ code of ns2 in some way? I have read a lot of manuals and tutorials, but I didn't understand what I have to do.. Thank you in advance for the help francesca