v3.23.1

Getting Started Devices Gateways Integrations Reference
Get The Things Stack

Gateways

    Overview
  • Concepts
    • Adding Gateways
    • Gateway Claiming
    • LoRa Basics™ Station
      • Configuration and Update Server (CUPS)
      • LoRaWAN Network Server (LNS)
    • Semtech UDP Packet Forwarder
  • Models
  • Troubleshooting Gateways

LoRa Basics™ Station

The LoRa Basics™ Station protocol simplifies management of large scale LoRaWAN networks. LoRa Basics™ Station is the preferred way of connecting Gateways to The Things Stack.

This section contains information for connecting your gateway to The Things Stack using LoRa Basics™ Station and its subprotocols.

These are general instructions for all LoRa Basics™ Station gateways. For specific instructions for your gateway, look in the Gateways section.

Advantages of LoRa Basics™ Station

Some of the advantages of LoRa Basics™ Station over the legacy UDP Packet Forwarder are:

  • Centralized Update and Configuration Management
  • TLS and Token-based Authentication
  • Centralized Channel-Plan Management
  • No Dependency on Local Time Keeping

Authentication

The Things Stack supports TLS server authentication and client token. This requires a *.trust file and a *.key file. See the LNS and CUPS sections for information about getting these files. The Things Stack does not support TLS client authentication and does not provide a *.cert file.

LNS and CUPS Sub Protocols

LoRa Basics™ Station contains two sub protocols for connecting Gateways to Network Servers, LoRaWAN Network Server (LNS) and Configuration and Update Server (CUPS).

LoRaWAN Network Server (LNS)

LNS establishes a data connection between a LoRa Basics™ Station gateway and a Network Server (in this case, The Things Stack). LoRa® uplink and downlink frames are exchanged through this data connection. The LNS protocol is required for sending and receiving LoRaWAN data.

Configuration and Update Server (CUPS)

CUPS allows a Network Server to configure gateways remotely, and to update gateway firmware. CUPS is not required for sending and receiving LoRaWAN data, but it can greatly simplify the management of gateways. Configuring CUPS will also automatically retrieve LNS credentials and configure LNS on your gateway.

More information about LoRa Basics™ Station is available at Semtech’s Developer Portal

Configuration and Update Server (CUPS)

LoRa Basics™ Station can regularly connect to a Configuration and Update Server (CUPS) server to check for configuration and software updates. This page contains information about connecting your gateway to The Things Stack to support remote management via the CUPS Protocol.
Read

LoRaWAN Network Server (LNS)

LNS establishes a data connection between a LoRa Basics™ Station and The Things Stack. This page contains information about connecting your gateway to The Things Stack using the LoRaWAN® Network Server (LNS) protocol.
Read
← Claim a Gateway Configuration and Update Server (CUPS) →

On this page

  • Advantages of LoRa Basics™ Station
  • Authentication
  • LNS and CUPS Sub Protocols

The Things Stack

Getting Started

Devices

Gateways

Integrations

Reference

Contributing

GitHub

Forum

About Us

The Things Network

The Things Industries

About this page

Last changed by Krishna Iyer on 14 Oct 2022.
Refactor gateways section (#973)

Edit on Github