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, 0 added, 5 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,38 +1,23 @@ 1 - **Contents:**1 +Contents: 2 2 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 10 11 -((( 12 12 There are different network topology. Please check the suitable one for you. 13 13 14 - 15 -))) 16 - 17 17 = 2. Case 1: Standard LoRaWAN connection~-~- LoRaWAN server is a public server = 18 18 19 -[[image:image -20220527151200-1.png]]12 +[[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 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 -))) 26 26 27 -((( 28 - 29 -))) 30 - 31 -((( 32 32 Reference Link: 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]]20 +* 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,21 +39,17 @@ 39 39 40 40 = 3. Case 2: Standard LoRaWAN connection~-~- LoRaWAN server is a private server = 41 41 42 -[[image:image -20220527151408-2.png]]27 +[[image:https://wiki.dragino.com/images/thumb/a/af/Process_data_2.png/600px-Process_data_2.png||height="388" width="600"]] 43 43 44 44 LoRaWAN connection 45 45 46 -((( 47 47 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: 48 -))) 49 49 50 50 * [[ChirpStack>>url:https://www.chirpstack.io/]] 51 51 * [[TTN Stack V3>>url:https://www.thethingsnetwork.org/tech-stack#section1]] 52 52 * [[lorawan-server by Petr Gotthard>>url:https://github.com/gotthardp/lorawan-server]] 53 53 54 -((( 55 -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 -))) 37 +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. . 57 57 58 58 59 59 = 4. Case 3: Standard LoRaWAN connection~-~- without LoRaWAN server, use ABP LoRaWAN End node = ... ... @@ -62,6 +62,7 @@ 62 62 63 63 * 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]] 64 64 46 + 65 65 How it works: 66 66 67 67 * a) LoRaWAN End Nodes runs ABP mode ... ... @@ -69,9 +69,9 @@ 69 69 * c) Gateway stores keys from node and decode end nodes' data locally 70 70 * d) Gateway sends end node data to Application Server. 71 71 72 -Reference Intruction: [[Communication with ABP End Node>>Communicat ewithwithout LoRaWAN Network Server --- LG308]]54 +Reference Intruction: [[Communication with ABP End Node>>url:https://wiki.dragino.com/index.php/Communication_with_ABP_End_Node]] 73 73 74 -[[image:image -20220527151531-3.png]]56 +[[image:https://wiki.dragino.com/images/thumb/9/9e/Process_data_3.png/600px-Process_data_3.png||height="478" width="600"]] 75 75 76 76 LoRaWAN connection without LoRaWAN server 77 77 ... ... @@ -80,19 +80,20 @@ 80 80 81 81 This method is to encryption part from LoRaWAN protocol and make the server side simple. 82 82 83 -[[image:image -20220527151609-4.png]]65 +[[image:https://wiki.dragino.com/images/thumb/3/36/Unencrypt_Network_3.png/600px-Unencrypt_Network_3.png||height="476" width="600"]] 84 84 85 85 Unencrypt Network modified from LoRaWAN 86 86 87 -Detail see: [[How to send none encryption LoRaWAN Packet>>How 69 +Detail see: [[How to send none encryption LoRaWAN Packet>>url:https://wiki.dragino.com/index.php/How_to_send_none_encryption_LoRaWAN_Packet]] 88 88 89 89 90 -= 6. Case 5: 72 += 6. Case 5:Private LoRa connection~-~- without LoRaWAN server, use Raw LoRa protocol = 91 91 92 92 Below gateways support this mode: 93 93 94 94 * 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]] 95 95 78 + 96 96 How it works: 97 97 98 98 * a) LoRa End Node send Raw LoRa packet base on pre-define format ... ... @@ -100,9 +100,9 @@ 100 100 * c) Gateway parse the packet and get sensor ID and data. 101 101 * d) Gateway sends these data to Application Server. 102 102 103 -Reference Intruction: [[MQTT Forward Instruction>>MQTT 86 +Reference Intruction: [[MQTT Forward Instruction>>url:https://wiki.dragino.com/index.php/MQTT_Forward_Instruction]] 104 104 105 105 106 -[[image:image -20220527152437-5.png]]89 +[[image:https://wiki.dragino.com/images/thumb/2/2a/MQTT_Forward_2.png/600px-MQTT_Forward_2.png||height="355" width="600"]] 107 107 108 108 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