Groups
Groups
Sign in
Groups
Groups
Network Simulator 2 (NS2)
Conversations
About
Send feedback
Help
error in tcl
28 views
Skip to first unread message
i.g...@gmail.com
unread,
Jan 29, 2019, 5:39:54 AM
1/29/19
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 Network Simulator 2 (NS2)
i am new to NS-2 , tried running the code attached getting some errors
invalid command name "Agent/RSUBeaconProtocol"
while executing
"Agent/RSUBeaconProtocol instproc recv {source sport size data} {
$self instvar node_ ConnectionFlag_ PreviouslyConnectedRSUID_
global ns RSU_BROADCAST..."
(file "ex2.tcl" line 68)
ex2.tcl
knudfl
unread,
Jan 29, 2019, 10:35:00 AM
1/29/19
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 Network Simulator 2 (NS2)
Hi.
The site
https://www.projectguideline.com/a-simple-vanet-protocol-simulation-using-tcl-level-functions-of-ns-2/
.... shows some snippets of code which can be used in an ns2 simulation.
These snippets of code can also be used as individual configuration files, to be sourced in a simulation.tcl .
Conditions : The executable 'ns' must be patched with the " RSUBeaconProtocol".
Like some C++ code, and "RSUBeacon" entries to ns-2.35/tcl/lib/ns-
files
.tcl
→
https://www.google.com/webhp?hl=all&gws_rd=ssl#hl=en&q=ns2+rsubeacon
Vannet simulation examples, `Vanet-examples-09.18.tar.gz´
https://drive.google.com/file/d/1wcDPDk68e6OPsUBaE_yC7whaAqUmTWf3/view?usp=sharing
i.g...@gmail.com
unread,
Jan 31, 2019, 7:00:54 AM
1/31/19
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 Network Simulator 2 (NS2)
Hi Knudfl
RSUBeaconProtocol patch is available anywhere ? and how do i do it ... sorry but i have no clue of doing this.
knudfl
unread,
Jan 31, 2019, 7:30:13 AM
1/31/19
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 Network Simulator 2 (NS2)
Hi.
Some people got the code ... ~year 2017 ....
.
http://ovotoneryz.tk/recv-function-in-ns2-download.html
... Please try to make contact to somebody who will share a copy of the code.
( The original link is no more valid.)
i.g...@gmail.com
unread,
Feb 1, 2019, 12:35:57 AM
2/1/19
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 Network Simulator 2 (NS2)
Thank you for your reply , yes the link is not functional anymore.
Reply all
Reply to author
Forward
0 new messages