Hello everybody,
I need to simulate an ad-hoc routing protocol where
each node is capable of transmitting at two powers: hi and lo. A node can switch
from one to the other on the occurence of some event; say, the receipt of a
message.
One possibility I've thought of is to change the Pt
variable in wireless-phy.cc. Will this work? If so, how can I set
this variable from a
(MobileNode*) node_ptr;
in my routing agent?
Thank you,
Srinath Perur
|