toiot-LoRa2MQTT-Gateway (Simple Single Channel Gateway)

This toiot single-channel gateway helps to communicate between LoRa and MQTT communication.
Introduce
For more information on LoRaWAN, please refer to the following repository(https://github.com/gjlee0802/LoRaWAN-Study).

Installation (for Raspberry Pi)

  • Step 1
$ sudo raspi-config nonint do_spi 0
$ sudo apt-get install python-dev python3-dev
$ sudo apt-get install python-pip python3-pip
  • Step 2
$ cd toiot-lora-gateway-driver/app
$ pip3 install -r requirements.txt

Run

$ cd toiot-lora-gateway-driver/app
$ python3 run.py --b='MQTT_BROKER_IP' --p=port_number

Execution Results

HealthCheck

The network server requires the gateway to send DevStatusReq every 30 seconds.
End-Devices answers DevStatusAns to provide information about the battery and radio_status.