How to further process data receive in gateway

Last modified by Edwin Chen on 2023/05/22 15:24

 

Table of Contents:

1. Introduction

This instruction explains how to process the LoRa/LoRaWAN data receive on LoRa/LoRaWAN gateway.

There are different network topology. Please check the suitable one for you.

 

2. Case 1: Standard LoRaWAN connection-- LoRaWAN server is a public server

image-20220527151200-1.png

LoRaWAN connection

This is a standard LoRaWAN connection. Gateway will forward all end nodes' data to LoRaWAN server. The LoRaWAN server stores the sensor data and communicate with Application server. The Application server in charge for data process for different industrial solutions.

Reference Link:

3. Case 2: Standard LoRaWAN connection-- LoRaWAN server is a private server

image-20220527151408-2.png

LoRaWAN connection

Basically, this is the same network topology as above, except users build the LoRaWAN server themselves. Below are two open source LoRaWAN servers commonly used:

Please note LoRaWAN server is for managing device and store sensor data, you still need to link the LoRaWAN server to an application server for your IoT solution to better analize the data and show to final clients. 

4. Case 3: Standard LoRaWAN connection-- use Gateway built-in LoRaWAN server to connect to external IoT server

Application Scenario:

  • There is already IoT server but no LoRaWAN server.
  • Not willing to use public LoRaWAN server nor built own LoRaWAN server.

Suitable Gateway:

  • LoRaWAN Gateway model: LPS8v2.

How it works:

  • a) LPS8v2 already includes a LoRaWAN server (TTN Stack v3). Enable this server in Web UI.
  • b) Input End Nodes keys in LPS8v2 LoRaWAN server.
  • c) Configure LPS8v2, End Node and LoRaWAN server frequency plan.
  • d) Configure local LoRaWAN server to forward data to external Application Server.

image-20220626095429-4.png

5. Case 4: Standard LoRaWAN connection-- use Gateway built-in LoRaWAN server and IoT server

Application Scenario:

  • No cloud IoT Server or LoRaWAN server
  • Not willing to use public LoRaWAN server nor built own LoRaWAN server.

Suitable Gateway:

  • LoRaWAN Gateway model: LPS8v2.

How it works:

  • a) LPS8v2 already includes a LoRaWAN server (TTN Stack v3). Enable this server in Web UI.
  • b) Input End Nodes keys in LPS8v2 LoRaWAN server.
  • c) Configure LPS8v2, End Node and LoRaWAN server frequency plan.
  • d) Configure IoT server (Node-Red) in LPS8v2

image-20220626100457-6.png

6. Case 5: Standard LoRaWAN connection-- without LoRaWAN server, use ABP LoRaWAN End node

Recommend using Case3 as a replacement.

Below gateways support this mode:

How it works:

  • a) LoRaWAN End Nodes runs ABP mode
  • b) No LoRaWAN server involved.
  • c) Gateway stores keys from node and decode end nodes' data locally
  • d) Gateway sends end node data to Application Server.

Reference Instruction: Communication with ABP End Node

image-20220527151531-3.png

LoRaWAN connection without LoRaWAN server

7. Case 6: None standard LoRaWAN connection-- without LoRaWAN server, none standard LoRaWAN protocol, no security

This method is to encryption part from LoRaWAN protocol and make the server side simple.

image-20220527151609-4.png

Unencrypt Network modified from LoRaWAN

Detail see: How to send none encryption LoRaWAN Packet

8. Case 7: Private LoRa connection-- without LoRaWAN server, use Raw LoRa protocol

Below gateways support this mode:

How it works:

  • a) LoRa End Node send Raw LoRa packet base on pre-define format
  • b) No LoRaWAN server involved.
  • c) Gateway parse the packet and get sensor ID and data.
  • d) Gateway sends these data to Application Server.

Reference Intruction: MQTT Forward Instruction

image-20220527152437-5.png

Raw LoRa uplink

 

Tags:
    
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0