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.