/LoRaWAN

An ns-3 module for simulation of LoRaWAN networks using class-c end device. This module is modified based on

Primary LanguageC++GNU General Public License v2.0GPL-2.0

Acknowledgments

The initial version of this code was developed by SIGNET Lab at the University of Padova by the developer Davide Magrin and one of the contributors Qiu Yukang LoRaWAN LoRaWAN-Class-C

LoRaWAN ns-3 modified module

This is an ns-3 module that can be used to perform simulations of a LoRaWAN network.

Module Documentation.

Getting started

Prerequisites

First of all in order to run the simulations using this module, you need to install ns-3, and clone this repository inside the src directory:

git clone https://github.com/nsnam/ns-3-dev-git ns-3
git clone https://github.com/adwise-fiu/LoRaWAN ns-3/src/lorawan

Compilation

To compile, move to the ns-3 folder, configure and then build ns-3:

./waf configure --enable-tests --enable-examples
./waf build

Finally, make sure tests run smoothly with:

./test.py -s lorawan

Make sure the script returns that the lorawan test suite passed.

Main Code

The module includes the following code:

  • LoraCenter

The code can be run via the ./waf --run LoraCenter command.

The Simulation Setup is shown in the figure below: alt text

Documentation