Skip to content
The Things Stack documentation home
Getting Started Concepts Cloud Enterprise Integrations API Hardware
Getting Started Concepts
Cloud Enterprise
Integrations API Hardware
Get The Things Stack

    Recent searches

      Popular pages

      • Getting Started
      • Adding Gateways
      • Adding Devices
      • Payload Formatters
      • Webhooks
      • Authentication

      No results for “”.

      • Check the spelling, or try fewer or more general words.
      • Ask the community on The Things Network Forum
      • Contact support
      ↑↓ to navigate ↵ to open Esc to close

      Hardware

      • Overview
      • Devices
      • Gateways
        • Concepts
          • Adding Gateways
          • LoRa Basics™ Station
            • Configuration and Update Server (CUPS)
            • LoRaWAN Network Server (LNS)
            • Using CUPS to redirect to a different LNS
            • Implementation Guide
            • mTLS Authentication
          • Semtech UDP Packet Forwarder
          • The Things Industries Gateway Protocol
          • Packet Forwarders
          • Gateway Round Trip Times
        • Models
        • Troubleshooting Gateways
      • Works with The Things Stack

      LoRa Basics™ Station

      Updated 20 January 2025 Edit on GitHub
      Copy page
      • View as MarkdownThis page as plain text
      • Open in ChatGPTAsk questions about this page
      • Open in ClaudeAsk questions about this page

      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

      Using CUPS to redirect to a different LNS

      This section explains how redirect your gateway from one The Things Stack instance to another using CUPS, thus facilitating remote gateway management.
      Read

      Implementation Guide

      This guide contains implementation details primarily for gateway manufacturers intending to implement the LoRa Basics™ Station protocol.
      Read

      mTLS Authentication

      The Things Stack supports mutual TLS to authenticate LoRa Basics™ Station CUPS connections in selected deployments. This guide explains how gateway vendors/resellers and users can leverage
      Read
      ← Adding Gateways Configuration and Update Server (CUPS) →

      On this page

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

      Sections

      Getting Started

      Concepts

      Cloud

      Enterprise

      Integrations

      API

      Hardware

      Sitemap

      View our Sitemap

      Contributing

      GitHub

      About Us

      The Things Industries

      Privacy Policy

      Cookie settings

      Cookie Settings

      We use cookies to enhance your experience, analyze site traffic and deliver personalized content. Read our Privacy Policy.

      Cookie categories