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: 9(
11)
6.4
Activating a LoRaWAN server configuration
When you want to switch to another LoRaWAN server configuration you must do so by activating
another configuration. This is done using the following command:
client lora activate -i <gateway EUI> [ENTER]
This will activate the configuration based on the gateway EUI. For example, if want to activate the
configuration for TTN from the previous paragraphs you would give the following command:
client lora activate -i 838240281401000e
The command 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 you a list of the configured LoRaWAN servers. For example:
LoRa gateway configuration "402814FFFF01001E"
Forwarder address: "eu1.loriot.io":1780
* LoRa gateway configuration "838240281401000e"
Forwarder address: "router.eu.thethings.network":1700
In the example above there are two LoRaWAN servers configured. The one listed with * is the
active configuration. Meaning; the S-gateway is currently forwarding the received LoRa packets to
the servers of thethingsnetwork (TTN).
rfi@s-gateway
:
~
$ client lora activate -i 838240281401000e
LoRa configuration successfully activated
rfi@s-gateway
:
~
$ client lora list
LoRa gateway configuration "402814FFFF01001E"
Forwarder address: "eu1.loriot.io":1780
* LoRa gateway configuration "838240281401000e"
Forwarder address: "router.eu.thethings.network":1700
Figure 6: Activating a LoRaWAN server configuration and listing the available configurations