<
From version < 111.1 >
edited by Xiaoling
on 2022/07/09 15:44
To version < 113.2 >
edited by Xiaoling
on 2022/07/09 15:50
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -293,15 +293,16 @@
293 293  * (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5601   ** (%%) ~/~/ to set UDP server address and port
294 294  * (% style="color:blue" %)**AT+CFM=1       ** (%%) ~/~/ If the server does not respond, this command is unnecessary
295 295  
296 -[[image:1657330501006-241.png]]
296 +[[image:1657352391268-297.png]]
297 297  
298 298  
299 -[[image:1657330533775-472.png]]
299 +[[image:1657352403317-397.png]]
300 300  
301 301  
302 302  
303 -=== 2.2.6 Use MQTT protocol to uplink data ===
303 +=== 2.2. Use MQTT protocol to uplink data ===
304 304  
305 +N95S31B supports only plain MQTT now it doesn't support TLS and other related encryption.
305 305  
306 306  * (% style="color:blue" %)**AT+PRO=3   ** (%%) ~/~/Set to use MQTT protocol to uplink
307 307  * (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,1883   ** (%%) ~/~/Set MQTT server address and port
... ... @@ -308,35 +308,40 @@
308 308  * (% style="color:blue" %)**AT+CLIENT=CLIENT       ** (%%)~/~/Set up the CLIENT of MQTT
309 309  * (% style="color:blue" %)**AT+UNAME=UNAME                                **(%%)~/~/Set the username of MQTT
310 310  * (% style="color:blue" %)**AT+PWD=PWD                                         **(%%)~/~/Set the password of MQTT
311 -* (% style="color:blue" %)**AT+PUBTOPIC=NDDS75_PUB                 **(%%)~/~/Set the sending topic of MQTT
312 -* (% style="color:blue" %)**AT+SUBTOPIC=NDDS75_SUB          **(%%) ~/~/Set the subscription topic of MQTT
312 +* (% style="color:blue" %)**AT+PUBTOPIC=f9527  **(%%)~/~/Set the sending topic of MQTT
313 +* (% style="color:blue" %)**AT+SUBTOPIC=Ns9527  **(%%) ~/~/Set the subscription topic of MQTT
313 313  
314 -[[image:1657249978444-674.png]]
315 +[[image:1657352634421-276.png]]
315 315  
316 316  
317 -[[image:1657330723006-866.png]]
318 +[[image:1657352645687-385.png]]
318 318  
320 +(((
321 +To save battery life, N95S31B will establish a subscription before each uplink and close the subscription 3 seconds after uplink successful. Any downlink commands from server will only arrive during the subscription period.
322 +)))
319 319  
324 +
320 320  (((
321 -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.
326 +MQTT protocol has a much high-power consumption compare vs UDP / CoAP protocol. Please check the power analyze document and adjust the uplink period to a suitable interval.
322 322  )))
323 323  
324 324  
325 325  
326 -=== 2.2.7 Use TCP protocol to uplink data ===
331 +=== 2.2. Use TCP protocol to uplink data ===
327 327  
333 +This feature is supported since firmware version v110
328 328  
329 329  * (% style="color:blue" %)**AT+PRO=4   ** (%%) ~/~/ Set to use TCP protocol to uplink
330 330  * (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5600   **(%%) ~/~/ to set TCP server address and port
331 331  
332 -[[image:image-20220709093918-1.png]]
338 +[[image:1657352898400-901.png]]
333 333  
334 334  
335 -[[image:image-20220709093918-2.png]]
341 +[[image:1657352914475-252.png]]
336 336  
337 337  
338 338  
339 -=== 2.2.8 Change Update Interval ===
345 +=== 2.2. Change Update Interval ===
340 340  
341 341  User can use below command to change the (% style="color:green" %)**uplink interval**.
342 342  
... ... @@ -343,15 +343,11 @@
343 343  * (% style="color:blue" %)**AT+TDC=600      ** (%%)~/~/ Set Update Interval to 600s
344 344  
345 345  (((
346 -(% style="color:red" %)**NOTE:**
352 +
347 347  )))
348 348  
349 -(((
350 -(% style="color:red" %)1. By default, the device will send an uplink message every 1 hour.
351 -)))
352 352  
353 353  
354 -
355 355  == 2.3  Uplink Payload ==
356 356  
357 357  In this mode, uplink payload includes in total 14 bytes
1657352898400-901.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +144.8 KB
Content
1657352914475-252.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +157.0 KB
Content
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0