Compile Easy LoRa Gateway - IoTThinks/EasyLoraGateway GitHub Wiki

1. Install third-party library

  • Install third-party library in Arduino IDE, Tools > Include library > Manage Libraries gw-src6

  • Install library for MQTT, select "MQTT by Joel Gaehwiler" gw-src7

  • Install library for LoRa, select "LoRa by Sandeep Mistry" gw-src8

  • Install librady for HTTP FOTA, Add library zip using External libraries\esp32-http-fota-master\HttpFOTA.zip or get latest file from https://github.com/nhatuan84/esp32-http-fota gw-src9

gw-src10

2. Download Easy LoRa source code

  • Use git to download or clone the whole source code, Clone or download > Download ZIP gw-src2

  • Unzip the source code into a working folder gw-src3

  • REBOOT ARDUINO IDE BEFORE DOING NEXT STEP

3. Compile Easy LoRa source code

  • Go to EasyLoraGateway, open the main ino - EasyLoraGateway.ino gw-src4

  • Select board ESP32 Dev Module gw-src5

  • Compile, if everything is OK, you will see "Done compiling". gw-src11

DONE.

4. Troubleshooting

  • Divide by zero when running the gateway. If you hit this error, try to install/downgrade the LoRa library in step 1 to version 0.3.0. This seems to be LoRa library issue. After downgrading to LoRa 0.3.0, remmeber to reboot Arduino IDE. dividebyzero
⚠️ **GitHub.com Fallback** ⚠️