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

Summary

Details

Page properties
Content
... ... @@ -202,11 +202,13 @@
202 202  
203 203  
204 204  This feature is supported since firmware version v1.0.1
205 -(%%)
206 -* **(% style="color:blue" %)AT+PRO=2   ** ~/~/  Set to use UDP protocol to uplink
207 -* **(% style="color:blue" %)AT+SERVADDR=120.24.4.116,5601   ** (%%) ~/~/  to set UDP server address and port
208 -* **(% style="color:blue" %)AT+CFM=1       ** (%%) ~/~/  If the server does not respond, this command is unnecessar
209 209  
206 +* (% style="color:blue" %)**AT+PRO=2   ** (%%) ~/~/  Set to use UDP protocol to uplink
207 +* (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5601   ** (%%) ~/~/  to set UDP server address and port
208 +* (% style="color:blue" %)**AT+CFM=1       ** (%%) ~/~/  If the server does not respond, this command is unnecessar
209 +
210 +
211 +
210 210  [[image:image-20220907153643-9.png||height="401" width="734"]]
211 211  
212 212  
... ... @@ -213,46 +213,58 @@
213 213  [[image:image-20220907153703-10.png||height="309" width="738"]]
214 214  
215 215  
218 +
216 216  === 2.2.6 Use MQTT protocol to uplink data ===
217 217  
221 +
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
224 +* (% style="color:blue" %)**AT+PRO=3   ** (%%) ~/~/ Set to use MQTT protocol to uplink
225 +* (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,1883   ** (%%) ~/~/ Set MQTT server address and port
226 +* (% style="color:blue" %)**AT+CLIENT=CLIENT       ** (%%) ~/~/ Set up the CLIENT of MQTT
227 +* (% style="color:blue" %)**AT+UNAME=UNAME                               **(%%)~/~/ Set the username of MQTT
228 +* (% style="color:blue" %)**AT+PWD=PWD                                        **(%%)~/~/ Set the password of MQTT
229 +* (% style="color:blue" %)**AT+PUBTOPIC=NSE01_PUB                    **(%%)~/~/ Set the sending topic of MQTT
230 +* (% style="color:blue" %)**AT+SUBTOPIC=NSE01_SUB          ** (%%) ~/~/ Set the subscription topic of MQTT
227 227  
228 -(% style="text-align:center" %)
232 +
233 +
229 229  [[image:image-20220907153739-11.png||height="491" width="764"]]
230 230  
231 -(% style="text-align:center" %)
236 +
232 232  [[image:image-20220907153751-12.png||height="555" width="769"]]
233 233  
239 +
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  
242 +
243 +
244 +
236 236  === 2.2.7 Use TCP protocol to uplink data ===
237 237  
247 +
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
250 +* (% style="color:blue" %)**AT+PRO=4   ** (%%) ~/~/ Set to use TCP protocol to uplink
251 +* (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5600   ** (%%) ~/~/ to set TCP server address and port
242 242  
243 -(% style="text-align:center" %)
253 +
254 +
244 244  [[image:image-20220907153818-13.png||height="486" width="668"]]
245 245  
246 -(% style="text-align:center" %)
257 +
247 247  [[image:image-20220907153827-14.png||height="236" width="684"]]
248 248  
260 +
261 +
262 +
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)
267 +* (% 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).**
269 +(% 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
309 +User can use (% style="color:blue" %)**AT+DEUI** (%%)to set Device ID
296 296  
297 297  **Example:**
298 298  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0