Changes for page How to further process data receive in gateway
Last modified by Edwin Chen 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,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,32 +19,28 @@ 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 39 * Examples free public LoRaWAN server is: [[The Things Network>>url:https://www.thethingsnetwork.org/]]. 40 - 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 - 44 - 45 45 = 3. Case 2: Standard LoRaWAN connection~-~- LoRaWAN server is a private server = 46 46 47 - 48 48 [[image:image-20220527151408-2.png]] 49 49 50 50 LoRaWAN connection ... ... @@ -54,9 +54,7 @@ 54 54 ))) 55 55 56 56 * [[ChirpStack>>url:https://www.chirpstack.io/]] 57 - 58 58 * [[TTN Stack V3>>url:https://www.thethingsnetwork.org/tech-stack#section1]] 59 - 60 60 * [[lorawan-server by Petr Gotthard>>url:https://github.com/gotthardp/lorawan-server]] 61 61 62 62 ((( ... ... @@ -66,89 +66,67 @@ 66 66 67 67 = 4. Case 3: Standard LoRaWAN connection~-~- use Gateway built-in LoRaWAN server to connect to external IoT server = 68 68 60 +**Application Scenario**: 69 69 70 -(% style="color:blue" %)**Application Scenario**: 71 - 72 72 * There is already IoT server but no LoRaWAN server. 73 - 74 74 * Not willing to use public LoRaWAN server nor built own LoRaWAN server. 64 +* 75 75 66 +**Suitable Gateway:** 76 76 77 - 78 -(% style="color:blue" %)**Suitable Gateway:** 79 - 80 80 * LoRaWAN Gateway model: [[LPS8v2>>doc:Main.User Manual for All Gateway models.HP0C.WebHome]]. 81 81 70 +**How it works:** 82 82 83 - 84 -(% style="color:blue" %)**How it works:** 85 - 86 86 * a) LPS8v2 already includes a LoRaWAN server (TTN Stack v3). Enable this server in Web UI. 87 - 88 88 * b) Input End Nodes keys in LPS8v2 LoRaWAN server. 89 - 90 90 * c) Configure LPS8v2, End Node and LoRaWAN server frequency plan. 91 - 92 92 * d) Configure local LoRaWAN server to forward data to external Application Server. 93 93 94 94 [[image:image-20220626095429-4.png||height="523" width="864"]] 95 95 96 96 80 + 97 97 = 5. Case 4: Standard LoRaWAN connection~-~- use Gateway built-in LoRaWAN server and IoT server = 98 98 83 +**Application Scenario**: 99 99 100 -(% style="color:blue" %)**Application Scenario**: 101 - 102 102 * No cloud IoT Server or LoRaWAN server 103 - 104 104 * Not willing to use public LoRaWAN server nor built own LoRaWAN server. 87 +* 105 105 89 +**Suitable Gateway:** 106 106 107 - 108 -(% style="color:blue" %)**Suitable Gateway:** 109 - 110 110 * LoRaWAN Gateway model: [[LPS8v2>>doc:Main.User Manual for All Gateway models.HP0C.WebHome]]. 111 111 93 +**How it works:** 112 112 113 - 114 -(% style="color:blue" %)**How it works:** 115 - 116 116 * a) LPS8v2 already includes a LoRaWAN server (TTN Stack v3). Enable this server in Web UI. 117 - 118 118 * b) Input End Nodes keys in LPS8v2 LoRaWAN server. 119 - 120 120 * c) Configure LPS8v2, End Node and LoRaWAN server frequency plan. 121 - 122 122 * d) Configure IoT server (Node-Red) in LPS8v2 123 123 124 124 [[image:image-20220626100457-6.png||height="513" width="824"]] 125 125 126 126 103 + 127 127 = 6. Case 5: Standard LoRaWAN connection~-~- without LoRaWAN server, use ABP LoRaWAN End node = 128 128 106 +Recommend using Case3 as a replacement. 129 129 130 - (% style="color:red"%)**Recommend usingCase3asa replacement.**108 +Below gateways support this mode: 131 131 132 - 133 -(% style="color:blue" %)**Below gateways support this mode:** 134 - 135 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 136 112 +How it works: 137 137 138 - 139 -(% style="color:blue" %)**How it works:** 140 - 141 141 * a) LoRaWAN End Nodes runs ABP mode 142 - 143 143 * b) No LoRaWAN server involved. 144 - 145 145 * c) Gateway stores keys from node and decode end nodes' data locally 146 - 147 147 * d) Gateway sends end node data to Application Server. 148 148 149 149 Reference Instruction: [[Communication with ABP End Node>>Communicate with ABP End Node without LoRaWAN Network Server --- LG308]] 150 150 151 - 152 152 [[image:image-20220527151531-3.png]] 153 153 154 154 LoRaWAN connection without LoRaWAN server ... ... @@ -156,7 +156,6 @@ 156 156 157 157 = 7. Case 6: None standard LoRaWAN connection~-~- without LoRaWAN server, none standard LoRaWAN protocol, no security = 158 158 159 - 160 160 This method is to encryption part from LoRaWAN protocol and make the server side simple. 161 161 162 162 [[image:image-20220527151609-4.png]] ... ... @@ -163,28 +163,20 @@ 163 163 164 164 Unencrypt Network modified from LoRaWAN 165 165 166 - 167 167 Detail see: [[How to send none encryption LoRaWAN Packet>>How to send none encryption LoRaWAN Packet]] 168 168 169 169 170 - 171 171 = 8. Case 7: Private LoRa connection~-~- without LoRaWAN server, use Raw LoRa protocol = 172 172 139 +Below gateways support this mode: 173 173 174 -(% style="color:blue" %)**Below gateways support this mode:** 175 - 176 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 177 143 +How it works: 178 178 179 - 180 -(% style="color:blue" %)**How it works:** 181 - 182 182 * a) LoRa End Node send Raw LoRa packet base on pre-define format 183 - 184 184 * b) No LoRaWAN server involved. 185 - 186 186 * c) Gateway parse the packet and get sensor ID and data. 187 - 188 188 * d) Gateway sends these data to Application Server. 189 189 190 190 Reference Intruction: [[MQTT Forward Instruction>>MQTT Forward Instruction]] ... ... @@ -193,5 +193,3 @@ 193 193 [[image:image-20220527152437-5.png]] 194 194 195 195 Raw LoRa uplink 196 - 197 -