Changes for page Through MQTT to upload data
Last modified by Xiaoling on 2022/09/02 18:11
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,13 +1,12 @@ 1 - {{toc/}}1 + 2 2 3 - 4 - 5 - 6 6 = 1. What is MQTT API? = 7 7 8 -{{{MQTT is a publish/subscribe model that runs over TCP/IP sockets or WebSockets. MQTT over WebSockets can be secured with SSL. }}}5 +{{{MQTT is a publish/subscribe model that runs over TCP/IP sockets or WebSockets. MQTT over WebSockets can be secured with SSL. 9 9 7 +}}} 10 10 9 + 11 11 = 2. MQTT Features = 12 12 13 13 The MQTT protocol runs on TCP / IP or other network protocols and provides an ordered, lossless, bidirectional connection. Features include: ... ... @@ -72,7 +72,7 @@ 72 72 * [[ThingSpeak>>url:https://thingspeak.com/]] 73 73 74 74 75 -== 4.4Configure IoT Server ==74 +== Configure IoT Server == 76 76 77 77 * Need this keys: 78 78 ... ... @@ -87,7 +87,7 @@ 87 87 ))) 88 88 89 89 90 -== 4.5Configure LG01 settings ==89 +== Configure LG01 settings == 91 91 92 92 Tips:Please confirm that your LG01 version is 4.3.3. 93 93 ... ... @@ -116,9 +116,9 @@ 116 116 Configure network access.Network->Internet Access 117 117 118 118 119 -== 4.6Try MQTT API call with LG01 Linux command ==118 +== Try MQTT API call with LG01 Linux command == 120 120 121 -=== 4.6.1Input the command at the console ===120 +=== Input the command at the console === 122 122 123 123 1. [[~[~[image:https://wiki.dragino.com/images/8/84/3_1.png~|~|height="99" width="93"~]~]>>url:https://wiki.dragino.com/index.php/File:3_1.png]]((( 124 124 Open this Application. ... ... @@ -149,7 +149,7 @@ 149 149 }}} 150 150 151 151 152 -=== 4.6.2Input the command at the console(LG01 new version:4.3.4) ===151 +=== Input the command at the console(LG01 new version:4.3.4) === 153 153 154 154 1. [[~[~[image:https://wiki.dragino.com/images/8/84/3_1.png~|~|height="99" width="93"~]~]>>url:https://wiki.dragino.com/index.php/File:3_1.png]]((( 155 155 Open this Application. ... ... @@ -164,7 +164,7 @@ 164 164 Check the result. 165 165 ))) 166 166 167 -== 4.7Updata data to Server(Through MQTT) ==166 +== Updata data to Server(Through MQTT) == 168 168 169 169 * This version of Sketch implements these features: 170 170 ... ... @@ -194,9 +194,9 @@ 194 194 [[~[~[image:https://wiki.dragino.com/images/thumb/7/70/MQTT_result_2.png/400px-MQTT_result_2.png~|~|alt="MQTT result 2.png" height="190" width="400"~]~]>>url:https://wiki.dragino.com/index.php/File:MQTT_result_2.png]] 195 195 ))) 196 196 197 -= 5.FAQ =196 += FAQ = 198 198 199 -== 5.1Configure to support general mqtt server ==198 +== Configure to support general mqtt server == 200 200 201 201 First, try to run **mosquitto_pub** in Linux console to send a data to MQTT server. 202 202 ... ... @@ -237,7 +237,7 @@ 237 237 MQTT Logread example 238 238 239 239 240 -== 5.2What is Watchdog feature? ==239 +== What is Watchdog feature? == 241 241 242 242 LG01 for 4.3.3 version,we have added watchdog feature. In order to avoid the gateway running process will get stuck. So add writing action on every times. 243 243