Creating a wireless network in Omnet++

1,510 views
Skip to first unread message

mazurmak...@gmail.com

unread,
Jul 6, 2014, 8:47:13 PM7/6/14
to omn...@googlegroups.com
Hi,
Having read the user manual and done the tic-toc tutorial I wanted to create a simple wireless network - as for now I'd like to not focus too much on the physical layer and without going too deep into the network aspects - just creating a set of nodes that would exchange data between nearest nodes. The thing is that in the tutorial the connections were predefined - each node had it's own inout gate that was connected to others (so it was wired). How can I achieve similar results but without a direct connection? I tried defining an "inout radioIn[] @directIn;" gate but it didn't really work. How can I achieve that?
Thanks in advance,
Max

mazurmak...@gmail.com

unread,
Jul 7, 2014, 3:48:09 AM7/7/14
to omn...@googlegroups.com
Or let me rephrase my question:
Is it even possible to do so without MiXiM/INET?

And:
How can I set the position of each node in a vector (given the fact that the number of nodes is a variable set in the .ini file)
Message has been deleted

Michael Kirsche

unread,
Jul 8, 2014, 4:18:50 AM7/8/14
to omn...@googlegroups.com
Okay hold on a second... OMNeT is first of all not based on Eclipse, Eclipse is merely used as an IDE for building / writing OMNeT-based code.
The compilers, the simulation framework, NED and everything else that runs in the background is not based on Eclipse!!

You can use extension frameworks like INET, MiXiM or INETMANET to simulate wireless networks.
All of them provide certain protocols and simulation models and various examples.

SendDirect does indeed work, maybe because you have defined an inout gate (actually internally two gates) as an @directIn gate...

Try reworking it into an in- and an out-gate, as it is described in the OMNeT manual chapter 4.7.5!

Am Dienstag, 8. Juli 2014 10:10:07 UTC+2 schrieb Moshen Sichani:
Hi

Omnet is just an programming environment(compiler) based on Eclipse, you need a framework like Inetmant, mixim, vein or ..

Check this plz (plz attention to the nodes positions' part)

and

Message has been deleted

Moshen Sichani

unread,
Jul 8, 2014, 4:41:57 AM7/8/14
to omn...@googlegroups.com
Hi Michael

Sorry for my mistake, and thanks for your accurate information, I appreciate that. 

Cheers
Mohsen


--
You received this message because you are subscribed to a topic in the Google Groups "omnetpp" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omnetpp/f2obssWOLWA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to omnetpp+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

ammaji.d...@gmail.com

unread,
Jan 17, 2018, 12:10:03 AM1/17/18
to OMNeT++ Users
 hi,
I got the same problem , did you find the answer. can you please tell how to create wireless network in omnet++ without using any framework?

Rudolf Hornig

unread,
Jan 24, 2018, 6:45:08 AM1/24/18
to OMNeT++ Users
Your best bet is to take a look at the samples/aloha example. That is exactly you are looking for.

A wireless (aloha) network without using any framework...
Reply all
Reply to author
Forward
0 new messages