Register the gateway on a LoRa Network Server (LNS)
LoRa Network Server LNS
A LoRa Network Server is running in the cloud and taking care of these tasks:
- Handle and control a local or global LoRaWAN network
- Forward data between application(s) in the cloud and LoRaWAN devices via gateways
- Encrypt and decrypt LoRaWAN OTA packets
- Configure connected gateways according to the regional parameters (frequencies, channels, transmission power, timings etc.)
- Handle device join process (data, encryption, timing)
- Optimize reliability and network capacity by using the highest bandwidth physical layer possible using adaptive data rate mechanisms (ADR)
- Filtering duplicate uplink packets: If a LoRaWAN packet is received and forwarded by more then one gateway, the LoRa Network Server (LNS) filters out duplicate packets.
- Optional downlink data is sent to one or multiple LoRaWAN devices using the closest gateway(s). Gateways with the strongest uplink signal reception are preferred.
Registering your gateway on a LoRa Network Server LNS
- Create an account on the LNS
- Register your gateway
- Configure your gateway through the web-interface for the correct LNS URL
Example (TTN)
The Things Network Stack is a free LoRaWAN Network Server from The Things Network community, and it's built by The Things Industries.
Step 1: LNS Registration
- Create your account on The Things Network
- Navigate to your console and login: eu1.cloud.thethings.network/console/
- Go to gateways
- Press the "Register gateway" button
- Enter your Gateway EUI. Example 112233FFFE445566 (EUI = MAC ID + FFFE in the middle)
- Fill in your gateway name. Example: MyGateway
- Choose your frequency plan. Example for Europe: Europe 863-870 MHz (SF9 for RX2 - recommended)
- Press the "Register gateway" button
Step 2: LNS configuration in the Gateway
- Open the web-interface to the gateway
- In the "Services" menu, choose LoRaWAN
- Configure the packet forwarder type: Semtech (legacy) packet forwarder
- Configure Semtech packet forwarder Server address: eu1.cloud.thethings.network
- Semtech packetforwarder Port: 1700
- Press the "Save & Apply" button
- Wait for the web-interface to be active again