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
-
... ... @@ -14,7 +14,6 @@ 14 14 ((( 15 15 There are different network topology. Please check the suitable one for you. 16 16 17 - 18 18 19 19 ))) 20 20 ... ... @@ -23,7 +23,7 @@ 23 23 24 24 [[image:image-20220527151200-1.png]] 25 25 26 -LoRaWAN connection 25 +**LoRaWAN connection** 27 27 28 28 29 29 ((( ... ... @@ -30,19 +30,16 @@ 30 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. 31 31 ))) 32 32 33 -((( 34 - 35 -))) 36 36 37 37 ((( 38 -Reference Link: 34 +**Reference Link:** 39 39 ))) 40 40 41 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]] 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. 44 44 39 +* Examples free public LoRaWAN server is: [[The Things Network>>url:https://www.thethingsnetwork.org/]]. Example for IoT Server is : [[DataCake>>https://datacake.co/]] 45 45 41 +* TTN provides the [[integration instruction>>url:https://www.thethingsnetwork.org/docs/applications/integrations.html]] for how to connect to Application servers. 46 46 47 47 48 48 = 3. Case 2: Standard LoRaWAN connection~-~- LoRaWAN server is a private server = ... ... @@ -57,7 +57,9 @@ 57 57 ))) 58 58 59 59 * [[ChirpStack>>url:https://www.chirpstack.io/]] 56 + 60 60 * [[TTN Stack V3>>url:https://www.thethingsnetwork.org/tech-stack#section1]] 58 + 61 61 * [[lorawan-server by Petr Gotthard>>url:https://github.com/gotthardp/lorawan-server]] 62 62 63 63 ((( ... ... @@ -65,7 +65,6 @@ 65 65 ))) 66 66 67 67 68 - 69 69 = 4. Case 3: Standard LoRaWAN connection~-~- use Gateway built-in LoRaWAN server to connect to external IoT server = 70 70 71 71 ... ... @@ -72,29 +72,28 @@ 72 72 (% style="color:blue" %)**Application Scenario**: 73 73 74 74 * There is already IoT server but no LoRaWAN server. 72 + 75 75 * Not willing to use public LoRaWAN server nor built own LoRaWAN server. 76 76 77 77 78 - 79 79 (% style="color:blue" %)**Suitable Gateway:** 80 80 81 81 * LoRaWAN Gateway model: [[LPS8v2>>doc:Main.User Manual for All Gateway models.HP0C.WebHome]]. 82 82 83 83 84 - 85 85 (% style="color:blue" %)**How it works:** 86 86 87 87 * a) LPS8v2 already includes a LoRaWAN server (TTN Stack v3). Enable this server in Web UI. 84 + 88 88 * b) Input End Nodes keys in LPS8v2 LoRaWAN server. 86 + 89 89 * c) Configure LPS8v2, End Node and LoRaWAN server frequency plan. 88 + 90 90 * d) Configure local LoRaWAN server to forward data to external Application Server. 91 91 92 - 93 - 94 94 [[image:image-20220626095429-4.png||height="523" width="864"]] 95 95 96 96 97 - 98 98 = 5. Case 4: Standard LoRaWAN connection~-~- use Gateway built-in LoRaWAN server and IoT server = 99 99 100 100 ... ... @@ -101,29 +101,28 @@ 101 101 (% style="color:blue" %)**Application Scenario**: 102 102 103 103 * No cloud IoT Server or LoRaWAN server 100 + 104 104 * Not willing to use public LoRaWAN server nor built own LoRaWAN server. 105 105 106 106 107 - 108 108 (% style="color:blue" %)**Suitable Gateway:** 109 109 110 110 * LoRaWAN Gateway model: [[LPS8v2>>doc:Main.User Manual for All Gateway models.HP0C.WebHome]]. 111 111 112 112 113 - 114 114 (% style="color:blue" %)**How it works:** 115 115 116 116 * a) LPS8v2 already includes a LoRaWAN server (TTN Stack v3). Enable this server in Web UI. 112 + 117 117 * b) Input End Nodes keys in LPS8v2 LoRaWAN server. 114 + 118 118 * c) Configure LPS8v2, End Node and LoRaWAN server frequency plan. 116 + 119 119 * d) Configure IoT server (Node-Red) in LPS8v2 120 120 121 - 122 - 123 123 [[image:image-20220626100457-6.png||height="513" width="824"]] 124 124 125 125 126 - 127 127 = 6. Case 5: Standard LoRaWAN connection~-~- without LoRaWAN server, use ABP LoRaWAN End node = 128 128 129 129 ... ... @@ -135,16 +135,16 @@ 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 137 137 138 - 139 139 (% style="color:blue" %)**How it works:** 140 140 141 141 * a) LoRaWAN End Nodes runs ABP mode 136 + 142 142 * b) No LoRaWAN server involved. 138 + 143 143 * c) Gateway stores keys from node and decode end nodes' data locally 140 + 144 144 * d) Gateway sends end node data to Application Server. 145 145 146 - 147 - 148 148 Reference Instruction: [[Communication with ABP End Node>>Communicate with ABP End Node without LoRaWAN Network Server --- LG308]] 149 149 150 150 ... ... @@ -153,7 +153,6 @@ 153 153 LoRaWAN connection without LoRaWAN server 154 154 155 155 156 - 157 157 = 7. Case 6: None standard LoRaWAN connection~-~- without LoRaWAN server, none standard LoRaWAN protocol, no security = 158 158 159 159 ... ... @@ -176,12 +176,14 @@ 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 178 178 179 - 180 180 (% style="color:blue" %)**How it works:** 181 181 182 182 * a) LoRa End Node send Raw LoRa packet base on pre-define format 176 + 183 183 * b) No LoRaWAN server involved. 178 + 184 184 * c) Gateway parse the packet and get sensor ID and data. 180 + 185 185 * d) Gateway sends these data to Application Server. 186 186 187 187 Reference Intruction: [[MQTT Forward Instruction>>MQTT Forward Instruction]]