Last modified by Xiaoling on 2022/09/02 18:11

From version 1.4
edited by Xiaoling
on 2022/05/31 13:51
Change comment: There is no comment for this version
To version 1.2
edited by Xiaoling
on 2022/05/31 13:50
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,8 +1,5 @@
1 -{{toc/}}
1 +
2 2  
3 -
4 -
5 -
6 6  = 1. What is MQTT API? =
7 7  
8 8  {{{MQTT is a publish/subscribe model that runs over TCP/IP sockets or WebSockets. MQTT over WebSockets can be secured with SSL.
... ... @@ -74,7 +74,7 @@
74 74  * [[ThingSpeak>>url:https://thingspeak.com/]]
75 75  
76 76  
77 -== 4.4 Configure IoT Server ==
74 +== Configure IoT Server ==
78 78  
79 79  * Need this keys:
80 80  
... ... @@ -89,7 +89,7 @@
89 89  )))
90 90  
91 91  
92 -== 4.5 Configure LG01 settings ==
89 +== Configure LG01 settings ==
93 93  
94 94  Tips:Please confirm that your LG01 version is 4.3.3.
95 95  
... ... @@ -118,9 +118,9 @@
118 118  Configure network access.Network->Internet Access
119 119  
120 120  
121 -== 4.6 Try MQTT API call with LG01 Linux command ==
118 +== Try MQTT API call with LG01 Linux command ==
122 122  
123 -=== 4.6.1 Input the command at the console ===
120 +=== Input the command at the console ===
124 124  
125 125  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]](((
126 126  Open this Application.
... ... @@ -151,7 +151,7 @@
151 151  }}}
152 152  
153 153  
154 -=== 4.6.2 Input the command at the console(LG01 new version:4.3.4) ===
151 +=== Input the command at the console(LG01 new version:4.3.4) ===
155 155  
156 156  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]](((
157 157  Open this Application.
... ... @@ -166,7 +166,7 @@
166 166  Check the result.
167 167  )))
168 168  
169 -== 4.7 Updata data to Server(Through MQTT) ==
166 +== Updata data to Server(Through MQTT) ==
170 170  
171 171  * This version of Sketch implements these features:
172 172  
... ... @@ -196,9 +196,9 @@
196 196  [[~[~[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]]
197 197  )))
198 198  
199 -= 5. FAQ =
196 += FAQ =
200 200  
201 -== 5.1 Configure to support general mqtt server ==
198 +== Configure to support general mqtt server ==
202 202  
203 203  First, try to run **mosquitto_pub** in Linux console to send a data to MQTT server.
204 204  
... ... @@ -239,7 +239,7 @@
239 239  MQTT Logread example
240 240  
241 241  
242 -== 5.2 What is Watchdog feature? ==
239 +== What is Watchdog feature? ==
243 243  
244 244  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.
245 245