connect-ug87-ttn-header

Introduction

The Things Network provides two types of TTN packet forwarders that can be running on UG8x LoRaWAN gateway:

  • Packet forwarders that connect using the Semtech UDP protocol (such as the Semtech UDP Packet Forwarder). This protocol is not encrypted, less reliable (UDP-based), but its simplicity makes it work on a large number of gateways.
  • Packet forwarders that connect using the new TTN Gateway Connector protocol (such as the TTN Packet Forwarder). This protocol is more secure, reliable and safer.

Requirements

  • UG8x LoRaWAN Gateway
  • The Things Network Account

Contents

  • Connecting via Semtech UDP Packet Forwarder
  • Connecting via TTN Packet Forwarder
  • Trouble Shooting & FAQ

Connecting via Semtech UDP Packet Forwarder

Gateway Configuration(Firmware version: 80.0.0.49 or above)

1. Go to “Packet Forwarder”-> “General” and click to create a network server to Multi-Destination list.

ug87-ttn-packet-forwarder

2. Select “Semtech” type and configure the server address to forward the correct one for your region. Reference address for the region: https://www.thethingsnetwork.org/docs/gateways/packet-forwarder/semtech-udp.html

ug87-ttn-packet-forwarde

3. Enable this server and save the configuration.

ug87-ttn-packet-forwarde

Gateway Configuration (Firmware version: 87.1.0.x or below 80.0.0.49)

Go to “LoRaWAN”-> “Packet Forwarder” -> “General” and configure server address to forward the correct one for your region. Reference address for the region: https://www.thethingsnetwork.org/docs/gateways/packet-forwarder/semtech-udp.html

ug87-ttn

TTN Configuration
1. Go to the “Console”->“GATEWAYS” page and click “register gateway” to register.

ug87-ttn-packet-forwarde

ug8x-ttn-packet-forwarde

  • Check “I’m using the legacy Semtech packet forwarder”.
  • Copy and paste gateway EUI (8bytes) from UG8x web GUI.
  • Select the frequency plan the gateway uses.
  • Select the router address that is suitable for your region.
  • Click “Register Gateway” to finish.

2. Gateway has successfully connected to TTN.

ug8x-ttn

TTN Packet Forwarder

TTN Configuration

1. Go to “Console”-> “GATEWAYS” page and click “register gateway” to register.

 ug8x-ttn

ug8x-ttn

  • Create a unique Gateway ID with lower case, alphanumeri ccharacters and nonconsecutive – and _ .
  • Select the frequency plan the gateway uses.
  • Select the router address that is suitable for your region.
  • Click “Register Gateway” to finish.

Gateway Configuration

1. Go to “Packet Forwarder” -> “General” and click to create a network server to Multi-Destination list.

ug8x-ttn

2. Select “TTN” type, copy and paste gateway key from TTN, then save the configuration.

ug8x-ttn

ug8x-ttn

3. Copy and paste TTN gateway ID to “Gateway ID” and save changes.

ug8x-ttn-packet-forwarde

4. Gateway has successfully connected to TTN.

ug8x-ttn-packet-forwarde

Trouble Shooting & FAQ

1. Cannot register gateway

If you switch back to the Gateways page without seeing the newly register gateway, you will probably also see the following error at the top right:

ug8x-ttn-packet-forwarde
This means someone else has already registered with this Gateway ID or EUI. Please change a new ID or EUI in the web GUI of UG8x gateway.

2. Could not see the gateway GPS location

UG8x-G model gateway updates GPS location data to a network server every 10 minutes if it receives GPS signal. Please check if GPS antenna is installed correctly and the gateway is placed outdoors or beside the windows that can receive GPS signal.

3. Could not connect via TTN packet forwarder

Discovery server address “discover.thethingsnetwork.org:1900” for TTN packet forwarder server is restricted to access by some Internet Service Providers. Please contact your ISP and TTN for more information about it.