dernasherbrezon / r2lora

Access LoRa transceiver via REST API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Note: This repository is archived and not supported anymore. Please use lora-at instead.

About

Expose LoRa modules for remote access

Design

diagram

r2lora exposes LoRa module functionality via REST API. This API can be accessed from any other device in the same network.

Features

  • REST API
    • Lora RX start
    • Lora TX
    • FSK RX start
    • FSK TX
    • OOK RX start
    • OOK TX
    • Pull received messages
    • RX stop
    • Status and configuration
  • Basic authentication
  • Initial configuration via standalone WiFi access point
  • FOTA updates from apt.r2server.ru

Supported boards

How to install / compile

  1. Install PlatformIO GUI or CLI version

  2. Clone this repository:

git clone https://github.com/dernasherbrezon/r2lora.git
  1. Build the application. Replace board with one of board names above.
cd r2lora
pio run -t upload -e board

How to configure

After initial installation, r2lora will start WiFi access point "r2lora".

  • Connect to "r2lora" WiFi
  • Open http://192.168.4.1 address
  • Make required changes to the configuration and save
  • IMPORTANT disconnect from "r2lora" WiFi

If everything is ok, then r2lora will attempt to connect to your local WiFi. If connection is successful, then it will print IP address within your local network. You can open it to amend configuration.

About

Access LoRa transceiver via REST API

License:Apache License 2.0


Languages

Language:C++ 95.9%Language:Shell 3.8%Language:C 0.3%