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. Edwin1 +XWiki.Xiaoling - Content
-
... ... @@ -1,4 +1,5 @@ 1 - **Contents:** 1 +* 2 +** Table of** **Contents: 2 2 3 3 {{toc/}} 4 4 ... ... @@ -11,15 +11,18 @@ 11 11 ((( 12 12 There are different network topology. Please check the suitable one for you. 13 13 15 + 14 14 15 15 ))) 16 16 17 17 = 2. Case 1: Standard LoRaWAN connection~-~- LoRaWAN server is a public server = 18 18 21 + 19 19 [[image:image-20220527151200-1.png]] 20 20 21 21 LoRaWAN connection 22 22 26 + 23 23 ((( 24 24 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. 25 25 ))) ... ... @@ -36,8 +36,11 @@ 36 36 * Examples free public LoRaWAN server is: [[The Things Network>>url:https://www.thethingsnetwork.org/]]. 37 37 * TTN provides the [[integration instruction>>url:https://www.thethingsnetwork.org/docs/applications/integrations.html]] for how to connect to Application servers. 38 38 43 + 44 + 39 39 = 3. Case 2: Standard LoRaWAN connection~-~- LoRaWAN server is a private server = 40 40 47 + 41 41 [[image:image-20220527151408-2.png]] 42 42 43 43 LoRaWAN connection ... ... @@ -55,19 +55,20 @@ 55 55 ))) 56 56 57 57 65 + 58 58 = 4. Case 3: Standard LoRaWAN connection~-~- use Gateway built-in LoRaWAN server to connect to external IoT server = 59 59 60 -**Application Scenario**: 61 61 69 +(% style="color:blue" %)**Application Scenario**: 70 + 62 62 * There is already IoT server but no LoRaWAN server. 63 63 * Not willing to use public LoRaWAN server nor built own LoRaWAN server. 64 -* 65 65 66 -**Suitable Gateway:** 74 +(% style="color:blue" %)**Suitable Gateway:** 67 67 68 -* LoRaWAN Gateway model: LPS8v2. 76 +* LoRaWAN Gateway model: [[LPS8v2>>doc:Main.User Manual for All Gateway models.HP0C.WebHome]]. 69 69 70 -**How it works:** 78 +(% style="color:blue" %)**How it works:** 71 71 72 72 * a) LPS8v2 already includes a LoRaWAN server (TTN Stack v3). Enable this server in Web UI. 73 73 * b) Input End Nodes keys in LPS8v2 LoRaWAN server. ... ... @@ -78,31 +78,60 @@ 78 78 79 79 80 80 89 += 5. Case 4: Standard LoRaWAN connection~-~- use Gateway built-in LoRaWAN server and IoT server = 81 81 82 -= 5. Case 4: Standard LoRaWAN connection~-~- without LoRaWAN server, use ABP LoRaWAN End node = 83 83 84 - Recommand toseCase3 as replacement.92 +(% style="color:blue" %)**Application Scenario**: 85 85 86 -Below gateways support this mode: 94 +* No cloud IoT Server or LoRaWAN server 95 +* Not willing to use public LoRaWAN server nor built own LoRaWAN server. 87 87 97 +(% style="color:blue" %)**Suitable Gateway:** 98 + 99 +* LoRaWAN Gateway model: [[LPS8v2>>doc:Main.User Manual for All Gateway models.HP0C.WebHome]]. 100 + 101 +(% style="color:blue" %)**How it works:** 102 + 103 +* a) LPS8v2 already includes a LoRaWAN server (TTN Stack v3). Enable this server in Web UI. 104 +* b) Input End Nodes keys in LPS8v2 LoRaWAN server. 105 +* c) Configure LPS8v2, End Node and LoRaWAN server frequency plan. 106 +* d) Configure IoT server (Node-Red) in LPS8v2 107 + 108 +[[image:image-20220626100457-6.png||height="513" width="824"]] 109 + 110 + 111 + 112 += 6. Case 5: Standard LoRaWAN connection~-~- without LoRaWAN server, use ABP LoRaWAN End node = 113 + 114 + 115 +(% style="color:red" %)**Recommend using Case3 as a replacement.** 116 + 117 + 118 +(% style="color:blue" %)**Below gateways support this mode:** 119 + 88 88 * 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]] 89 89 90 -How it works: 91 91 123 +(% style="color:blue" %)**How it works:** 124 + 92 92 * a) LoRaWAN End Nodes runs ABP mode 93 93 * b) No LoRaWAN server involved. 94 94 * c) Gateway stores keys from node and decode end nodes' data locally 95 95 * d) Gateway sends end node data to Application Server. 96 96 97 -Reference Intruction: [[Communication with ABP End Node>>Communicate with ABP End Node without LoRaWAN Network Server --- LG308]] 98 98 131 +Reference Instruction: [[Communication with ABP End Node>>Communicate with ABP End Node without LoRaWAN Network Server --- LG308]] 132 + 133 + 99 99 [[image:image-20220527151531-3.png]] 100 100 101 101 LoRaWAN connection without LoRaWAN server 102 102 103 103 104 -= 6. Case 5: None standard LoRaWAN connection~-~- without LoRaWAN server, none standard LoRaWAN protocol, no security = 105 105 140 += 7. Case 6: None standard LoRaWAN connection~-~- without LoRaWAN server, none standard LoRaWAN protocol, no security = 141 + 142 + 106 106 This method is to encryption part from LoRaWAN protocol and make the server side simple. 107 107 108 108 [[image:image-20220527151609-4.png]] ... ... @@ -109,22 +109,27 @@ 109 109 110 110 Unencrypt Network modified from LoRaWAN 111 111 149 + 112 112 Detail see: [[How to send none encryption LoRaWAN Packet>>How to send none encryption LoRaWAN Packet]] 113 113 114 114 115 -= 7. Case 6: Private LoRa connection~-~- without LoRaWAN server, use Raw LoRa protocol = 116 116 117 - Belowgatewayssupport thismode:154 += 8. Case 7: Private LoRa connection~-~- without LoRaWAN server, use Raw LoRa protocol = 118 118 156 + 157 +(% style="color:blue" %)**Below gateways support this mode:** 158 + 119 119 * 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]] 120 120 121 -How it works: 122 122 162 +(% style="color:blue" %)**How it works:** 163 + 123 123 * a) LoRa End Node send Raw LoRa packet base on pre-define format 124 124 * b) No LoRaWAN server involved. 125 125 * c) Gateway parse the packet and get sensor ID and data. 126 126 * d) Gateway sends these data to Application Server. 127 127 169 + 128 128 Reference Intruction: [[MQTT Forward Instruction>>MQTT Forward Instruction]] 129 129 130 130 ... ... @@ -131,3 +131,5 @@ 131 131 [[image:image-20220527152437-5.png]] 132 132 133 133 Raw LoRa uplink 176 + 177 +