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