Skip to content

This is a device (mote) emulator for LoRaWAN protocol version 1.0.2. Completely realized by Python 3.6

Notifications You must be signed in to change notification settings

xisiot/lora-motes-emulator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LoRa Motes Emulator

This is a useful tool to test LoRa server.

To emulate end devices (AKA Motes in LoRaWAN™ protocol)

Support LoRaWAN™ 1.0.2 protocol

Using Gateways from Semtech™

System Requirements

  • Ubuntu
  • Python(3.6, mandatory)

Installtion

  • Use pip to install pipenv:

    (sudo) pip3 install pipenv
    
  • Clone this repo into a directory:

    git clone https://github.com/houluy/lora-motes-emulator.git
    
  • Use pipenv to create a virtual Python environment and install all the dependencies:

    pipenv --python 3 install
    

Here, if there is not Python 3.6 in your system, a warning will occur, and no package will be installed. It is perfect to install Python 3.6 from source. Otherwise, remove the Pipfile.lock and redo the above command.

  • Copy a local config file and modify the src and dest address.

  • Modify device basic infomation in device_back.json.

  • Run the emulator to see the help:

    pipenv run python main.py -h
    

    or by:

    pipenv shell
    python main.py -h
    

About

This is a device (mote) emulator for LoRaWAN protocol version 1.0.2. Completely realized by Python 3.6

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%