Changes for page How to further process data receive in gateway
Last modified by Edwin Chen on 2023/05/22 15:24
edited by Edwin Chen
on 2022/06/26 08:26
on 2022/06/26 08:26
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 5 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Xiaoling1 +XWiki.Edwin - Content
-
... ... @@ -1,32 +1,110 @@ 1 -{{box cssClass="floatinginfobox" title="**Contents**"}} 1 + **Contents:** 2 + 2 2 {{toc/}} 3 -{{/box}} 4 4 5 -= Paragraph 1 = 6 6 7 -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. 8 8 9 -= =Sub-paragraph==7 += 1. Introduction = 10 10 11 - Loremipsumdolor sit amet, consecteturadipiscing elit, sed do eiusmodtempor incididunt utlabore et dolore magna aliqua. Ut enim ad minim veniam, quisnostrudexercitationullamco laboris nisi ut aliquipex ea commodoconsequat. Duisaute irure dolor in reprehenderitin voluptate velit esse cillum doloreeu fugiatnullapariatur. Excepteur sint occaecatcupidatat nonproident, sunt in culpaquiofficiadeserunt mollitanim id estlaborum.9 +This instruction explains how to process the LoRa/LoRaWAN data receive on LoRa/LoRaWAN gateway. 12 12 13 -== Sub-paragraph == 11 +((( 12 +There are different network topology. Please check the suitable one for you. 14 14 15 -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. 14 + 15 +))) 16 16 17 -= ==Sub-subparagraph===17 += 2. Case 1: Standard LoRaWAN connection~-~- LoRaWAN server is a public server = 18 18 19 - Loremipsumdolor sitamet, consectetur adipiscinglit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Utenim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.19 +[[image:image-20220527151200-1.png]] 20 20 21 +LoRaWAN connection 21 21 22 -= Paragraph 2 = 23 +((( 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 +))) 23 23 24 -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. 27 +((( 28 + 29 +))) 25 25 26 -== Sub-paragraph == 31 +((( 32 +Reference Link: 33 +))) 27 27 28 -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. 35 +* 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]] 36 +* Examples free public LoRaWAN server is: [[The Things Network>>url:https://www.thethingsnetwork.org/]]. 37 +* TTN provides the [[integration instruction>>url:https://www.thethingsnetwork.org/docs/applications/integrations.html]] for how to connect to Application servers. 29 29 30 -= =Sub-paragraph==39 += 3. Case 2: Standard LoRaWAN connection~-~- LoRaWAN server is a private server = 31 31 32 -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. 41 +[[image:image-20220527151408-2.png]] 42 + 43 +LoRaWAN connection 44 + 45 +((( 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 + 49 +* [[ChirpStack>>url:https://www.chirpstack.io/]] 50 +* [[TTN Stack V3>>url:https://www.thethingsnetwork.org/tech-stack#section1]] 51 +* [[lorawan-server by Petr Gotthard>>url:https://github.com/gotthardp/lorawan-server]] 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 +))) 56 + 57 + 58 += 4. Case 3: Standard LoRaWAN connection~-~- without LoRaWAN server, use ABP LoRaWAN End node = 59 + 60 + 61 += 5. Case 4: Standard LoRaWAN connection~-~- without LoRaWAN server, use ABP LoRaWAN End node = 62 + 63 +Below gateways support this mode: 64 + 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 + 67 +How it works: 68 + 69 +* a) LoRaWAN End Nodes runs ABP mode 70 +* b) No LoRaWAN server involved. 71 +* c) Gateway stores keys from node and decode end nodes' data locally 72 +* d) Gateway sends end node data to Application Server. 73 + 74 +Reference Intruction: [[Communication with ABP End Node>>Communicate with ABP End Node without LoRaWAN Network Server --- LG308]] 75 + 76 +[[image:image-20220527151531-3.png]] 77 + 78 +LoRaWAN connection without LoRaWAN server 79 + 80 + 81 += 6. Case 5: None standard LoRaWAN connection~-~- without LoRaWAN server, none standard LoRaWAN protocol, no security = 82 + 83 +This method is to encryption part from LoRaWAN protocol and make the server side simple. 84 + 85 +[[image:image-20220527151609-4.png]] 86 + 87 +Unencrypt Network modified from LoRaWAN 88 + 89 +Detail see: [[How to send none encryption LoRaWAN Packet>>How to send none encryption LoRaWAN Packet]] 90 + 91 + 92 += 7. Case 6: Private LoRa connection~-~- without LoRaWAN server, use Raw LoRa protocol = 93 + 94 +Below gateways support this mode: 95 + 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 + 98 +How it works: 99 + 100 +* a) LoRa End Node send Raw LoRa packet base on pre-define format 101 +* b) No LoRaWAN server involved. 102 +* c) Gateway parse the packet and get sensor ID and data. 103 +* d) Gateway sends these data to Application Server. 104 + 105 +Reference Intruction: [[MQTT Forward Instruction>>MQTT Forward Instruction]] 106 + 107 + 108 +[[image:image-20220527152437-5.png]] 109 + 110 +Raw LoRa uplink
- 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