pdbarnes
unread,Aug 8, 2018, 11:43:09 AM8/8/18Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
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 agree there is a big gap between the low-level API docs, such as you cited, the component manual chapters, and high level concepts such as “what’s the transmission delay between two nodes”. The best advice we can give is
0. As a new user, you really need to work through the tutorials. In there you’ll find out what a Ptr<> is, what a MobilityModel is, and how to get a Ptr<MobilityModel> from a Node. If you understood those then the function you quoted would make a lot more sense. You would still need to work out how to get the Propagation Model from the Channel connecting the Nodes, but that’s only one step harder.
1. Search the users’ list for similar discussions.
2. Find an example that does something close to what you need.
3. Search the code for uses of a particular API to see how it’s used in practice. The API docs can be helpful since it shows where a function is called. (But it doesn’t catch *all* uses, so explicitly searching the code is still necessary.)
In this particular case, I’ll throw in two more comments:
First, “transmission delay” could be open to several interpretations. Do you want to include queuing delays? retransmissions? channel contention? other network overheads such as ARP, route discovery, etc? Or do you want just the actual propagation delay on the channel?
Second, even the propagation delay might not have a singular value. It will be different for wired (copper or fiber?) wireless, or acoustic channels.
HTH,
Peter