The ns3 lora module is a simplistic model of a lora-like network. It supports LoraWAN Class A end devices and one gateway.
To install this module, you should do as follow:
- Download ns-3 latest version (ns-3-27) at ns-3 main page.
- Extract ns-allinone-3.27.tar.bz2 file.
- Download ns3 lora module, then copy it ./src folder inside ns-allinone-3.27 folder.
- Run three next statements to build source code:
~/ns-allinone-3.27/ns-3$ ./waf clean
~/ns-allinone-3.27/ns-3$ ./waf configure --enable-tests --enable-examples
~/ns-allinone-3.27/ns-3$ ./waf build
To test ns3 lora module, you run this statement:
~/ns-allinone-3.27/ns-3$ ./test.py -s lora-node -m -t lora-node.txt
To run example of ns3 lora module, you run this statement:
~/ns-allinone-3.27/ns-3$ ./waf --run lora-example
This software is licensed under the terms of the GNU GPLv2 - see the LICENSE file for details.