By using find (p) is possibile to know the node in which the packet p is
stored. Now, I'm trying
to display all info about this node. For example position (X_, Y_, Z_),
but neither getX() of antenna.h
nor X() of mobilenode.h display it.
Ido it:
NsObject *node = find(p);
printf("%d", node->X());
What's the problem? How for example display also the ID (address() ? )
?
Thanks a lot.
Riccardo