request for source code

130 views
Skip to first unread message

Muhammad Rafid

unread,
Jan 1, 2022, 3:42:21 AM1/1/22
to Network Simulator 2 (NS2)
plz can anyone share vehicle to rsu communication source code

knudfl

unread,
Jan 1, 2022, 5:39:57 AM1/1/22
to Network Simulator 2 (NS2)
? RSU has been answered before in this very Forum  https://groups.google.com/g/ns-users/search?q=rsu

RSU is basically a static node ,  i.e. a node with no movement.  You decide the communication.

RSU: Some sketchy examples, and INFO pdf´s :
vanet-RSU-ex.tar.xz   (I don't remember what works, and what doesn't.)
https://drive.google.com/file/d/1EWcvdSdUzqAti1e-S-iVyd1ZFa2HYwAJ/view?usp=sharing
---

Muhammad Rafid

unread,
Jan 2, 2022, 3:43:21 AM1/2/22
to Network Simulator 2 (NS2)
468b5a7e-137a-4195-914c-72e96450bfbc.jpeg
can anyone do this assignment

knudfl

unread,
Jan 2, 2022, 4:29:20 AM1/2/22
to Network Simulator 2 (NS2)

Farhan Javed

unread,
Jan 10, 2022, 8:14:53 AM1/10/22
to Network Simulator 2 (NS2)
Sir, 
The codes that you shared are giving these errors, kindly let me know how to avoid them. I am mentioning them in the image attached here.
The tcl file "test_vanetRSU.tcl" as well as "vanet-RSU.tcl", both are giving these errors

WhatsApp Image 2022-01-10 at 1.58.03 PM.jpeg

On Saturday, January 1, 2022 at 3:39:57 PM UTC+5 knudfl wrote:

Muhammad Rafid

unread,
Jan 14, 2022, 12:16:17 AM1/14/22
to Network Simulator 2 (NS2)
sir can you help me how we send message
 from one node to another in C++ source code

knudfl

unread,
Jan 14, 2022, 6:55:40 AM1/14/22
to Network Simulator 2 (NS2)
"send message   from one node to another in C++ source code" :
What do you mean?  That's the nature of ns2: traffic from a node to another node.
..... All? possible situations / combinations is already there .... in the existing C++ code.
( 451 files.cc,  363 files.h )

Muhammad Rafid

unread,
Jan 14, 2022, 3:04:34 PM1/14/22
to ns-u...@googlegroups.com
I meant that vehicle send message to base station (rsu.).
Sir give me c++ c++ source code that how packets generated and how we send this to rsu.

--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ns-users/ecd76946-c311-4c90-917c-57fee777aa93n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages