<
From version < 47.1 >
edited by Xiaoling
on 2022/07/14 16:22
To version < 50.1
edited by Xiaoling
on 2022/09/02 18:11
Change comment: Renamed back-links.

Summary

Details

Page properties
Content
... ... @@ -9,6 +9,7 @@
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 +
12 12  == 1.1  Support Devices ==
13 13  
14 14  
... ... @@ -15,7 +15,7 @@
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/]]
18 -* LG01N, OLG01N ((% style="color:red" %)**Warning**(%%): LG01-P LG01-S use another instruction: [[MQTT for LG01-P/LG01S>>doc:Through MQTT to upload data.WebHome]])
19 +* LG01N, OLG01N ((% style="color:red" %)**Warning**(%%): LG01-P LG01-S use another instruction: [[MQTT for LG01-P/LG01S>>doc:Main.Through MQTT to upload data.WebHome]])
19 19  * LG02, OLG02
20 20  * LG308, DLOS8
21 21  * LPS8
... ... @@ -60,6 +60,7 @@
60 60  In this MQTT forward feature, the key point is how the gateway process the sensor data.
61 61  
62 62  
64 +
63 63  === 3.2.1  Upstream ===
64 64  
65 65  
... ... @@ -85,6 +85,8 @@
85 85  
86 86  (((
87 87  
90 +
91 +
88 88  )))
89 89  
90 90  === 3.2.2  Downstream ===
... ... @@ -94,6 +94,8 @@
94 94  
95 95  (((
96 96  Below are the data flow for downstream.
101 +
102 +
97 97  )))
98 98  
99 99  [[image:image-20220527134038-3.png]]
... ... @@ -299,6 +299,7 @@
299 299  This section is an example to show how to set up LG01-N to communicate with a MQTT server. The MQTT server is a simple utility set up in a local PC. Note: User can set up same server via [[this instruction>>url:http://www.steves-internet-guide.com/install-mosquitto-broker/]].
300 300  
301 301  
308 +
302 302  == 4.2  Simulate via MQTT.fx utility ==
303 303  
304 304  
... ... @@ -471,6 +471,7 @@
471 471  In above section, we have configured the UI to support MQTT upstream and downstream. We can simulate via Linux command. In this section, we will guide how to communicate with remote LoRa End Node for upstream and downstream.
472 472  
473 473  
481 +
474 474  === 4.5.1  Use LoRa Raw protocol for communication ~-~- For LG01/LG02 ===
475 475  
476 476  
... ... @@ -496,6 +496,7 @@
496 496  * Downstream: Listening broadcast message from gateway, and print it in console.
497 497  * The LoRa parameter settings in Arduino should match the LoRa settings in gateway, as below:
498 498  
507 +
499 499  [[image:image-20220527140354-18.png]]
500 500  
501 501  LoRa Parameter should match
... ... @@ -604,7 +604,7 @@
604 604  
605 605  (% class="box infomessage" %)
606 606  (((
607 -**mosquitto_pub -h 10.130.2.192 -p 1883 -t dragino-1d25dc/ -m "260211D,time,txt,hello,20,1,SF12,923300000,2 > /var/iot/push/test"**
616 +**mosquitto_pub -h 10.130.2.192 -p 1883 -t dragino-1d25dc/ -m "260211D,time,txt,hello,20,1,SF12,923300000,2"**
608 608  )))
609 609  
610 610  Or use [[MQTT.fx>>https://mqttfx.jensd.de/index.php/download]]
... ... @@ -625,6 +625,7 @@
625 625  User can login the gateway's console and run (% style="color:#4f81bd" %)**logread -f**(%%). It will shows the output when there is packet arrive.User can see if it is correct.
626 626  
627 627  
637 +
628 628  = 6.  How to ask for Support =
629 629  
630 630  
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0