Changes for page MQTT Forward Instruction
Last modified by Kilight Cao on 2024/08/31 16:26
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Kilight1 +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]]