You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ns-3-users
Hello,
After looking in the google group I found the following lines Ptr<MobilityModel> NodePosition = this->GetObject<MeshPointDevice>()->GetNode()->GetObject<MobilityModel>(); std::cout<<NodePosition->GetPosition().x<<" "<<NodePosition->GetPosition().y<<std::endl;
theses can be used in HWMP protocol.I am trying to use same lines in Mesh-wifi-interface-mac.cc.Does anyone know how to do it?
jared...@gmail.com
unread,
May 12, 2018, 5:46:27 PM5/12/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ns-3-users
The MeshWifiInterfaceMac has a pointer to the PHY which in turn has a pointer to the device which has a pointer to the node. So it appears you could:
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ns-3-users
That did work!!!Thank you so much!!!!
pp
unread,
May 16, 2018, 1:16:00 PM5/16/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ns-3-users
Thanks jared that did work, just wondering how would I use the same in mesh-wifi-beacon.cc.
pp
unread,
May 16, 2018, 1:33:04 PM5/16/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ns-3-users
I dont think thats possible .anyway just wanted to know how would you know that "The MeshWifiInterfaceMac has a pointer to the PHY which in turn has a pointer to the device which has a pointer to the node."?