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)
-
Attachments (0 modified, 4 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -105,36 +105,36 @@ 105 105 106 106 [[image:image-20220531140248-11.png]] 107 107 108 -Overview 108 +**Overview** 109 109 110 110 111 111 112 112 [[image:image-20220531140425-14.png]] 113 113 114 -Senosor->IOT Server 114 +**Senosor->IOT Server** 115 115 116 116 117 117 [[image:image-20220531140458-15.png]] 118 118 119 -MQTT->Configure MQTT Server 119 +**MQTT->Configure MQTT Server** 120 120 121 121 122 122 123 123 [[image:image-20220531140538-16.png]] 124 124 125 -MQTT->MQTT Channel 125 +**MQTT->MQTT Channel** 126 126 127 127 128 128 129 129 [[image:image-20220531140611-17.png]] 130 130 131 -Sensor->LoRa/LoraWAN 131 +**Sensor->LoRa/LoraWAN** 132 132 133 133 134 134 135 -[[ ~[~[image:https://wiki.dragino.com/images/thumb/6/61/MQTT_LG01_Configure_5.png/400px-MQTT_LG01_Configure_5.png~|~|height="230" width="400"~]~]>>url:https://wiki.dragino.com/index.php/File:MQTT_LG01_Configure_5.png]]135 +[[image:image-20220531140651-18.png]] 136 136 137 -Configure network access.Network->Internet Access 137 +Configure network access.**Network->Internet Access** 138 138 139 139 140 140 == 4.6 Try MQTT API call with LG01 Linux command == ... ... @@ -141,14 +141,20 @@ 141 141 142 142 === 4.6.1 Input the command at the console === 143 143 144 -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]](((144 +1. [[image:image-20220531140811-19.png]]((( 145 145 Open this Application. 146 + 147 + 146 146 ))) 147 -1. [[ ~[~[image:https://wiki.dragino.com/images/thumb/d/d7/3_2.png/400px-3_2.png~|~|height="230" width="400"~]~]>>url:https://wiki.dragino.com/index.php/File:3_2.png]](((149 +1. [[image:image-20220531140842-20.png]]((( 148 148 Input passward(dragino).After into the console. 151 + 152 + 149 149 ))) 150 -1. [[ ~[~[image:https://wiki.dragino.com/images/thumb/5/5d/3_5.png/400px-3_5.png~|~|height="310" width="400"~]~]>>url:https://wiki.dragino.com/index.php/File:3_5.png]](((154 +1. [[image:image-20220531140915-21.png]]((( 151 151 First, we need to make sure the LG01 has internet access. We can log in the SSH and ping an Internet address and see if it get through. As below 156 + 157 + 152 152 ))) 153 153 1. [[~[~[image:https://wiki.dragino.com/images/thumb/6/63/3_3.png/400px-3_3.png~|~|height="213" width="400"~]~]>>url:https://wiki.dragino.com/index.php/File:3_3.png]]((( 154 154 LG01 has built-in Linux tool mosquitto. It is a very powerful tool for http communication. We can use this tool to handle MQTT API call in LG01. Input this command and replace your keys.
- image-20220531140651-18.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +35.0 KB - Content
- image-20220531140811-19.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +14.5 KB - Content
- image-20220531140842-20.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +21.4 KB - Content
- image-20220531140915-21.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +29.9 KB - Content