<
From version < 44.4 >
edited by Xiaoling
on 2022/07/14 15:43
To version < 44.1 >
edited by Kilight Cao
on 2022/06/13 19:35
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +XWiki.Kilight
Content
... ... @@ -1,17 +1,15 @@
1 -**~ Table of Contents:**
1 +**~ Contents:**
2 2  
3 3  {{toc/}}
4 4  
5 5  
6 -= 1.  Introduction =
6 += 1. Introduction =
7 7  
8 -
9 9  Dragino LoRa/LoRaWAN gateway support MQTT forwarding. It can forward the sensor data from LoRa network to MQTT server , and vice verse.
10 10  
11 11  
12 -== 1.1  Support Devices ==
11 +== 1.1 Support Devices ==
13 13  
14 -
15 15  This MQTT forward instruction is for below devices:
16 16  
17 17  * Firmware Version > LG02_LG08-5.3.1580178039 [[Firmware Download>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8/Firmware/Release/]]
... ... @@ -23,11 +23,8 @@
23 23  * MS14 series if installed with the same firmware. (in this case, the MQTT forward will work , but no LoRa support)
24 24  
25 25  
24 += 2. Firmware Change Log for MQTT feature =
26 26  
27 -
28 -= 2.  Firmware Change Log for MQTT feature =
29 -
30 -
31 31  (((
32 32  This instruction is wrote start from LG02_LG08-5.3.1580178039. Below is related change log since this version of firmware.
33 33  )))
... ... @@ -36,18 +36,14 @@
36 36  ** Initiate version
37 37  
38 38  
34 += 3. MQTT forward operating principle =
39 39  
36 +== 3.1 Network Structure ==
40 40  
41 -= 3.  MQTT forward operating principle =
42 -
43 -
44 -== 3.1  Network Structure ==
45 -
46 -
47 47  Below shows the network structure for MQTT forwarding.
48 48  
49 -* **For Uplink:**  The sensor sends data to LoRa Gateway via LoRa wireless, The gateway will process these data and forward to remote MQTT Broker via Internet.
50 -* **For Downlink:** The gateway subscribe a topic in the MQTT broker, when there is update on the topic, the gateway will know and broadcast the data to Local LoRa network,
40 +* For Uplink: The sensor sends data to LoRa Gateway via LoRa wireless, The gateway will process these data and forward to remote MQTT Broker via Internet.
41 +* For Downlink: The gateway subscribe a topic in the MQTT broker, when there is update on the topic, the gateway will know and broadcast the data to Local LoRa network,
51 51  
52 52  [[image:image-20220527133547-1.png]]
53 53  
... ... @@ -112,6 +112,7 @@
112 112  * USERNAME: User ID (-u)
113 113  * HOSTNAME: Device Hostname
114 114  
106 +
115 115  === 3.3.2 -m message macro ===
116 116  
117 117  * HOSTNAME: Device Hostname
... ... @@ -120,6 +120,7 @@
120 120  * META: Completely sensor data with time stamp and rssi
121 121  * JSON: Convert META to json format.
122 122  
115 +
123 123  === 3.3.3 Example for Macro ===
124 124  
125 125  [[image:image-20220527134251-4.png]]
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0