Changes for page How to further process data receive in gateway
Last modified by Edwin Chen on 2023/05/22 15:24
<
edited by Edwin Chen
on 2023/05/22 15:24
on 2023/05/22 15:24
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Xiaoling1 +XWiki.Edwin - Content
-
... ... @@ -1,6 +1,7 @@ 1 -* 2 -** Table of** **Contents: 1 + 3 3 3 +**Table of Contents:** 4 + 4 4 {{toc/}} 5 5 6 6 ... ... @@ -7,39 +7,39 @@ 7 7 8 8 = 1. Introduction = 9 9 11 + 10 10 This instruction explains how to process the LoRa/LoRaWAN data receive on LoRa/LoRaWAN gateway. 11 11 12 12 ((( 13 13 There are different network topology. Please check the suitable one for you. 14 14 15 - 16 16 17 17 ))) 18 18 19 19 = 2. Case 1: Standard LoRaWAN connection~-~- LoRaWAN server is a public server = 20 20 22 + 21 21 [[image:image-20220527151200-1.png]] 22 22 23 -LoRaWAN connection 25 +**LoRaWAN connection** 24 24 27 + 25 25 ((( 26 26 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. 27 27 ))) 28 28 29 -((( 30 - 31 -))) 32 32 33 33 ((( 34 -Reference Link: 34 +**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 -* Examples free public LoRaWAN server is: [[The Things Network>>url:https://www.thethingsnetwork.org/]]. 39 -* TTN provides the [[integration instruction>>url:https://www.thethingsnetwork.org/docs/applications/integrations.html]] for how to connect to Application servers. 40 40 39 +* Examples free public LoRaWAN server is: [[The Things Network>>url:https://www.thethingsnetwork.org/]]. Example for IoT Server is : [[DataCake>>https://datacake.co/]] 41 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 43 + 43 43 = 3. Case 2: Standard LoRaWAN connection~-~- LoRaWAN server is a private server = 44 44 45 45 ... ... @@ -52,7 +52,9 @@ 52 52 ))) 53 53 54 54 * [[ChirpStack>>url:https://www.chirpstack.io/]] 56 + 55 55 * [[TTN Stack V3>>url:https://www.thethingsnetwork.org/tech-stack#section1]] 58 + 56 56 * [[lorawan-server by Petr Gotthard>>url:https://github.com/gotthardp/lorawan-server]] 57 57 58 58 ((( ... ... @@ -60,7 +60,6 @@ 60 60 ))) 61 61 62 62 63 - 64 64 = 4. Case 3: Standard LoRaWAN connection~-~- use Gateway built-in LoRaWAN server to connect to external IoT server = 65 65 66 66 ... ... @@ -67,23 +67,28 @@ 67 67 (% style="color:blue" %)**Application Scenario**: 68 68 69 69 * There is already IoT server but no LoRaWAN server. 72 + 70 70 * Not willing to use public LoRaWAN server nor built own LoRaWAN server. 71 71 75 + 72 72 (% style="color:blue" %)**Suitable Gateway:** 73 73 74 74 * LoRaWAN Gateway model: [[LPS8v2>>doc:Main.User Manual for All Gateway models.HP0C.WebHome]]. 75 75 80 + 76 76 (% style="color:blue" %)**How it works:** 77 77 78 78 * a) LPS8v2 already includes a LoRaWAN server (TTN Stack v3). Enable this server in Web UI. 84 + 79 79 * b) Input End Nodes keys in LPS8v2 LoRaWAN server. 86 + 80 80 * c) Configure LPS8v2, End Node and LoRaWAN server frequency plan. 88 + 81 81 * d) Configure local LoRaWAN server to forward data to external Application Server. 82 82 83 83 [[image:image-20220626095429-4.png||height="523" width="864"]] 84 84 85 85 86 - 87 87 = 5. Case 4: Standard LoRaWAN connection~-~- use Gateway built-in LoRaWAN server and IoT server = 88 88 89 89 ... ... @@ -90,23 +90,28 @@ 90 90 (% style="color:blue" %)**Application Scenario**: 91 91 92 92 * No cloud IoT Server or LoRaWAN server 100 + 93 93 * Not willing to use public LoRaWAN server nor built own LoRaWAN server. 94 94 103 + 95 95 (% style="color:blue" %)**Suitable Gateway:** 96 96 97 97 * LoRaWAN Gateway model: [[LPS8v2>>doc:Main.User Manual for All Gateway models.HP0C.WebHome]]. 98 98 108 + 99 99 (% style="color:blue" %)**How it works:** 100 100 101 101 * a) LPS8v2 already includes a LoRaWAN server (TTN Stack v3). Enable this server in Web UI. 112 + 102 102 * b) Input End Nodes keys in LPS8v2 LoRaWAN server. 114 + 103 103 * c) Configure LPS8v2, End Node and LoRaWAN server frequency plan. 116 + 104 104 * d) Configure IoT server (Node-Red) in LPS8v2 105 105 106 106 [[image:image-20220626100457-6.png||height="513" width="824"]] 107 107 108 108 109 - 110 110 = 6. Case 5: Standard LoRaWAN connection~-~- without LoRaWAN server, use ABP LoRaWAN End node = 111 111 112 112 ... ... @@ -121,11 +121,13 @@ 121 121 (% style="color:blue" %)**How it works:** 122 122 123 123 * a) LoRaWAN End Nodes runs ABP mode 136 + 124 124 * b) No LoRaWAN server involved. 138 + 125 125 * c) Gateway stores keys from node and decode end nodes' data locally 140 + 126 126 * d) Gateway sends end node data to Application Server. 127 127 128 - 129 129 Reference Instruction: [[Communication with ABP End Node>>Communicate with ABP End Node without LoRaWAN Network Server --- LG308]] 130 130 131 131 ... ... @@ -134,7 +134,6 @@ 134 134 LoRaWAN connection without LoRaWAN server 135 135 136 136 137 - 138 138 = 7. Case 6: None standard LoRaWAN connection~-~- without LoRaWAN server, none standard LoRaWAN protocol, no security = 139 139 140 140 ... ... @@ -160,11 +160,13 @@ 160 160 (% style="color:blue" %)**How it works:** 161 161 162 162 * a) LoRa End Node send Raw LoRa packet base on pre-define format 176 + 163 163 * b) No LoRaWAN server involved. 178 + 164 164 * c) Gateway parse the packet and get sensor ID and data. 180 + 165 165 * d) Gateway sends these data to Application Server. 166 166 167 - 168 168 Reference Intruction: [[MQTT Forward Instruction>>MQTT Forward Instruction]] 169 169 170 170