Hi all,
I want to simulate a WSN using mannasim. I want to turn a node off or on by using $ns at <time> "$node off". but the problem is that when I use this command, nodes continue to work as previous. I saw the energy-model.cc and find this line: energy_model() ->node_on() = false; but I cannot find the definition for energy_model() or node_on(). can anybody help me? Thanks a lot, Parisa Abedi