<
From version < 51.2 >
edited by Xiaoling
on 2022/09/12 14:57
To version < 51.3 >
edited by Xiaoling
on 2022/09/12 15:01
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -217,42 +217,48 @@
217 217  
218 218  This feature is supported since firmware version v110
219 219  
220 -* **AT+PRO=3   ** ~/~/Set to use MQTT protocol to uplink
221 -* **AT+SERVADDR=120.24.4.116,1883   ** ~/~/Set MQTT server address and port
222 -* **AT+CLIENT=CLIENT       ** ~/~/Set up the CLIENT of MQTT
223 -* **AT+UNAME=UNAME                               **~/~/Set the username of MQTT
224 -* **AT+PWD=PWD                                        **~/~/Set the password of MQTT
225 -* **AT+PUBTOPIC=NSE01_PUB                    **~/~/Set the sending topic of MQTT
226 -* **AT+SUBTOPIC=NSE01_SUB          ** ~/~/Set the subscription topic of MQTT
220 +* **(% style="color:blue" %)AT+PRO=3   ** (%%) ~/~/Set to use MQTT protocol to uplink
221 +* **(% style="color:blue" %)AT+SERVADDR=120.24.4.116,1883   ** (%%) ~/~/Set MQTT server address and port
222 +* **(% style="color:blue" %)AT+CLIENT=CLIENT       ** (%%) ~/~/Set up the CLIENT of MQTT
223 +* **(% style="color:blue" %)AT+UNAME=UNAME                               ** (%%)~/~/Set the username of MQTT
224 +* **(% style="color:blue" %)AT+PWD=PWD                                        ** (%%)~/~/Set the password of MQTT
225 +* **(% style="color:blue" %)AT+PUBTOPIC=NSE01_PUB                    **(%%) ~/~/Set the sending topic of MQTT
226 +* **(% style="color:blue" %)AT+SUBTOPIC=NSE01_SUB          ** (%%) ~/~/Set the subscription topic of MQTT
227 227  
228 -(% style="text-align:center" %)
228 +
229 229  [[image:image-20220907153739-11.png||height="491" width="764"]]
230 230  
231 -(% style="text-align:center" %)
231 +
232 232  [[image:image-20220907153751-12.png||height="555" width="769"]]
233 233  
234 234  MQTT protocol has a much higher power consumption compare vs UDP / CoAP protocol. Please check the power analyze document and adjust the uplink period to a suitable interval.
235 235  
236 +
237 +
238 +
236 236  === 2.2.7 Use TCP protocol to uplink data ===
237 237  
238 238  This feature is supported since firmware version v110
239 239  
240 -* **AT+PRO=4   ** ~/~/ Set to use TCP protocol to uplink
241 -* **AT+SERVADDR=120.24.4.116,5600   ** ~/~/ to set TCP server address and port
243 +* **(% style="color:blue" %)AT+PRO=4   ** (%%) ~/~/ Set to use TCP protocol to uplink
244 +* **(% style="color:blue" %)AT+SERVADDR=120.24.4.116,5600   ** (%%) ~/~/ to set TCP server address and port
242 242  
243 -(% style="text-align:center" %)
246 +
244 244  [[image:image-20220907153818-13.png||height="486" width="668"]]
245 245  
246 -(% style="text-align:center" %)
249 +
247 247  [[image:image-20220907153827-14.png||height="236" width="684"]]
248 248  
252 +
253 +
254 +
249 249  === 2.2.8 Change Update Interval ===
250 250  
251 251  Users can use the below command to change the **uplink interval**.
252 252  
253 -* **AT+TDC=7200      ** ~/~/ Set Update Interval to 7200s (2 hour)
259 +* **(% style="color:blue" %)AT+TDC=7200      ** (%%) ~/~/ Set Update Interval to 7200s (2 hour)
254 254  
255 -**NOTE: By default, the device will send an uplink message every 2 hours. Each Uplink Include 8 set of records in this 2 hour (15 minute interval / record).**
261 +**(% style="color:red" %)NOTE: By default, the device will send an uplink message every 2 hours. Each Uplink Include 8 set of records in this 2 hour (15 minute interval / record).**
256 256  
257 257  
258 258  == 2.3  Uplink Payload ==
... ... @@ -292,7 +292,7 @@
292 292  
293 293  By default, the Device ID equal to the last 15 bits of IMEI.
294 294  
295 -User can use **AT+DEUI** to set Device ID
301 +User can use **(% style="color:blue" %)AT+DEUI** (%%)to set Device ID
296 296  
297 297  **Example:**
298 298  
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0