<
From version < 49.1 >
edited by Kilight Cao
on 2022/07/29 11:38
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
... ... @@ -22,6 +22,8 @@
22 22  * LIG16
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 +
26 +
25 25  = 2.  Firmware Change Log for MQTT feature =
26 26  
27 27  
... ... @@ -32,6 +32,8 @@
32 32  * LG02_LG08-5.3.1580178039
33 33  ** Initiate version
34 34  
37 +
38 +
35 35  = 3.  MQTT forward operating principle =
36 36  
37 37  
... ... @@ -43,6 +43,7 @@
43 43  * **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.
44 44  * **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.
45 45  
50 +
46 46  [[image:image-20220527133547-1.png]]
47 47  
48 48  General MQTT structure
... ... @@ -118,6 +118,8 @@
118 118  * USERNAME: User ID (-u)
119 119  * HOSTNAME: Device Hostname
120 120  
126 +
127 +
121 121  === 3.3.2  -m message macro ===
122 122  
123 123  
... ... @@ -127,6 +127,8 @@
127 127  * META: Completely sensor data with time stamp and rssi
128 128  * JSON: Convert META to json format.
129 129  
137 +
138 +
130 130  === 3.3.3  Example for Macro ===
131 131  
132 132  
... ... @@ -595,7 +595,7 @@
595 595  
596 596  (% class="box infomessage" %)
597 597  (((
598 -**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"**
599 599  )))
600 600  
601 601  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