Compile Easy LoRa Gateway - IoTThinks/EasyLoraGateway GitHub Wiki
-
Install third-party library in Arduino IDE, Tools > Include library > Manage Libraries
-
Install library for MQTT, select "MQTT by Joel Gaehwiler"
-
Install library for LoRa, select "LoRa by Sandeep Mistry"
-
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
-
Use git to download or clone the whole source code, Clone or download > Download ZIP
-
Unzip the source code into a working folder
-
REBOOT ARDUINO IDE BEFORE DOING NEXT STEP
-
Go to EasyLoraGateway, open the main ino - EasyLoraGateway.ino
-
Select board ESP32 Dev Module
-
Compile, if everything is OK, you will see "Done compiling".
DONE.
- 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.