How to Connect the R1520LG Gateway to the Loriot LoRaWAN Platform

How to Connect the R1520LG Gateway to the Loriot LoRaWAN Platform

Overview

This document provides a step-by-step guide for connecting the Robustel R1520LG LoRaWAN Gateway to the Loriot platform. Loriot offers globally hosted, feature-rich LoRaWAN network servers.
With this configuration, the R1520LG can operate as a LoRaWAN gateway using the
Semtech Basic Station packet forwarder, enabling seamless data forwarding from local LoRa sensors to the Loriot cloud for device management and application development.

Prerequisites

Hardware Requirements

  • 1 × Robustel R1520LG Gateway
  • 1 × LoRa sensor (for connectivity testing)
  • Internet access via:
    • SIM card, or
    • Ethernet connection

Software / Firmware Requirements

  • Gateway Firmware: RobustOS Pro v2.3.0 or later
  • Loriot Account:
    • A registered Loriot Community or Professional Network Server account

Step-by-Step Configuration Guide

1. Configure Basic Station on the Gateway

First, you must enable the Basic Station packet forwarder within the Robustel Web GUI to prepare the gateway for the Loriot connection.

  1. Log in to the gateway's Web GUI.
  2. Navigate to Packet Forwarder > Basic Station.
  3. Set Enable to ON.
  4. Set TLS Enable to ON.
  5. Enter the Server Address provided by Loriot (e.g., eu1.loriot.io).
  6. Set the Server Port to 717.
  7. Click Submit

Note: Screenshots of the gateway interface should show the "Basic Station" tab with the Enable and TLS switches in the ON position.

2. Register the Gateway on Loriot

You need to identify your gateway on the Loriot platform using its unique MAC address.

  1. In the gateway Web GUI, go to Dashboard and locate the LAN Status section.
  2. Identify and copy the MAC Address for the eth0 interface (e.g., 34:fa:40:0c:35:a0).

  3. Log in to your Loriot Dashboard.

  4. Select your network and click + Add Gateway


  1. When prompted for the base platform, select Basic Station Semtech.

  1. Paste the eth0 MAC address into the registration field as the Gateway ID.

    Note: The MAC address should be in uppercase.

3. Certificate Management and TLS Setup

Secure communication requires TLS certificates generated by Loriot and uploaded to the gateway.

  1. On the Loriot gateway details page, navigate to the Certificate section on the left-hand menu.
  2. Click Generate TLS Certificate to create the necessary keys.

    1. Download the TLS CA Certificate, TLS Certificate, and TLS Key.


  3. Return to the gateway Web GUI and go to Packet Forwarder > Cert Manager

  4. Upload the downloaded files into the CA Cert, Client Cert, and Client Key fields respectively.


  1. Important: Modify the name of the downloaded certificates if needed; using default names that include spaces or special characters may occasionally prevent a successful connection.

4. Enroll LoRa Sensors

Once the gateway is connected, you can enroll individual sensors to start receiving data.

  1. On the Loriot platform, navigate to Applications and select your specific application

  2. Click + Enroll Device.

  3. Choose the Enrollment Process (typically OTAA).

  1. Enter the Device EUI, Join EUI, and Application Key specific to your sensor.

  2. Click Create Device to finalize the registration.

Verification & Testing

Confirm Gateway Connection

To verify the gateway is successfully communicating with Loriot:

  • On the Loriot Platform: Check the Gateways list. The status should appear as Connected (indicated by a green status icon).

  • On the Gateway Web GUI: Navigate to Packet Forwarder > Basic Station > Status. The TC Status should explicitly display connected.

  • Packet Traffic: You can check the Traffic tab in the Loriot dashboard to see live LoRaWAN packets being forwarded by the R1520LG.




Troubleshooting / FAQ

Q: The gateway status remains "Disconnected" on the Loriot dashboard.

A: Double-check that the Server Address and Port (717) are entered correctly without extra spaces. Also, ensure the certificates were successfully uploaded in the Cert Manager and that the gateway has a working internet connection.

Q: I see "TLS Handshake Failed" in the logs. What should I do?

A: This usually indicates a certificate mismatch. Re-download the certificates from Loriot and ensure they are uploaded to the correct fields (CA to CA, Client Cert to Client Cert).

Q: How do I collect logs for Robustel Technical Support?

A: Follow these steps to generate a diagnostic file:

  1. Go to Services > Syslog.
  2. Enable Syslog, set level to Debug, and set Save Position to NVM.
  3. Let the device run for 10 minutes to record the issue.
  4. Go to System > Debug and click Generate under System Diagnostic Data to download the file.

    • Related Articles

    • R3000LG Using Base Station TLS to Connect to Loriot Guide

      R3000LG Using Base Station TLS to Connect to Loriot Guide Overview This guide is designed to assist users in configuring the R3000LG device to connect to the Loriot LoRaWAN network server using the Base Station TLS protocol. The following steps will ...
    • How to Connect R1520LG to the Internet (Cellular/Ethernet) to Start Your LoRaWAN Deployment

      ? Overview The R1520LG is an industrial-grade gateway that combines robust cellular routing with LoRaWAN gateway capabilities. Before you can begin onboarding LoRa nodes or configuring data forwarding to a Network Server (like TTN or ChirpStack), ...
    • How to Connect the R1520-LG Basic Station to Netmore LNS

      ? Overview This guide provides a comprehensive procedure for connecting the Robustel R1520LG Edge Gateway (running RobustOS Pro) to The Things Network (TTN) using the LoRa Basic Station protocol. Unlike the legacy UDP Packet Forwarder, Basic Station ...
    • Edge Gateway Main Page

      Edge Gateway Configuration & Development Your central hub for mastering Robustel Edge Gateways, tailored for developers and system integrators. From basic device configuration to advanced application development and third-party integration, find the ...
    • How to build a Private LoRaWAN Network using the R1520LG Built-in ChirpStack

      ChirpStack R1520LG Integration Guide: Building Private LoRaWAN Networks Summary In this comprehensive guide, we explore the integration of ChirpStack, the leading open-source LoRaWAN network server, with Robustel’s R1520LG Industrial LoRa Gateway. ...