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)
-
Attachments (0 modified, 11 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,4 +1,5 @@ 1 - **Contents:** 1 +* 2 +** Table of** **Contents: 2 2 3 3 {{toc/}} 4 4 ... ... @@ -10,11 +10,14 @@ 10 10 11 11 ((( 12 12 There are different network topology. Please check the suitable one for you. 14 + 15 + 16 + 13 13 ))) 14 14 15 15 = 2. Case 1: Standard LoRaWAN connection~-~- LoRaWAN server is a public server = 16 16 17 -[[image: https://wiki.dragino.com/images/thumb/9/95/Process_data_1.png/600px-Process_data_1.png||height="391" width="600"]]21 +[[image:image-20220527151200-1.png]] 18 18 19 19 LoRaWAN connection 20 20 ... ... @@ -30,14 +30,17 @@ 30 30 Reference Link: 31 31 ))) 32 32 33 -* Gateway set up instruction to LoRaWAN server. [[Gateway User Manual>> url:http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LG308-LG301/&file=LG308_LoRaWAN_Gateway_User_Manual_v1.1.3.pdf]]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]] 34 34 * Examples free public LoRaWAN server is: [[The Things Network>>url:https://www.thethingsnetwork.org/]]. 35 35 * TTN provides the [[integration instruction>>url:https://www.thethingsnetwork.org/docs/applications/integrations.html]] for how to connect to Application servers. 36 36 41 + 42 + 37 37 = 3. Case 2: Standard LoRaWAN connection~-~- LoRaWAN server is a private server = 38 38 39 -[[image:https://wiki.dragino.com/images/thumb/a/af/Process_data_2.png/600px-Process_data_2.png||height="388" width="600"]] 40 40 46 +[[image:image-20220527151408-2.png]] 47 + 41 41 LoRaWAN connection 42 42 43 43 ((( ... ... @@ -53,53 +53,116 @@ 53 53 ))) 54 54 55 55 56 -= 4. Case 3: Standard LoRaWAN connection~-~- without LoRaWAN server, use ABP LoRaWAN End node = 57 57 58 - Belowgatewayssupport thismode:64 += 4. Case 3: Standard LoRaWAN connection~-~- use Gateway built-in LoRaWAN server to connect to external IoT server = 59 59 66 + 67 +(% style="color:blue" %)**Application Scenario**: 68 + 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 + 60 60 * 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]] 61 61 62 -How it works: 63 63 121 +(% style="color:blue" %)**How it works:** 122 + 64 64 * a) LoRaWAN End Nodes runs ABP mode 65 65 * b) No LoRaWAN server involved. 66 66 * c) Gateway stores keys from node and decode end nodes' data locally 67 67 * d) Gateway sends end node data to Application Server. 68 68 69 -Reference Intruction: [[Communication with ABP End Node>>http://8.211.40.43:8080/xwiki/bin/view/Main/Communicate%20with%20ABP%20End%20Node%20without%20LoRaWAN%20Network%20Server%20---%20LG308/]] 70 70 71 - [[image:https://wiki.dragino.com/images/thumb/9/9e/Process_data_3.png/600px-Process_data_3.png||height="478"width="600"]]129 +Reference Instruction: [[Communication with ABP End Node>>Communicate with ABP End Node without LoRaWAN Network Server --- LG308]] 72 72 131 + 132 +[[image:image-20220527151531-3.png]] 133 + 73 73 LoRaWAN connection without LoRaWAN server 74 74 75 75 76 -= 5. Case 4: None standard LoRaWAN connection~-~- without LoRaWAN server, none standard LoRaWAN protocol, no security = 77 77 138 += 7. Case 6: None standard LoRaWAN connection~-~- without LoRaWAN server, none standard LoRaWAN protocol, no security = 139 + 140 + 78 78 This method is to encryption part from LoRaWAN protocol and make the server side simple. 79 79 80 -[[image: https://wiki.dragino.com/images/thumb/3/36/Unencrypt_Network_3.png/600px-Unencrypt_Network_3.png||height="476" width="600"]]143 +[[image:image-20220527151609-4.png]] 81 81 82 82 Unencrypt Network modified from LoRaWAN 83 83 84 -Detail see: [[How to send none encryption LoRaWAN Packet>>url:https://wiki.dragino.com/index.php/How_to_send_none_encryption_LoRaWAN_Packet]] 85 85 148 +Detail see: [[How to send none encryption LoRaWAN Packet>>How to send none encryption LoRaWAN Packet]] 86 86 87 -= 6. Case 5:Private LoRa connection~-~- without LoRaWAN server, use Raw LoRa protocol = 88 88 89 -Below gateways support this mode: 90 90 152 += 8. Case 7: Private LoRa connection~-~- without LoRaWAN server, use Raw LoRa protocol = 153 + 154 + 155 +(% style="color:blue" %)**Below gateways support this mode:** 156 + 91 91 * 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]] 92 92 93 -How it works: 94 94 160 +(% style="color:blue" %)**How it works:** 161 + 95 95 * a) LoRa End Node send Raw LoRa packet base on pre-define format 96 96 * b) No LoRaWAN server involved. 97 97 * c) Gateway parse the packet and get sensor ID and data. 98 98 * d) Gateway sends these data to Application Server. 99 99 100 -Reference Intruction: [[MQTT Forward Instruction>>http://8.211.40.43:8080/xwiki/bin/view/Main/MQTT%20Forward%20Instruction/]] 101 101 168 +Reference Intruction: [[MQTT Forward Instruction>>MQTT Forward Instruction]] 102 102 103 -[[image:https://wiki.dragino.com/images/thumb/2/2a/MQTT_Forward_2.png/600px-MQTT_Forward_2.png||height="355" width="600"]] 104 104 171 +[[image:image-20220527152437-5.png]] 172 + 105 105 Raw LoRa uplink 174 + 175 +
- image-20220527151200-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +163.5 KB - Content
- image-20220527151408-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +176.8 KB - Content
- image-20220527151531-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +168.7 KB - Content
- image-20220527151609-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +166.7 KB - Content
- image-20220527152437-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +115.8 KB - Content
- image-20220626094549-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +170.4 KB - Content
- image-20220626094652-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +170.4 KB - Content
- image-20220626095227-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +170.4 KB - Content
- image-20220626095429-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +170.2 KB - Content
- 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