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

Summary

Details

Page properties
Content
... ... @@ -217,48 +217,42 @@
217 217  
218 218  This feature is supported since firmware version v110
219 219  
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
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
227 227  
228 -
228 +(% style="text-align:center" %)
229 229  [[image:image-20220907153739-11.png||height="491" width="764"]]
230 230  
231 -
231 +(% style="text-align:center" %)
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 -
239 239  === 2.2.7 Use TCP protocol to uplink data ===
240 240  
241 241  This feature is supported since firmware version v110
242 242  
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
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
245 245  
246 -
243 +(% style="text-align:center" %)
247 247  [[image:image-20220907153818-13.png||height="486" width="668"]]
248 248  
249 -
246 +(% style="text-align:center" %)
250 250  [[image:image-20220907153827-14.png||height="236" width="684"]]
251 251  
252 -
253 -
254 -
255 255  === 2.2.8 Change Update Interval ===
256 256  
257 257  Users can use the below command to change the **uplink interval**.
258 258  
259 -* **(% style="color:blue" %)AT+TDC=7200      ** (%%) ~/~/ Set Update Interval to 7200s (2 hour)
253 +* **AT+TDC=7200      ** ~/~/ Set Update Interval to 7200s (2 hour)
260 260  
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).**
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).**
262 262  
263 263  
264 264  == 2.3  Uplink Payload ==
... ... @@ -298,7 +298,7 @@
298 298  
299 299  By default, the Device ID equal to the last 15 bits of IMEI.
300 300  
301 -User can use **(% style="color:blue" %)AT+DEUI** (%%)to set Device ID
295 +User can use **AT+DEUI** to set Device ID
302 302  
303 303  **Example:**
304 304  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0