623 questions
0 votes
1 answer
97 views
Omnet++ Inet4.5 cannot resolve import
I'm new to OMNeT++ 6.1 with INET 4.5. I wanted to create a .msg file where I import the TagBase from inet.common.TagBase. I referenced inet4.5 in Properties -> Project References but it can't ...
0 votes
1 answer
102 views
Compiling INET module library for OMNeT++ with c++20
I would like to write a simulation model using C++20 features on Ubuntu Linux 24.04.1 LTS using the default gcc/g++ tool chain. I have compiled OMNeT++ version 6.1 with setting CXXFLAGS=-std=c++20 in ...
0 votes
0 answers
30 views
Class "dtnsim::Central" not found -- perhaps its code was not
I am currently trying to run the dtnsim project on omnet++ 5.5.1. However, during execution, it reports that the NED cannot find the Central class. I have specified Central with @class and have ...
0 votes
1 answer
60 views
ERRORS: build up veins in Omnet++
I have came up with these errors when building up veins in an omnet++ workspace. Here is what I did: create a new workspace 2. import veins 3. build the project Then I got these errors regarding ...
0 votes
1 answer
58 views
Wireless nodes receive packets even though they are allocated with different Channels in OMNET++
I have implemented TDMA using a network of wireless nodes in OMNet++. I tried to change the channel Number in the .ini file. **.radio.typename = "Ieee80211UnitDiskRadio" *.node[0].wlan.radio....
0 votes
0 answers
48 views
How to resolve the issue of “doesn’t support packet pushing on gate” in OMNeT++ simulation
I want to apply CBS again to each flow within the SR_A class before performing CBS. To achieve this, I am attempting to add a submodule to the IEEE8021qTimeAwareShaper.ned file, where the additional ...
0 votes
0 answers
74 views
Implementing UWB communications in an OMNeT++ project
I am new to using OMNeT++. I want to create a project to implement UWB communications between UWB devices and UWB anchors using OMNeT++ 6.1 and INET 4.5.4. Here are the files I have created for the ...
0 votes
1 answer
57 views
INET Framework in OMNeT++ 6.1 displays yellow exclamation mark after installation via IDE
I am using OMNeT++ 6.1, and after installing the INET4.5 through the IDE, I am encountering an issue where a yellow exclamation mark is displayed next to the INET framework in the project tree. This ...
0 votes
0 answers
42 views
How to apply visualization for each node in OMNet++? Is Visualization in INET applied at Network Level?
I have created a network of nodes in OMNet++. I have defined in Network.ned: visualizer: <default(firstAvailableOrEmpty("IntegratedCanvasVisualizer"))> like IIntegratedVisualizer if ...
0 votes
0 answers
59 views
Dynamic generating topology via xml file using omnet++ INET: Channel not initialized error
void NetBuilder::buildNetwork(cModule *parent) { const char* xmlPath = par("xmlConfig"); cXMLElement* xmlRoot = getEnvir()->getXMLDocument(xmlPath); if (xmlRoot == nullptr) { ...
0 votes
1 answer
91 views
Change parameters during runtime using handleParameterChange() in OMNet++
I am a beginner in OMNet++. I need to chnage my mobiliity parameter during runtime. I came across the handleParameterChange() in OMNet++ simulation Manual . I actually want to set the ...
0 votes
1 answer
263 views
Implicit declaration and undefined reference of function 'inet_pton'
I am a student starting to learn socket programming using C, and when I am trying to create a client-server environment I am facing this error while compiling: if (inet_pton(AF_INET6 , "10.163.3....
0 votes
1 answer
71 views
Parameters cannot be changed with Scenario Manager
I am a beginner in OMNet++ and I have created a multi-node network using OMNET++ INET framework. The nodes are instances of WirelessHosts. I am trying chaange their mobility parameters using Scenario ...
1 vote
1 answer
131 views
How can I add custom information to packets in OMNET++'s INET framework?
I have some information I want to include in the packets, and I hope to achieve this by extending the UDPBasicApp application, sending out the packet, and updating it at every switch node in the ...
0 votes
1 answer
203 views
How can I generate a MakeFile for an OMNeT++ simulation?
I am a new OMNeT++ user (6.0.3) running inet 4.5. I am trying out the first part of the INET Tutorial for setting up two wireless hosts communicating with each other. I am having an issue with the ...