<
From version < 48.1 >
edited by Kilight Cao
on 2022/07/28 17:55
To version < 47.1 >
edited by Xiaoling
on 2022/07/14 16:22
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Kilight
1 +XWiki.Xiaoling
Content
... ... @@ -23,6 +23,7 @@
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  
26 +
26 26  = 2.  Firmware Change Log for MQTT feature =
27 27  
28 28  
... ... @@ -34,6 +34,7 @@
34 34  ** Initiate version
35 35  
36 36  
38 +
37 37  = 3.  MQTT forward operating principle =
38 38  
39 39  
... ... @@ -45,6 +45,7 @@
45 45  * **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.
46 46  * **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.
47 47  
50 +
48 48  [[image:image-20220527133547-1.png]]
49 49  
50 50  General MQTT structure
... ... @@ -121,6 +121,7 @@
121 121  * HOSTNAME: Device Hostname
122 122  
123 123  
127 +
124 124  === 3.3.2  -m message macro ===
125 125  
126 126  
... ... @@ -131,6 +131,7 @@
131 131  * JSON: Convert META to json format.
132 132  
133 133  
138 +
134 134  === 3.3.3  Example for Macro ===
135 135  
136 136  
... ... @@ -599,7 +599,7 @@
599 599  
600 600  (% class="box infomessage" %)
601 601  (((
602 -**mosquitto_pub -h 10.130.2.192 -p 1883 -t dragino-1d25dc/ -m "260211D,time,txt,hello,20,1,SF12,923300000,2"**
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"**
603 603  )))
604 604  
605 605  Or use [[MQTT.fx>>https://mqttfx.jensd.de/index.php/download]]
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0