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, 0 added, 9 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Edwin1 +XWiki.Xiaoling - Content
-
... ... @@ -1,9 +1,7 @@ 1 - **Contents:**1 + Contents: 2 2 3 3 {{toc/}} 4 4 5 - 6 - 7 7 = 1. Introduction = 8 8 9 9 This instruction explains how to process the LoRa/LoRaWAN data receive on LoRa/LoRaWAN gateway. ... ... @@ -10,13 +10,11 @@ 10 10 11 11 ((( 12 12 There are different network topology. Please check the suitable one for you. 13 - 14 - 15 15 ))) 16 16 17 17 = 2. Case 1: Standard LoRaWAN connection~-~- LoRaWAN server is a public server = 18 18 19 -[[image:image -20220527151200-1.png]]15 +[[image:https://wiki.dragino.com/images/thumb/9/95/Process_data_1.png/600px-Process_data_1.png||height="391" width="600"]] 20 20 21 21 LoRaWAN connection 22 22 ... ... @@ -32,57 +32,27 @@ 32 32 Reference Link: 33 33 ))) 34 34 35 -* Gateway set up instruction to LoRaWAN server. [[Gateway User Manual>>http s://www.dragino.com/downloads/downloads/LoRa_Gateway/LG308-LG301/LG308_LoRaWAN_Gateway_User_Manual_v1.4.2.pdf]]31 +* 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]] 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 39 39 = 3. Case 2: Standard LoRaWAN connection~-~- LoRaWAN server is a private server = 40 40 41 -[[image:image -20220527151408-2.png]]37 +[[image:https://wiki.dragino.com/images/thumb/a/af/Process_data_2.png/600px-Process_data_2.png||height="388" width="600"]] 42 42 43 43 LoRaWAN connection 44 44 45 -((( 46 46 Basically, this is the same network topology as above, except users build the LoRaWAN server themselves. Below are two open source LoRaWAN servers commonly used: 47 -))) 48 48 49 49 * [[ChirpStack>>url:https://www.chirpstack.io/]] 50 50 * [[TTN Stack V3>>url:https://www.thethingsnetwork.org/tech-stack#section1]] 51 51 * [[lorawan-server by Petr Gotthard>>url:https://github.com/gotthardp/lorawan-server]] 52 52 53 -((( 54 -Please note LoRaWAN server is for managing device and store sensor data, you still need to link the LoRaWAN server to an application server for your IoT solution to better analize the data and show to final clients. 55 -))) 47 +Please note LoRaWAN server is for managing device and store sensor data, you still need to link the LoRaWAN server to an application server for your IoT solution to better analize the data and show to final clients. . 56 56 57 57 58 -= 4. Case 3: Standard LoRaWAN connection~-~- use Gateway built-inLoRaWAN serverto connecttoexternalIoT server=50 += 4. Case 3: Standard LoRaWAN connection~-~- without LoRaWAN server, use ABP LoRaWAN End node = 59 59 60 -**Application Scenario**: 61 - 62 -* There is already IoT server but no LoRaWAN server. 63 -* Not willing to use public LoRaWAN server nor built own LoRaWAN server. 64 -* 65 - 66 - 67 -**Suitable Gateway:** 68 - 69 -* LoRaWAN Gateway model: LPS8v2. 70 - 71 - 72 -**How it works:** 73 - 74 -* a) LPS8v2 already includes a LoRaWAN server (TTN Stack v3). Enable this server in Web UI. 75 -* b) Input End Nodes keys in LPS8v2 LoRaWAN server. 76 -* c) Configure LPS8v2, End Node and LoRaWAN server frequency plan. 77 -* d) Configure local LoRaWAN server to forward data to external Application Server. 78 - 79 -[[image:image-20220626095429-4.png||height="523" width="864"]] 80 - 81 - 82 - 83 - 84 -= 5. Case 4: Standard LoRaWAN connection~-~- without LoRaWAN server, use ABP LoRaWAN End node = 85 - 86 86 Below gateways support this mode: 87 87 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]] ... ... @@ -94,25 +94,25 @@ 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>>Communicat ewithwithout LoRaWAN Network Server --- LG308]]63 +Reference Intruction: [[Communication with ABP End Node>>url:https://wiki.dragino.com/index.php/Communication_with_ABP_End_Node]] 98 98 99 -[[image:image -20220527151531-3.png]]65 +[[image:https://wiki.dragino.com/images/thumb/9/9e/Process_data_3.png/600px-Process_data_3.png||height="478" width="600"]] 100 100 101 101 LoRaWAN connection without LoRaWAN server 102 102 103 103 104 -= 6. Case5: None standard LoRaWAN connection~-~- without LoRaWAN server, none standard LoRaWAN protocol, no security =70 += 5. Case 4: None standard LoRaWAN connection~-~- without LoRaWAN server, none standard LoRaWAN protocol, no security = 105 105 106 106 This method is to encryption part from LoRaWAN protocol and make the server side simple. 107 107 108 -[[image:image -20220527151609-4.png]]74 +[[image:https://wiki.dragino.com/images/thumb/3/36/Unencrypt_Network_3.png/600px-Unencrypt_Network_3.png||height="476" width="600"]] 109 109 110 110 Unencrypt Network modified from LoRaWAN 111 111 112 -Detail see: [[How to send none encryption LoRaWAN Packet>>How 78 +Detail see: [[How to send none encryption LoRaWAN Packet>>url:https://wiki.dragino.com/index.php/How_to_send_none_encryption_LoRaWAN_Packet]] 113 113 114 114 115 -= 7. Case6:81 += 6. Case 5:Private LoRa connection~-~- without LoRaWAN server, use Raw LoRa protocol = 116 116 117 117 Below gateways support this mode: 118 118 ... ... @@ -125,9 +125,9 @@ 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 128 -Reference Intruction: [[MQTT Forward Instruction>>MQTT 94 +Reference Intruction: [[MQTT Forward Instruction>>url:https://wiki.dragino.com/index.php/MQTT_Forward_Instruction]] 129 129 130 130 131 -[[image:image -20220527152437-5.png]]97 +[[image:https://wiki.dragino.com/images/thumb/2/2a/MQTT_Forward_2.png/600px-MQTT_Forward_2.png||height="355" width="600"]] 132 132 133 133 Raw LoRa uplink
- image-20220527151200-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -163.5 KB - Content
- image-20220527151408-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -176.8 KB - Content
- image-20220527151531-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -168.7 KB - Content
- image-20220527151609-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -166.7 KB - Content
- image-20220527152437-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -115.8 KB - Content
- image-20220626094549-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -170.4 KB - Content
- image-20220626094652-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -170.4 KB - Content
- image-20220626095227-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -170.4 KB - Content
- image-20220626095429-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -170.2 KB - Content