The information contained in this document is subject to change. This document contains proprietary information, which is protected by copyright
laws. All rights are reserved. No part of this document may be photocopied, reproduced or translated to another language or program language
without prior written consent of RFI Engineering B.V.
QIG_S-gateway_v1.30.docx
Page: 6(
11)
6 Configuring the S-gateway to work with your LoRaWAN server
The S-gateway contains a pre-compiled packet forwarder that forwards received LoRa packets
from LoRa sensors to the LoRaWAN back office server. Included on the default software image is
the Semtech UDP Packet Forwarder with the following versions.
*** Beacon Packet Forwarder for Lora Gateway ***
Version: 4.0.1
*** Lora concentrator HAL library version info ***
Version: 5.0.1;
***
The packet forwarder starts automatically after the S-gateway boots and is under control of a
process called:
rfi-daemon
.
The rfi-daemon controls a number of processes on the S-gateway and
(amongst other things) makes sure that the packet forwarder is (re)started after a configuration
change takes place. This also means that you cannot start the packet forwarder manually, because
the packet forwarder will be automatically started by the rfi-daemon. Only one packet forwarder
process can run at any one time on the S-gateway. The configuration of the packet forwarder is
done through a
client
utility that allows you to change the
server address
, the
port number
and the
gateway EUI
This chapter explains how to configure your S-gateway to communicate with your LoRaWAN
server.
The configuration of the packet forwarder can be retrieved and changed by giving commands on
the command line.
6.1
Listing your Packet Forwarder Configuration
For showing the packet forwarder configuration(s) you type
client lora list [ENTER]
This will list the LoRa configuration(s) that are available on the system.
In the example above there is one configuration available, in this case the S-gateway is
communicating with the LoRaWAN server of the Things Network (TTN).
rfi@s-gateway:
~
$
client lora list
* LoRa gateway configuration "838240281401000e"
Forwarder address: "router.eu.thethings.network":1700
rfi@s-gateway:
~
$
Figure 3: Example of listing your LoRaWAN server configurations