Skip to content

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

License

Notifications You must be signed in to change notification settings

yacoubhanna/LoRaWAN

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%