background image

 

 

 
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 

Summary of Contents for RE.45.SGUE

Page 1: ...e Release 1 2 Quick Install Guide Version QIG_S gateway_v1 30 docx Date 1 04 2019 Covering Product code RE 45 SGUE S GATEWAY EU Picocell indoor gateway including a GPS receiver for advanced timekeepin...

Page 2: ...Y SOFTWARE VERSION 10 Disclaimer The specifications and information regarding the products in this manual are subject to change without notice All statements information and recommendations in this ma...

Page 3: ...or translated to another language or program language without prior written consent of RFI Engineering B V QIG_S gateway_v1 30 docx Page 2 11 2 Revision History Revision Reason Author Date 1 2 First v...

Page 4: ...st way to connect battery operated devices to the network infrastructure LoRa RF technology has been pioneered by Semtech and is a 2 way wireless solution operating in the license exempt ISM bands tha...

Page 5: ...port labelled power After the power is applied the blue LED labelled Power on the front of the unit will be on After a few seconds the Ethernet LEDs on the Ethernet port will also turn on The unit is...

Page 6: ...assigned an IP address of 10 1 4 133 To connect to your S gateway for the first time start your SSH client Enter the IP address User Name rfi and port number 22 for the S gateway Host Name 10 1 4 133...

Page 7: ...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 start...

Page 8: ...way communicate with the LoRaWAN servers from Loriot by giving the following command client lora add s eu1 loriot io i 402814FFFF01001E p 1780 ENTER The command should give you a message saying LoRa c...

Page 9: ...nd client lora delete i 402814FFFF01001E ENTER The command should give the following output message LoRa configuration successfully deleted You can list the available configurations to verify that the...

Page 10: ...should give you a message saying LoRa configuration successfully activated You can verify the command by listing the available LoRa configurations again using client lora list ENTER This should give...

Page 11: ...MB in 1min 19s 156 kB s Reading package lists Done Now that the package list is updated you can install the latest S gateway software by giving the following command sudo apt get install s gateway rfi...

Page 12: ...ngineering com apt debian stretch embedded armel Packages 827 B Get 6 http cdn fastly deb debian org debian stretch main armel Packages 6 884 kB Get 7 http cdn fastly deb debian org debian stretch mai...

Reviews: