diff --git a/.cproject b/.cproject new file mode 100644 index 0000000..589f1d9 --- /dev/null +++ b/.cproject @@ -0,0 +1,127 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1261c68 --- /dev/null +++ b/.gitignore @@ -0,0 +1,89 @@ +# generated source or object files +*_m.h +*_m.cc +*.o + +# misc +.cmdenv-log + +# local and generated files not to be committed +Makefile +src/Makefile +src/Makefile.vc +*_m.h +*_m.cc +*_sm.h +*_sm.cc +.oppfeaturestate +.nedexclusions +precompiled_*.h.* +**/MoBAN_Pattern*.txt + +# output and result files +.settings/ +/doc/* +/examples/*/results/ +/examples/*/*/results/ +/examples/*/*/*/results/ +/examples/*/cache/ +/examples/*/*/cache/ +/tutorials/*/cache/ +/tutorials/*/data/ +/tutorials/wireless/html/ +/tests/*/work/ +/tests/*/*/work/ +/tests/*/results*/ +*.log +*.sim +*.pyc +*.pcap +*.sca +*.vec +*.vci +*.aux +*.bbl +*.blg +*.idx +*.toc +*.pdf +*.ilg +*.ind +*.synctex.gz +.buildlog* + +# ignore binary files +out/ +*.so +*.dylib +*.dll +*.a +*.lib +*.exe +*.o +*.obj +*.pdb +*.idb +*.manifest +.qtenv.ini +.qtenvrc +.tkenvrc +.tkenvlog +.cmdenv-log +netanim-trace.txt +*.out +#contact plan tools for linux users +contactplan/ContactGraphEval +contactplan/ContactPlanPostProcessor +contactplan/IndependentSetsCreator +contactplan/RoutingTableCreator + +# ignore backup and temp files +*.UPDATED +*.FAILED +*.ERROR +*.bak +backups +*~ +xxx +/tmp/ +*.tmp* \ No newline at end of file diff --git a/.nedfolders b/.nedfolders new file mode 100644 index 0000000..85de9cf --- /dev/null +++ b/.nedfolders @@ -0,0 +1 @@ +src diff --git a/.oppbuildspec b/.oppbuildspec new file mode 100644 index 0000000..f7a5d45 --- /dev/null +++ b/.oppbuildspec @@ -0,0 +1,5 @@ + + + + + diff --git a/.project b/.project new file mode 100644 index 0000000..5265c03 --- /dev/null +++ b/.project @@ -0,0 +1,39 @@ + + + estnet + + + inet + + + + org.omnetpp.cdt.MakefileBuilder + + + + + org.omnetpp.scave.builder.vectorfileindexer + + + + + org.eclipse.cdt.managedbuilder.core.genmakebuilder + clean,full,incremental, + + + + + org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder + full,incremental, + + + + + + org.eclipse.cdt.core.cnature + org.eclipse.cdt.core.ccnature + org.eclipse.cdt.managedbuilder.core.managedBuildNature + org.eclipse.cdt.managedbuilder.core.ScannerConfigNature + org.omnetpp.main.omnetppnature + + diff --git a/HOWTO.md b/HOWTO.md new file mode 100644 index 0000000..2b8f812 --- /dev/null +++ b/HOWTO.md @@ -0,0 +1,27 @@ +# Linking with INET and ESTNeT + +Define environment variables to be able to include the INET and ESTNeT libraries: +- `export INET_ROOT="Path_to_your_local_INET_directory"`
+- `export ESTNET_ROOT="Path_to_your_local_ESTNeT_directory"`
+Example path: `/C/Users/my_user/workspace_omnetpp/inet` + +The environment variables can also be set automatically. When you use the mingw console in Windows you can do that by the following commands: +- `cd ~` +- `echo 'export INET_ROOT="Path_to_your_local_INET_directory"' >> .bash_profile`
+- `echo 'export ESTNET_ROOT="Path_to_your_local_ESTNeT_directory"' >> .bash_profile`
+Restart the MinGW Shell before running run_sim.sh + +# Running a simulation on the command-line + +- Run mingwenv.cmd in the OMNeT++ directory +- Go to simulations in the template project folder +- `./run_sim.sh [] [] [extra omnet args ...]`
+(Example: `./run_sim.sh release omnetpp.ini`) + +# Contact Plan Generation + +- Run mingwenv.cmd in the OMNeT++ directory +- Go to contactplan in the template project folder +- Run `./createContactPlan.sh