I'm implementing a fully working script about directional antenna in ns-2.
The last thing that I have to do is an antennas' switching logic.
The problem is:

I have a pointer to a Node (MobileNode *Node) and therefore i can use the
node functions (for example: Node->getLoc(&X, &Y, &Z);)
How Can I access to the node' antenna? (For example to use thefunction
getRxGain(), etc.)

Can anyone help me?


Michele Grandi

Reply via email to