Hi ns users
i would like to use ns2's energy model. there is a function for decrementing the energy upon reception or transmission of a packet. the functions are DecrRcvEnergy() and DecrTxEnergy(). how do i use these two functions in my c++ code?
meeta