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)
-
Attachments (0 modified, 2 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,6 +11,7 @@ 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 ... ... @@ -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 41 + 42 + 39 39 = 3. Case 2: Standard LoRaWAN connection~-~- LoRaWAN server is a private server = 40 40 45 + 41 41 [[image:image-20220527151408-2.png]] 42 42 43 43 LoRaWAN connection ... ... @@ -55,31 +55,84 @@ 55 55 ))) 56 56 57 57 58 -= 4. Case 3: Standard LoRaWAN connection~-~- without LoRaWAN server, use ABP LoRaWAN End node = 59 59 64 += 4. Case 3: Standard LoRaWAN connection~-~- use Gateway built-in LoRaWAN server to connect to external IoT server = 60 60 61 -= 5. Case 4: Standard LoRaWAN connection~-~- without LoRaWAN server, use ABP LoRaWAN End node = 62 62 63 - Below gatewayssupportthis mode:67 +(% style="color:blue" %)**Application Scenario**: 64 64 69 +* There is already IoT server but no LoRaWAN server. 70 +* Not willing to use public LoRaWAN server nor built own LoRaWAN server. 71 + 72 +(% style="color:blue" %)**Suitable Gateway:** 73 + 74 +* LoRaWAN Gateway model: [[LPS8v2>>doc:Main.User Manual for All Gateway models.HP0C.WebHome]]. 75 + 76 +(% style="color:blue" %)**How it works:** 77 + 78 +* a) LPS8v2 already includes a LoRaWAN server (TTN Stack v3). Enable this server in Web UI. 79 +* b) Input End Nodes keys in LPS8v2 LoRaWAN server. 80 +* c) Configure LPS8v2, End Node and LoRaWAN server frequency plan. 81 +* d) Configure local LoRaWAN server to forward data to external Application Server. 82 + 83 +[[image:image-20220626095429-4.png||height="523" width="864"]] 84 + 85 + 86 + 87 += 5. Case 4: Standard LoRaWAN connection~-~- use Gateway built-in LoRaWAN server and IoT server = 88 + 89 + 90 +(% style="color:blue" %)**Application Scenario**: 91 + 92 +* No cloud IoT Server or LoRaWAN server 93 +* Not willing to use public LoRaWAN server nor built own LoRaWAN server. 94 + 95 +(% style="color:blue" %)**Suitable Gateway:** 96 + 97 +* LoRaWAN Gateway model: [[LPS8v2>>doc:Main.User Manual for All Gateway models.HP0C.WebHome]]. 98 + 99 +(% style="color:blue" %)**How it works:** 100 + 101 +* a) LPS8v2 already includes a LoRaWAN server (TTN Stack v3). Enable this server in Web UI. 102 +* b) Input End Nodes keys in LPS8v2 LoRaWAN server. 103 +* c) Configure LPS8v2, End Node and LoRaWAN server frequency plan. 104 +* d) Configure IoT server (Node-Red) in LPS8v2 105 + 106 +[[image:image-20220626100457-6.png||height="513" width="824"]] 107 + 108 + 109 + 110 += 6. Case 5: Standard LoRaWAN connection~-~- without LoRaWAN server, use ABP LoRaWAN End node = 111 + 112 + 113 +(% style="color:red" %)**Recommend using Case3 as a replacement.** 114 + 115 + 116 +(% style="color:blue" %)**Below gateways support this mode:** 117 + 65 65 * 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]] 66 66 67 -How it works: 68 68 121 +(% style="color:blue" %)**How it works:** 122 + 69 69 * a) LoRaWAN End Nodes runs ABP mode 70 70 * b) No LoRaWAN server involved. 71 71 * c) Gateway stores keys from node and decode end nodes' data locally 72 72 * d) Gateway sends end node data to Application Server. 73 73 74 -Reference Intruction: [[Communication with ABP End Node>>Communicate with ABP End Node without LoRaWAN Network Server --- LG308]] 75 75 129 +Reference Instruction: [[Communication with ABP End Node>>Communicate with ABP End Node without LoRaWAN Network Server --- LG308]] 130 + 131 + 76 76 [[image:image-20220527151531-3.png]] 77 77 78 78 LoRaWAN connection without LoRaWAN server 79 79 80 80 81 -= 6. Case 5: None standard LoRaWAN connection~-~- without LoRaWAN server, none standard LoRaWAN protocol, no security = 82 82 138 += 7. Case 6: None standard LoRaWAN connection~-~- without LoRaWAN server, none standard LoRaWAN protocol, no security = 139 + 140 + 83 83 This method is to encryption part from LoRaWAN protocol and make the server side simple. 84 84 85 85 [[image:image-20220527151609-4.png]] ... ... @@ -86,22 +86,27 @@ 86 86 87 87 Unencrypt Network modified from LoRaWAN 88 88 147 + 89 89 Detail see: [[How to send none encryption LoRaWAN Packet>>How to send none encryption LoRaWAN Packet]] 90 90 91 91 92 -= 7. Case 6: Private LoRa connection~-~- without LoRaWAN server, use Raw LoRa protocol = 93 93 94 - Belowgatewayssupport thismode:152 += 8. Case 7: Private LoRa connection~-~- without LoRaWAN server, use Raw LoRa protocol = 95 95 154 + 155 +(% style="color:blue" %)**Below gateways support this mode:** 156 + 96 96 * 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]] 97 97 98 -How it works: 99 99 160 +(% style="color:blue" %)**How it works:** 161 + 100 100 * a) LoRa End Node send Raw LoRa packet base on pre-define format 101 101 * b) No LoRaWAN server involved. 102 102 * c) Gateway parse the packet and get sensor ID and data. 103 103 * d) Gateway sends these data to Application Server. 104 104 167 + 105 105 Reference Intruction: [[MQTT Forward Instruction>>MQTT Forward Instruction]] 106 106 107 107 ... ... @@ -108,3 +108,5 @@ 108 108 [[image:image-20220527152437-5.png]] 109 109 110 110 Raw LoRa uplink 174 + 175 +
- image-20220626100318-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +175.6 KB - Content
- image-20220626100457-6.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +175.6 KB - Content