Changes for page How to further process data receive in gateway
Last modified by Xiaoling on 2025/07/31 15:48
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 6 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,7 +1,5 @@ 1 - 1 + **Contents:** 2 2 3 -**Table of Contents:** 4 - 5 5 {{toc/}} 6 6 7 7 ... ... @@ -8,7 +8,6 @@ 8 8 9 9 = 1. Introduction = 10 10 11 - 12 12 This instruction explains how to process the LoRa/LoRaWAN data receive on LoRa/LoRaWAN gateway. 13 13 14 14 ((( ... ... @@ -19,30 +19,29 @@ 19 19 20 20 = 2. Case 1: Standard LoRaWAN connection~-~- LoRaWAN server is a public server = 21 21 22 - 23 23 [[image:image-20220527151200-1.png]] 24 24 25 - **LoRaWAN connection**21 +LoRaWAN connection 26 26 27 - 28 28 ((( 29 29 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. 30 30 ))) 31 31 27 +((( 28 + 29 +))) 32 32 33 33 ((( 34 - **Reference Link:**32 +Reference Link: 35 35 ))) 36 36 37 37 * 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]] 38 - 39 -* Examples free public LoRaWAN server is: [[The Things Network>>url:https://www.thethingsnetwork.org/]]. Example for IoT Server is : [[DataCake>>https://datacake.co/]] 40 - 36 +* Examples free public LoRaWAN server is: [[The Things Network>>url:https://www.thethingsnetwork.org/]]. 41 41 * TTN provides the [[integration instruction>>url:https://www.thethingsnetwork.org/docs/applications/integrations.html]] for how to connect to Application servers. 42 42 39 + 43 43 = 3. Case 2: Standard LoRaWAN connection~-~- LoRaWAN server is a private server = 44 44 45 - 46 46 [[image:image-20220527151408-2.png]] 47 47 48 48 LoRaWAN connection ... ... @@ -52,9 +52,7 @@ 52 52 ))) 53 53 54 54 * [[ChirpStack>>url:https://www.chirpstack.io/]] 55 - 56 56 * [[TTN Stack V3>>url:https://www.thethingsnetwork.org/tech-stack#section1]] 57 - 58 58 * [[lorawan-server by Petr Gotthard>>url:https://github.com/gotthardp/lorawan-server]] 59 59 60 60 ((( ... ... @@ -62,90 +62,28 @@ 62 62 ))) 63 63 64 64 59 += 4. Case 3: Standard LoRaWAN connection~-~- without LoRaWAN server, use ABP LoRaWAN End node = 65 65 66 - = 4. Case3: Standard LoRaWANconnection~-~- use Gatewaybuilt-in LoRaWAN servertoconnecttoxternal IoT server =61 +Below gateways support this mode: 67 67 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]] 68 68 69 - (% style="color:blue"%)**ApplicationScenario**:65 +How it works: 70 70 71 -* There is already IoT server but no LoRaWAN server. 72 - 73 -* Not willing to use public LoRaWAN server nor built own LoRaWAN server. 74 - 75 -(% style="color:blue" %)**Suitable Gateway:** 76 - 77 -* LoRaWAN Gateway model: [[LPS8v2>>doc:Main.User Manual for All Gateway models.HP0C.WebHome]]. 78 - 79 -(% style="color:blue" %)**How it works:** 80 - 81 -* a) LPS8v2 already includes a LoRaWAN server (TTN Stack v3). Enable this server in Web UI. 82 - 83 -* b) Input End Nodes keys in LPS8v2 LoRaWAN server. 84 - 85 -* c) Configure LPS8v2, End Node and LoRaWAN server frequency plan. 86 - 87 -* d) Configure local LoRaWAN server to forward data to external Application Server. 88 - 89 -[[image:image-20220626095429-4.png||height="523" width="864"]] 90 - 91 - 92 -= 5. Case 4: Standard LoRaWAN connection~-~- use Gateway built-in LoRaWAN server and IoT server = 93 - 94 - 95 -(% style="color:blue" %)**Application Scenario**: 96 - 97 -* No cloud IoT Server or LoRaWAN server 98 - 99 -* Not willing to use public LoRaWAN server nor built own LoRaWAN server. 100 - 101 -(% style="color:blue" %)**Suitable Gateway:** 102 - 103 -* LoRaWAN Gateway model: [[LPS8v2>>doc:Main.User Manual for All Gateway models.HP0C.WebHome]]. 104 - 105 -(% style="color:blue" %)**How it works:** 106 - 107 -* a) LPS8v2 already includes a LoRaWAN server (TTN Stack v3). Enable this server in Web UI. 108 - 109 -* b) Input End Nodes keys in LPS8v2 LoRaWAN server. 110 - 111 -* c) Configure LPS8v2, End Node and LoRaWAN server frequency plan. 112 - 113 -* d) Configure IoT server (Node-Red) in LPS8v2 114 - 115 -[[image:image-20220626100457-6.png||height="513" width="824"]] 116 - 117 - 118 -= 6. Case 5: Standard LoRaWAN connection~-~- without LoRaWAN server, use ABP LoRaWAN End node = 119 - 120 - 121 -(% style="color:red" %)**Recommend using Case3 as a replacement.** 122 - 123 - 124 -(% style="color:blue" %)**Below gateways support this mode:** 125 - 126 -* LoRaWAN Gateway model: [[DLOS8N>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/225-dlos8n.html]], [[LPS8N>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/200-lps8n.html]], [[LG308N>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/229-lg308n.html]] 127 - 128 -(% style="color:blue" %)**How it works:** 129 - 130 130 * a) LoRaWAN End Nodes runs ABP mode 131 - 132 132 * b) No LoRaWAN server involved. 133 - 134 134 * c) Gateway stores keys from node and decode end nodes' data locally 135 - 136 136 * d) Gateway sends end node data to Application Server. 137 137 138 -Reference In struction: [[Communication with ABP End Node>>Communicate with ABP End Node without LoRaWAN Network Server --- LG308]]72 +Reference Intruction: [[Communication with ABP End Node>>doc:Main.Communicate with ABP End Node without LoRaWAN Network Server --- LG308.WebHome]] 139 139 140 - 141 141 [[image:image-20220527151531-3.png]] 142 142 143 143 LoRaWAN connection without LoRaWAN server 144 144 145 145 146 -= 7. Case6: None standard LoRaWAN connection~-~- without LoRaWAN server, none standard LoRaWAN protocol, no security =79 += 5. Case 4: None standard LoRaWAN connection~-~- without LoRaWAN server, none standard LoRaWAN protocol, no security = 147 147 148 - 149 149 This method is to encryption part from LoRaWAN protocol and make the server side simple. 150 150 151 151 [[image:image-20220527151609-4.png]] ... ... @@ -152,33 +152,25 @@ 152 152 153 153 Unencrypt Network modified from LoRaWAN 154 154 87 +Detail see: [[How to send none encryption LoRaWAN Packet>>doc:Main.How to send none encryption LoRaWAN Packet.WebHome]] 155 155 156 -Detail see: [[How to send none encryption LoRaWAN Packet>>How to send none encryption LoRaWAN Packet]] 157 157 90 += 6. Case 5:Private LoRa connection~-~- without LoRaWAN server, use Raw LoRa protocol = 158 158 92 +Below gateways support this mode: 159 159 160 -= 8. Case 7: Private LoRa connection~-~- without LoRaWAN server, use Raw LoRa protocol = 161 - 162 - 163 -(% style="color:blue" %)**Below gateways support this mode:** 164 - 165 165 * 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]] 166 166 167 - (% style="color:blue" %)**How it works:**96 +How it works: 168 168 169 169 * a) LoRa End Node send Raw LoRa packet base on pre-define format 170 - 171 171 * b) No LoRaWAN server involved. 172 - 173 173 * c) Gateway parse the packet and get sensor ID and data. 174 - 175 175 * d) Gateway sends these data to Application Server. 176 176 177 -Reference Intruction: [[MQTT Forward Instruction>>MQTT Forward Instruction]] 103 +Reference Intruction: [[MQTT Forward Instruction>>doc:Main.MQTT Forward Instruction.WebHome]] 178 178 179 179 180 180 [[image:image-20220527152437-5.png]] 181 181 182 182 Raw LoRa uplink 183 - 184 -
- image-20220626094549-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -170.4 KB - Content
- image-20220626094652-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -170.4 KB - Content
- image-20220626095227-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -170.4 KB - Content
- image-20220626095429-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -170.2 KB - Content
- image-20220626100318-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -175.6 KB - Content
- image-20220626100457-6.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -175.6 KB - Content