Show last authors
1 **Contents:**
2
3 {{toc/}}
4
5
6
7 = 1. Introduction =
8
9 This instruction explains how to process the LoRa/LoRaWAN data receive on LoRa/LoRaWAN gateway.
10
11 (((
12 There are different network topology. Please check the suitable one for you.
13
14
15 )))
16
17 = 2. Case 1: Standard LoRaWAN connection~-~- LoRaWAN server is a public server =
18
19 [[image:image-20220527151200-1.png]]
20
21 LoRaWAN connection
22
23 (((
24 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.
25 )))
26
27 (((
28
29 )))
30
31 (((
32 Reference Link:
33 )))
34
35 * Gateway set up instruction to LoRaWAN server. [[Gateway User Manual>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LG308-LG301/&file=LG308_LoRaWAN_Gateway_User_Manual_v1.1.3.pdf]]
36 * Examples free public LoRaWAN server is: [[The Things Network>>url:https://www.thethingsnetwork.org/]].
37 * TTN provides the [[integration instruction>>url:https://www.thethingsnetwork.org/docs/applications/integrations.html]] for how to connect to Application servers.
38
39
40 = 3. Case 2: Standard LoRaWAN connection~-~- LoRaWAN server is a private server =
41
42 [[image:https://wiki.dragino.com/images/thumb/a/af/Process_data_2.png/600px-Process_data_2.png||height="388" width="600"]]
43
44 LoRaWAN connection
45
46 (((
47 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:
48 )))
49
50 * [[ChirpStack>>url:https://www.chirpstack.io/]]
51 * [[TTN Stack V3>>url:https://www.thethingsnetwork.org/tech-stack#section1]]
52 * [[lorawan-server by Petr Gotthard>>url:https://github.com/gotthardp/lorawan-server]]
53
54 (((
55 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.
56 )))
57
58
59 = 4. Case 3: Standard LoRaWAN connection~-~- without LoRaWAN server, use ABP LoRaWAN End node =
60
61 Below gateways support this mode:
62
63 * LoRaWAN Gateway model: [[LPS8>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/148-lps8.html]], [[LG308>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/140-lg308.html]], [[DLOS8>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/160-dlos8.html]]
64
65 How it works:
66
67 * a) LoRaWAN End Nodes runs ABP mode
68 * b) No LoRaWAN server involved.
69 * c) Gateway stores keys from node and decode end nodes' data locally
70 * d) Gateway sends end node data to Application Server.
71
72 Reference Intruction: [[Communication with ABP End Node>>http://8.211.40.43:8080/xwiki/bin/view/Main/Communicate%20with%20ABP%20End%20Node%20without%20LoRaWAN%20Network%20Server%20---%20LG308/]]
73
74 [[image:https://wiki.dragino.com/images/thumb/9/9e/Process_data_3.png/600px-Process_data_3.png||height="478" width="600"]]
75
76 LoRaWAN connection without LoRaWAN server
77
78
79 = 5. Case 4: None standard LoRaWAN connection~-~- without LoRaWAN server, none standard LoRaWAN protocol, no security =
80
81 This method is to encryption part from LoRaWAN protocol and make the server side simple.
82
83 [[image:https://wiki.dragino.com/images/thumb/3/36/Unencrypt_Network_3.png/600px-Unencrypt_Network_3.png||height="476" width="600"]]
84
85 Unencrypt Network modified from LoRaWAN
86
87 Detail see: [[How to send none encryption LoRaWAN Packet>>url:https://wiki.dragino.com/index.php/How_to_send_none_encryption_LoRaWAN_Packet]]
88
89
90 = 6. Case 5:Private LoRa connection~-~- without LoRaWAN server, use Raw LoRa protocol =
91
92 Below gateways support this mode:
93
94 * LoRaWAN Gateway model: [[LG01-N>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/143-lg01n.html]], [[OLG01-N>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/144-olg01n.html]], [[LG02>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/135-lg02.html]], [[OLG02>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/136-olg02.html]]
95
96 How it works:
97
98 * a) LoRa End Node send Raw LoRa packet base on pre-define format
99 * b) No LoRaWAN server involved.
100 * c) Gateway parse the packet and get sensor ID and data.
101 * d) Gateway sends these data to Application Server.
102
103 Reference Intruction: [[MQTT Forward Instruction>>http://8.211.40.43:8080/xwiki/bin/view/Main/MQTT%20Forward%20Instruction/]]
104
105
106 [[image:https://wiki.dragino.com/images/thumb/2/2a/MQTT_Forward_2.png/600px-MQTT_Forward_2.png||height="355" width="600"]]
107
108 Raw LoRa uplink
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0