The L-Band Digital Aeronautical Communications System (LDACS) Trace-Based App implements a trace-based application in OMNeT++ for the LDACS Air-Air Medium Access Control simulator.
Copyright (C) 2023 Sebastian Lindner, Konrad Fuger, Musab Ahmed Eltayeb Ahmed, Andreas Timm-Giel, Institute of Communication Networks, Hamburg University of Technology, Hamburg, Germany
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
This repository is part of the L-Band Digital Aeronautical Communications System (LDACS) Air-Air (A/A) mode simulator that implements the proposed Medium Access Control (MAC) protocol "Multi Channel Self-Organized TDMA (MCSOTDMA)".
This repository implements a trace-based application for OMNeT++ that allows trace-file-based application definitions. For example, it can realize realistic Air Traffic Control (ATC) communications based on trace files that describe these.
OMNeT++ Trace-Based Data Traffic Application extends the INET's UdpBasicApp
by using a trace file to trigger the packet transmission. The file is a plain text file, where every line describes the trigger time of one packet, e.g.,
- t1
- t2
- ...
- tlast
The UdpTraceBasedApp
application send the first packet at t1 and the last packet at tlast.
- Please download inet-4.2.5 for OMNeT++ 5.6.2 and import it into the simulator.
- Please clone this repo
UdpTraceBasedApp
and import it into OMNet++. To build it you need to do the following steps:inet
must be set as a project reference. This is done by right-clicking on theUdpTraceBasedApp
project in the Project Explorer and navigate toProperties-> Project References -> Select inet -> Apply and Close
- Ensure the build modes of this project and
inet
are identical (bothrelease
or bothdebug
): This is done by right-clicking on each project in the Project Explorer and navigating toBuild Configuration -> Set Active -> <mode>
- The
include paths
from INET must be added to this project such that you can write classes in your project which inheritinet
classes. For that, you need to right-click on theUdpTraceBasedApp
in the Project Explorer and navigate toProperties -> OMNeT++ -> Makemake
, select thesrc
folder in the list and then click "Options" in the right panel. - Go to the
Target
tab and make sure thatShared library ...
is checked. - Now go to the
Compile
tab and make sure all checkboxes are checked. - Move to the
Link
tab and make sure that theLink with libraries exported from...
checkbox is checked. - Finally,
Apply and Close
and you should be able tobuild
theUdpTraceBasedApp
project without errors as a project that reference the INET project.