In this tutorial, we show you how to build wireless simulations in the INET Framework. The tutorial contains a series of simulation models numbered from 1 through 14. The models are of increasing complexity – they start from the basics, and in each step, they introduce new INET features and concepts related to wireless communication networks.
In the tutorial, each step is a separate configuration in the same omnetpp.ini file. Steps build on each other; they extend the configuration of the previous step by adding a few new lines. Consecutive steps mostly share the same network, defined in NED.
This is an advanced tutorial, and it assumes that you are familiar with creating and running simulations in OMNeT++ and INET. If you aren’t, you can check out the TicToc Tutorial to get started with using OMNeT++.
- Step 1. Two hosts communicating wirelessly
- Step 2. Setting up some animations
- Step 3. Adding more nodes and decreasing the communication range
- Step 4. Setting up static routing
- Step 5. Taking interference into account
- Step 6. Using CSMA to better utilize the medium
- Step 7. Turning on ACKs in CSMA
- Step 8. Modeling energy consumption
- Step 9. Configuring node movements
- Step 10. Configuring ad-hoc routing (AODV)
- Step 11. Adding obstacles to the environment
- Step 12. Changing to a more realistic radio model
- Step 13. Configuring a more accurate path loss model
- Step 14. Introducing antenna gain