sbonaime / LoRaWANGatewaySC

LoRa WAN Single Channel Gateway

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LoRa WAN Single Channel Gateway for WeMos ESP8266 Arduino

Instructions on how to make it work can be found here https://www.hackster.io/pulsartronic/lorawan-gateway-esp8266-rfm95-arduino-4914a8
IMPORTANT: I don't know why, but the latest version of the ESP8266 library (v3.0.2 at this time) does not correctly deliver the .html. It seems to work just fine with v2.7.4

Contribute

An open source project is a forever Work In Progress. Feel free to be constructive.

RFM default configuration is in:

libraries/RFM/RFM.h

You should change it based on your hardware before uploading it to your board, although you can later change it through the web interface. LoRaWAN default configuration is in:

libraries/WAN/WAN.h

TODO

There are many todo's, the biggest is: CAD (Channel Activity Detection) is not supported yet, if you want to implement it, it would be fantastic, if you don't know how, you can open an issue asking for implementation in the following repo: https://github.com/sandeepmistry/arduino-LoRa

Another todo: DOWNLINKS that arrive too late are emitted anyways, TTN sometimes takes too long to send a downlink resulting in many TOO_LATE errors. See protocol: https://github.com/Lora-net/packet_forwarder/blob/master/PROTOCOL.TXT If you want to change this behaviour, you can find it in

libraries/WAN/WAN.cpp

around the line 270

Credits

AES for microcontrollers (Arduino & Raspberry pi)
https://github.com/spaniakos/AES

JSON library for Arduino and embedded C++. Simple and efficient.
https://github.com/bblanchon/ArduinoJson

An Arduino library for sending and receiving data using LoRa radios.
https://github.com/sandeepmistry/arduino-LoRa

WebSocket Server and Client for Arduino based on RFC6455
https://github.com/Links2004/arduinoWebSockets

Base64 encoder/decoder for arduino
https://github.com/Densaugeo/base64_arduino

About

LoRa WAN Single Channel Gateway

License:GNU General Public License v3.0


Languages

Language:C++ 81.8%Language:C 14.8%Language:Shell 1.0%Language:CMake 0.8%Language:Processing 0.5%Language:Python 0.5%Language:Makefile 0.3%Language:JavaScript 0.2%Language:HTML 0.1%