Hide last authors
Xiaoling 20.6 1
Xiaoling 1.1 2
Xiaoling 20.6 3 **Table of Contents:**
4
Xiaoling 1.3 5 {{toc/}}
Xiaoling 1.1 6
7
8
Xiaoling 1.2 9 = 1. Introduction =
Xiaoling 1.1 10
Xiaoling 20.7 11
Xiaoling 1.2 12 This instruction explains how to process the LoRa/LoRaWAN data receive on LoRa/LoRaWAN gateway.
Xiaoling 1.1 13
Xiaoling 1.5 14 (((
Xiaoling 1.2 15 There are different network topology. Please check the suitable one for you.
Xiaoling 2.2 16
Xiaoling 20.2 17
Xiaoling 2.2 18
Xiaoling 1.5 19 )))
Xiaoling 1.1 20
Xiaoling 1.2 21 = 2. Case 1: Standard LoRaWAN connection~-~- LoRaWAN server is a public server =
Xiaoling 1.1 22
Xiaoling 20.5 23
Xiaoling 2.2 24 [[image:image-20220527151200-1.png]]
Xiaoling 1.1 25
Xiaoling 1.2 26 LoRaWAN connection
Xiaoling 1.1 27
Xiaoling 20.5 28
Xiaoling 1.5 29 (((
Xiaoling 1.2 30 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.
Xiaoling 1.5 31 )))
Xiaoling 1.1 32
Xiaoling 1.5 33 (((
34
35 )))
36
37 (((
Xiaoling 1.2 38 Reference Link:
Xiaoling 1.5 39 )))
Xiaoling 1.1 40
Xiaoling 8.2 41 * Gateway set up instruction to LoRaWAN server. [[Gateway User Manual>>https://www.dragino.com/downloads/downloads/LoRa_Gateway/LG308-LG301/LG308_LoRaWAN_Gateway_User_Manual_v1.4.2.pdf]]
Xiaoling 1.2 42 * Examples free public LoRaWAN server is: [[The Things Network>>url:https://www.thethingsnetwork.org/]].
43 * TTN provides the [[integration instruction>>url:https://www.thethingsnetwork.org/docs/applications/integrations.html]] for how to connect to Application servers.
Xiaoling 1.1 44
Xiaoling 20.4 45
46
Xiaoling 20.7 47
Xiaoling 1.2 48 = 3. Case 2: Standard LoRaWAN connection~-~- LoRaWAN server is a private server =
Xiaoling 1.1 49
Xiaoling 20.4 50
Xiaoling 6.2 51 [[image:image-20220527151408-2.png]]
Xiaoling 1.1 52
Xiaoling 1.2 53 LoRaWAN connection
Xiaoling 1.1 54
Xiaoling 1.6 55 (((
Xiaoling 1.2 56 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:
Xiaoling 1.6 57 )))
Xiaoling 1.2 58
59 * [[ChirpStack>>url:https://www.chirpstack.io/]]
60 * [[TTN Stack V3>>url:https://www.thethingsnetwork.org/tech-stack#section1]]
61 * [[lorawan-server by Petr Gotthard>>url:https://github.com/gotthardp/lorawan-server]]
62
Xiaoling 1.6 63 (((
64 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.
65 )))
Xiaoling 1.2 66
67
Xiaoling 20.2 68
Edwin Chen 14.1 69 = 4. Case 3: Standard LoRaWAN connection~-~- use Gateway built-in LoRaWAN server to connect to external IoT server =
Xiaoling 1.2 70
Edwin Chen 9.1 71
Xiaoling 20.2 72 (% style="color:blue" %)**Application Scenario**:
73
Edwin Chen 14.1 74 * There is already IoT server but no LoRaWAN server.
75 * Not willing to use public LoRaWAN server nor built own LoRaWAN server.
76
Xiaoling 20.7 77
78
Xiaoling 20.2 79 (% style="color:blue" %)**Suitable Gateway:**
80
Edwin Chen 19.1 81 * LoRaWAN Gateway model: [[LPS8v2>>doc:Main.User Manual for All Gateway models.HP0C.WebHome]].
Edwin Chen 14.1 82
Xiaoling 20.7 83
84
Xiaoling 20.2 85 (% style="color:blue" %)**How it works:**
86
Edwin Chen 14.1 87 * a) LPS8v2 already includes a LoRaWAN server (TTN Stack v3). Enable this server in Web UI.
88 * b) Input End Nodes keys in LPS8v2 LoRaWAN server.
89 * c) Configure LPS8v2, End Node and LoRaWAN server frequency plan.
90 * d) Configure local LoRaWAN server to forward data to external Application Server.
91
Xiaoling 20.7 92
93
Edwin Chen 14.1 94 [[image:image-20220626095429-4.png||height="523" width="864"]]
95
96
97
Edwin Chen 18.1 98 = 5. Case 4: Standard LoRaWAN connection~-~- use Gateway built-in LoRaWAN server and IoT server =
Edwin Chen 14.1 99
Edwin Chen 9.1 100
Xiaoling 20.3 101 (% style="color:blue" %)**Application Scenario**:
102
Edwin Chen 18.1 103 * No cloud IoT Server or LoRaWAN server
104 * Not willing to use public LoRaWAN server nor built own LoRaWAN server.
Edwin Chen 15.1 105
Xiaoling 20.7 106
107
Xiaoling 20.3 108 (% style="color:blue" %)**Suitable Gateway:**
Edwin Chen 18.1 109
Edwin Chen 20.1 110 * LoRaWAN Gateway model: [[LPS8v2>>doc:Main.User Manual for All Gateway models.HP0C.WebHome]].
Edwin Chen 18.1 111
Xiaoling 20.7 112
113
Xiaoling 20.3 114 (% style="color:blue" %)**How it works:**
Edwin Chen 18.1 115
116 * a) LPS8v2 already includes a LoRaWAN server (TTN Stack v3). Enable this server in Web UI.
117 * b) Input End Nodes keys in LPS8v2 LoRaWAN server.
118 * c) Configure LPS8v2, End Node and LoRaWAN server frequency plan.
119 * d) Configure IoT server (Node-Red) in LPS8v2
120
Xiaoling 20.7 121
122
Edwin Chen 18.1 123 [[image:image-20220626100457-6.png||height="513" width="824"]]
124
125
126
127 = 6. Case 5: Standard LoRaWAN connection~-~- without LoRaWAN server, use ABP LoRaWAN End node =
128
129
Xiaoling 20.3 130 (% style="color:red" %)**Recommend using Case3 as a replacement.**
Xiaoling 1.2 131
Xiaoling 20.3 132
133 (% style="color:blue" %)**Below gateways support this mode:**
134
Xiaoling 1.2 135 * 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]]
136
137
Xiaoling 20.7 138
Xiaoling 20.3 139 (% style="color:blue" %)**How it works:**
140
Xiaoling 1.2 141 * a) LoRaWAN End Nodes runs ABP mode
142 * b) No LoRaWAN server involved.
143 * c) Gateway stores keys from node and decode end nodes' data locally
144 * d) Gateway sends end node data to Application Server.
145
Xiaoling 20.3 146
Xiaoling 20.7 147
Edwin Chen 20.1 148 Reference Instruction: [[Communication with ABP End Node>>Communicate with ABP End Node without LoRaWAN Network Server --- LG308]]
Xiaoling 1.2 149
Xiaoling 20.4 150
Xiaoling 6.2 151 [[image:image-20220527151531-3.png]]
Xiaoling 1.2 152
153 LoRaWAN connection without LoRaWAN server
154
155
Xiaoling 20.4 156
Edwin Chen 18.1 157 = 7. Case 6: None standard LoRaWAN connection~-~- without LoRaWAN server, none standard LoRaWAN protocol, no security =
Xiaoling 1.2 158
Xiaoling 20.4 159
Xiaoling 1.2 160 This method is to encryption part from LoRaWAN protocol and make the server side simple.
161
Xiaoling 6.2 162 [[image:image-20220527151609-4.png]]
Xiaoling 1.2 163
164 Unencrypt Network modified from LoRaWAN
165
Xiaoling 20.4 166
Xiaoling 8.10 167 Detail see: [[How to send none encryption LoRaWAN Packet>>How to send none encryption LoRaWAN Packet]]
Xiaoling 1.2 168
169
Xiaoling 20.4 170
Edwin Chen 18.1 171 = 8. Case 7: Private LoRa connection~-~- without LoRaWAN server, use Raw LoRa protocol =
Xiaoling 1.2 172
173
Xiaoling 20.4 174 (% style="color:blue" %)**Below gateways support this mode:**
175
Xiaoling 1.2 176 * 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]]
177
178
Xiaoling 20.7 179
Xiaoling 20.4 180 (% style="color:blue" %)**How it works:**
181
Xiaoling 1.2 182 * a) LoRa End Node send Raw LoRa packet base on pre-define format
183 * b) No LoRaWAN server involved.
184 * c) Gateway parse the packet and get sensor ID and data.
185 * d) Gateway sends these data to Application Server.
186
Xiaoling 8.5 187 Reference Intruction: [[MQTT Forward Instruction>>MQTT Forward Instruction]]
Xiaoling 1.2 188
189
Xiaoling 7.2 190 [[image:image-20220527152437-5.png]]
Xiaoling 1.2 191
192 Raw LoRa uplink
Xiaoling 20.4 193
194
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0