Hello,
I'd like to know if there is some way of find out in which node I am being
within link layer, for example.
Thanks in advance,
Laércio Jr.
Hi all,
I actually have a very similar problem and also woul like to get to
To know the current node I am in from the Interface Queue, for example.
How can I find out the node id and other related data such as mobile
node
Position etc.?
Thank you so much,
Christoph
Hi,
To have the current positions of a node you need to do :
MobileNode* mnode_;
double x = 0.0,y = 0.0,z = 0.0;
mnode_->getLoc(&x, &y, &z);
You should have mnode_ referencing to a node. For example, in my case I pass
the node address to my agent in the tcl script and for this reason i defined