<
From version < 50.11 >
edited by Xiaoling
on 2022/07/13 13:37
To version < 15.3 >
edited by Xiaoling
on 2022/05/12 11:02
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,12 +1,10 @@
1 - **Table of** **Contents:**
1 +Contens
2 2  
3 3  {{toc/}}
4 4  
5 5  
6 -
7 7  = 1. Introduction =
8 8  
9 -
10 10  Dragino LoRaWAN End Node support two types of AT Commands and Downlink Commands:
11 11  
12 12  * **Common Commands:** They should be available for each sensor, such as: change uplink interval, reset device.
... ... @@ -19,33 +19,30 @@
19 19  
20 20  = 2. How to use AT Commands or Downlink command =
21 21  
22 -
23 23  * For AT Command , See Devices User Manual for Device. The user manual can be found in each product page of [[Dragino Official Website>>url:http://www.dragino.com/]]
24 24  * For LoRaWAN Downlink: The gateway transfer downlink command in HEX format. This page shows the HEX format downlink code for each command. but some servers use base64 as downlink code. Below are reference for how to use downlink command:
25 -** Use HEX format to send a downlink: [[TTN v3>>Notes for TTN]]
26 -** Use Base64 format to send a downlink: [[Chirpstack>>Notes for ChirpStack]]
27 -** See use note for more serves [[Servers Note>>doc:Main.WebHome]](IoT LoRaWAN Server)
22 +** Use HEX format to send a downlink: [[TTN v3>>url:https://wiki.dragino.com/index.php/Notes_for_TTN#Send_Downlink_message]]
23 +** Use Base64 format to send a downlink: [[Chirpstack>>url:https://wiki.dragino.com/index.php/Notes_for_ChirpStack#Downlink]].
24 +** See use note for more serves [[Servers Note>>url:https://wiki.dragino.com/index.php/Main_Page#Use_Note_for_Server]]
28 28  
29 -
30 30  = 3. Support End Node and firmware version =
31 31  
32 -
33 -(% border="1" style="background-color:#ffffcc; color:green; width:966px" %)
34 -|=(% colspan="3" style="width: 963px;" %)(((
28 +(% border="1" style="background-color:#ffffcc; border:1; color:green; width:995.222px" %)
29 +|=(% colspan="3" style="width: 992px;" %)(((
35 35  Dragino STM32 base hardware Firmware / LoRaWAN stack list
36 36  )))
37 37  |(% style="width:187px" %)(((
38 38  **Model**
39 -)))|(% style="width:330px" %)(((
34 +)))|(% style="width:349px" %)(((
40 40  **Description**
41 -)))|(% style="width:445px" %)(((
36 +)))|(% style="width:453px" %)(((
42 42  **Firmware Version <~-~-> Stack Version**
43 43  )))
44 44  |(% style="width:187px" %)(((
45 45  [[LSN50-v1>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/128-lsn50.html]], [[LSN50-V2>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/155-lsn50-v2.html]],
46 -)))|(% style="width:330px" %)(((
41 +)))|(% style="width:349px" %)(((
47 47  Open Source Generic LoRaWAN Sensor Node
48 -)))|(% style="width:445px" %)(((
43 +)))|(% style="width:453px" %)(((
49 49  (((
50 50  LSN50 v1.6.0 <~-~-> DR-LWS-003;
51 51  )))
... ... @@ -58,9 +58,9 @@
58 58  )))
59 59  |(% style="width:187px" %)(((
60 60  [[LGT92>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/142-lgt-92.html]],
61 -)))|(% style="width:330px" %)(((
56 +)))|(% style="width:349px" %)(((
62 62  LoRaWAN GPS Tracker
63 -)))|(% style="width:445px" %)(((
58 +)))|(% style="width:453px" %)(((
64 64  (((
65 65  LGT92 v1.6.3 <~-~-> DR-LWS-003;
66 66  )))
... ... @@ -73,23 +73,23 @@
73 73  )))
74 74  |(% style="width:187px" %)(((
75 75  [[LBT1>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/165-lbt1.html]],
76 -)))|(% style="width:330px" %)(((
71 +)))|(% style="width:349px" %)(((
77 77  LoRaWAN BLE Indoor Tracker
78 -)))|(% style="width:445px" %)(((
73 +)))|(% style="width:453px" %)(((
79 79  LBT1 v1.0 <~-~-> DR-LWS-005;
80 80  )))
81 81  |(% style="width:187px" %)(((
82 82  [[RS485-LN>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/154-rs485-ln.html]],
83 -)))|(% style="width:330px" %)(((
78 +)))|(% style="width:349px" %)(((
84 84  LoRaWAN RS485 Modbus Converter
85 -)))|(% style="width:445px" %)(((
80 +)))|(% style="width:453px" %)(((
86 86  RS485-LN v1.3 <~-~-> DR-LWS-005;
87 87  )))
88 88  |(% style="width:187px" %)(((
89 89  [[LHT65>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/151-lht65.html]],
90 -)))|(% style="width:330px" %)(((
85 +)))|(% style="width:349px" %)(((
91 91  LoRaWAN Temperature & Humidity Sensor
92 -)))|(% style="width:445px" %)(((
87 +)))|(% style="width:453px" %)(((
93 93  (((
94 94  LHT65 v1.7 <~-~-> DR-LWS-003;
95 95  )))
... ... @@ -101,16 +101,16 @@
101 101  )))
102 102  )))
103 103  
104 -
105 105  = 4. System Management Commands =
106 106  
107 -
108 108  == 4.1 Change Uplink Interval ==
109 109  
110 -
111 111  Feature: Change LoRaWAN End Node Transmit Interval.
112 112  
113 -(% style="color:blue" %)**AT Command: AT+TDC**
105 +(% class="box infomessage" %)
106 +(((
107 +**AT Command: AT+TDC**
108 +)))
114 114  
115 115  (% border="1" style="background-color:#ffffcc; color:green; width:727.222px" %)
116 116  |=(% colspan="3" style="width: 724px;" %)AT+TDC
... ... @@ -124,13 +124,11 @@
124 124  Set transmit interval to 60000ms = 60 seconds
125 125  )))
126 126  
127 -(((
128 -
122 +{{info}}
123 +**Downlink Command: 0x01**
124 +{{/info}}
129 129  
130 -(% style="color:blue" %)**Downlink Command: 0x01**
131 -
132 132  Format: Command Code (0x01) followed by 3 bytes time value.
133 -)))
134 134  
135 135  (((
136 136  If the downlink payload=0100003C, it means set the END Node’s Transmit Interval to 0x00003C=60(S), while type code is 01.
... ... @@ -139,16 +139,14 @@
139 139  * **Example 1**: Downlink Payload:** 0100001E** ~/~/ Set Transmit Interval (TDC) = 30 seconds
140 140  * **Example 2**: Downlink Payload:** 0100003C** ~/~/ Set Transmit Interval (TDC) = 60 seconds
141 141  
142 -
143 143  == 4.2 Reboot End Node ==
144 144  
145 -
146 146  Feature: Reboot End Node to perform a new OTAA or ABP Join.
147 147  
139 +{{info}}
140 +**AT Command: ATZ**
141 +{{/info}}
148 148  
149 -(% style="color:blue" %)**AT Command: ATZ**
150 -
151 -
152 152  (% border="1" style="background-color:#ffffcc; color:green; width:727.222px" %)
153 153  |=(% colspan="3" %)ATZ: Trig a reset of the MCU
154 154  |**Command Example**|**Function**|**Response**
... ... @@ -166,25 +166,21 @@
166 166  <followed by the Tx and Rx information>
167 167  )))
168 168  
169 -(% style="color:blue" %)**Downlink Command: 0x04**
160 +{{info}}
161 +**Downlink Command: 0x04**
162 +{{/info}}
170 170  
171 -
172 -(((
173 173  Format: Command Code (0x04) followed by FF.
174 -)))
175 175  
176 -(((
177 177  If the downlink payload=**04FF**, the end node will reboot.
178 178  
179 -
180 -)))
181 -
182 182  == 4.3 Reset to factory Default ==
183 183  
184 -
185 185  Feature: Reset the parameters to Factory Default, factory default value depends on the firmware settings, the OTAA and ABP keys will reserve after this command.
186 186  
187 -(% style="color:blue" %)**AT Command: AT+FDR**
172 +{{info}}
173 +**AT Command: AT+FDR**
174 +{{/info}}
188 188  
189 189  (% border="1" style="background-color:#ffffcc; color:green; width:831.222px" %)
190 190  |=(% colspan="3" style="width: 828px;" %)Reset to factory default
... ... @@ -203,16 +203,13 @@
203 203  Please set the parameters or reset Device to apply change
204 204  )))
205 205  
206 -(% style="color:blue" %)**Downlink Command: 0x04**
193 +{{info}}
194 +**Downlink Command: 0x04**
195 +{{/info}}
207 207  
208 -
209 -(((
210 210  Format: Command Code (0x04) followed by FE.
211 -)))
212 212  
213 -(((
214 214  If the downlink payload=**04FE**, Reset Parameters to Factory Default, Keys Reserve.
215 -)))
216 216  
217 217  
218 218  == 4.4 Show Firmware Version ==
... ... @@ -219,41 +219,36 @@
219 219  
220 220  Feature: Show firmware version. No downlink command yet.
221 221  
206 +{{info}}
207 +**AT Command: AT+VER**
208 +{{/info}}
222 222  
223 -(% style="color:blue" %)**AT Command: AT+VER**
224 -
225 -
226 -(% border="1" style="background-color:#ffffcc; color:green; width:586px" %)
227 -|=(% colspan="3" style="width: 583px;" %)AT+VER: Image Version and Frequency Band
228 -|(% style="width:170px" %)**Command Example**|(% style="width:300px" %)**Function**|(% style="width:113px" %)**Response**
229 -|(% style="width:170px" %)AT+VER=?|(% style="width:300px" %)Show Image version and Frequency Band|(% style="width:113px" %)(((
210 +(% border="1" style="background-color:#ffffcc; color:green" %)
211 +|=(% colspan="3" %)AT+VER: Image Version and Frequency Band
212 +|**Command Example**|**Function**|**Response**
213 +|AT+VER=?|Show Image version and Frequency Band|(((
230 230  1.3 EU868
231 231  
232 232  OK
233 233  )))
234 234  
235 -(% style="color:blue" %)**Downlink Command: 0x26 (Valid in 006 stack)**
219 +{{info}}
220 +**Downlink Command: 0x26 (Valid in 006 stack)**
221 +{{/info}}
236 236  
237 -
238 -(((
239 239  Downlink Format: 0x26
240 -)))
241 241  
242 242  (((
243 243  Device will reply with firmware version info, device info. frequency band info. detail please check device user manual. Total 5 bytes Example: If device is of firmware version 1.1.0 Upload: xx ~-~- yy ~-~- zz ~-~- 110 total 5 bytes
244 244  )))
245 245  
246 -(((
247 247  **xx: Software Type:**
248 -)))
249 249  
250 250  * 0x00 01: LGT92 Version
251 251  * 0x00 02: LBT1
252 252  * 0x00 03: LSE01/LDDS75/LDDS20/LSPH01/LLMS01/LSNPK01
253 253  
254 -(((
255 255  **yy: Frequency Band:**
256 -)))
257 257  
258 258  * 0x01: EU868
259 259  * 0x02: US915
... ... @@ -266,9 +266,7 @@
266 266  * 0x09: AS923-2
267 267  * 0xa0: AS923-3
268 268  
269 -(((
270 270  **zz: Subband**
271 -)))
272 272  
273 273  firmware version: v1.1.0 ~-~-> 110
274 274  
... ... @@ -277,10 +277,10 @@
277 277  
278 278  Feature: Show All configure. No downlink command yet.
279 279  
257 +{{info}}
258 +**AT Command: AT+CFG**
259 +{{/info}}
280 280  
281 -(% style="color:blue" %)**AT Command: AT+CFG**
282 -
283 -
284 284  (% border="1" style="background-color:#ffffcc; color:green; width:599.222px" %)
285 285  |=(% colspan="3" style="width: 596px;" %)AT+CFG: Print all configurations
286 286  |(% style="width:160px" %)**Command Example**|(% style="width:154px" %)**Function**|(% style="width:280px" %)**Response**
... ... @@ -304,10 +304,10 @@
304 304  
305 305  Feature: Get or Set the Application EUI.
306 306  
284 +{{info}}
285 +**AT Command: AT+APPEUI**
286 +{{/info}}
307 307  
308 -(% style="color:blue" %)**AT Command: AT+APPEUI**
309 -
310 -
311 311  (% border="1" style="background-color:#ffffcc; color:green; width:686.222px" %)
312 312  |=(% colspan="3" style="width: 683px;" %)AT+APPEUI
313 313  |(% style="width:305px" %)**Command Example**|(% style="width:186px" %)**Function**|(% style="width:191px" %)**Response**
... ... @@ -320,10 +320,10 @@
320 320  
321 321  Feature: Get or Set the Application Key.
322 322  
300 +{{info}}
301 +**AT Command: AT+APPKEY**
302 +{{/info}}
323 323  
324 -(% style="color:blue" %)**AT Command: AT+APPKEY**
325 -
326 -
327 327  (% border="1" style="background-color:#ffffcc; color:green; width:976.222px" %)
328 328  |=(% colspan="3" style="width: 973px;" %)AT+APPKEY
329 329  |(% style="width:441px" %)**Command Example**|(% style="width:180px" %)**Function**|(% style="width:350px" %)**Response**
... ... @@ -336,10 +336,10 @@
336 336  
337 337  Feature: Get or Set the Application Session Key.
338 338  
316 +{{info}}
317 +**AT Command: AT+APPSKEY**
318 +{{/info}}
339 339  
340 -(% style="color:blue" %)**AT Command: AT+APPSKEY**
341 -
342 -
343 343  (% border="1" style="background-color:#ffffcc; color:green; width:1040.22px" %)
344 344  |=(% colspan="3" style="width: 1037px;" %)AT+APPSKEY
345 345  |(% style="width:451px" %)**Command Example**|(% style="width:231px" %)**Function**|(% style="width:354px" %)**Response**
... ... @@ -354,10 +354,10 @@
354 354  
355 355  Feature: Get or Set the Device Address.
356 356  
334 +{{info}}
335 +**AT Command: AT+DADDR**
336 +{{/info}}
357 357  
358 -(% style="color:blue" %)**AT Command: AT+DADDR**
359 -
360 -
361 361  (% border="1" style="background-color:#ffffcc; color:green; width:795.222px" %)
362 362  |=(% colspan="3" style="width: 792px;" %)AT+DADDR
363 363  |(% style="width:192px" %)**Command Example**|(% style="width:241px" %)**Function**|(% style="width:359px" %)**Response**
... ... @@ -372,10 +372,10 @@
372 372  
373 373  Feature: Get or Set the Device EUI.
374 374  
352 +{{info}}
353 +**AT Command: AT+DEUI**
354 +{{/info}}
375 375  
376 -(% style="color:blue" %)**AT Command: AT+DEUI**
377 -
378 -
379 379  (% border="1" style="background-color:#ffffcc; color:green; width:1035.22px" %)
380 380  |=(% colspan="3" style="width: 1032px;" %)AT+DEUI
381 381  |(% style="width:250px" %)**Command Example**|(% style="width:147px" %)**Function**|(% style="width:634px" %)**Response**
... ... @@ -390,10 +390,10 @@
390 390  
391 391  Feature: Get or Set the Network ID.(You can enter this command change only after successful network connection)
392 392  
370 +{{info}}
371 +**AT Command: AT+NWKID**
372 +{{/info}}
393 393  
394 -(% style="color:blue" %)**AT Command: AT+NWKID**
395 -
396 -
397 397  (% border="1" style="background-color:#ffffcc; color:green; width:448.222px" %)
398 398  |=(% colspan="3" style="width: 445px;" %)AT+NWKID
399 399  |(% style="width:191px" %)**Command Example**|(% style="width:153px" %)**Function**|(% style="width:101px" %)**Response**
... ... @@ -406,10 +406,10 @@
406 406  
407 407  Feature: Get or Set the Network Session Key
408 408  
386 +{{info}}
387 +**AT Command: AT+NWKSKEY**
388 +{{/info}}
409 409  
410 -(% style="color:blue" %)**AT Command: AT+NWKSKEY**
411 -
412 -
413 413  (% border="1" style="background-color:#ffffcc; color:green; width:1017.22px" %)
414 414  |=(% colspan="3" style="width: 1014px;" %)AT+NWKSKEY
415 415  |(% style="width:455px" %)**Command Example**|(% style="width:215px" %)**Function**|(% style="width:343px" %)**Response**
... ... @@ -422,14 +422,12 @@
422 422  
423 423  == 6.1 Confirm Mode ==
424 424  
425 -=== AT+CFM command before DR-LWS007 software stack ===
426 -
427 427  Feature: Get or Set the confirmation mode (0-1).
428 428  
404 +{{info}}
405 +**AT Command: AT+CFM**
406 +{{/info}}
429 429  
430 -(% style="color:blue" %)**AT Command: AT+CFM**
431 -
432 -
433 433  (% border="1" style="background-color:#ffffcc; color:green; width:710.222px" %)
434 434  |=(% colspan="3" style="width: 707px;" %)AT+CFM
435 435  |(% style="width:155px" %)**Command Example**|(% style="width:205px" %)**Function**|(% style="width:346px" %)**Response**
... ... @@ -439,7 +439,7 @@
439 439  |(% style="width:155px" %)AT+CFM=1|(% style="width:205px" %)Set the confirmation mode|(% style="width:346px" %)OK
440 440  |(% style="width:155px" %)AT+CFM=2|(% style="width:205px" %)Set the confirmation mode|(% style="width:346px" %)While Error in format, return AT_PARAM_ERROR
441 441  
442 -(% style="color:blue" %)**Downlink Command: 0x05**
417 +Downlink Command: 0x05
443 443  
444 444  Format: Command Code (0x05) followed by 2 bytes mode value.
445 445  
... ... @@ -448,61 +448,14 @@
448 448  * Example 1: Downlink Payload: 0501 ~/~/ Set AT+CFM=1
449 449  * Example 2: Downlink Payload: 0500 ~/~/ Set AT+CFM=0
450 450  
451 -=== AT+CFM command since DR-LWS007 software stack ===
452 -
453 -
454 -(% style="color:blue" %)**AT Command: AT+CFM**
455 -
456 -
457 -(% border="1" style="background-color:#ffffcc; color:green; width:710.222px" %)
458 -|=(% colspan="3" style="width: 707px;" %)AT+CFM
459 -|(% style="width:160px" %)**Command Example**|(% style="width:198px" %)**Function**|(% style="width:349px" %)**Response**
460 -|(% style="width:160px" %)(((
461 -AT+CFM=1,0,0
462 -
463 -value1
464 -)))|(% style="width:198px" %)confirmed uplink|(% style="width:349px" %)(((
465 -1
466 -
467 -OK
468 -)))
469 -|(% style="width:160px" %)(((
470 -AT+CFM=0,?,0
471 -
472 -value2
473 -)))|(% style="width:198px" %)set max retry , range: 0 ~~ 7|(% style="width:349px" %)(((
474 -0~~7
475 -
476 -OK
477 -)))
478 -|(% style="width:160px" %)(((
479 -AT+CFM=0,0,1
480 -
481 -value3
482 -)))|(% style="width:198px" %)uplink fcnt increase by 1 for each retry|(% style="width:349px" %)(((
483 -1
484 -
485 -OK
486 -)))
487 -
488 -(% style="color:blue" %)**Downlink Command: 0x05**
489 -
490 -
491 -Format: Command Code (0x05) followed by 2 bytes mode value.
492 -
493 -If the downlink payload=05010101, it means set end node to use confirm mode, while type code is 05.
494 -
495 -* Example 1: Downlink Payload: 05010101 ~/~/ Set AT+CFM=1,1,1
496 -* Example 2: Downlink Payload: 05000700 ~/~/ Set AT+CFM=0,7,0
497 -
498 498  == 6.2 Confirm Status ==
499 499  
500 500  Feature: Get confirmation status of the last AT+SEND (0-1).
501 501  
430 +{{info}}
431 +**AT Command: AT+CFS**
432 +{{/info}}
502 502  
503 -(% style="color:blue" %)**AT Command: AT+CFS**
504 -
505 -
506 506  (% border="1" style="background-color:#ffffcc; color:green; width:534.222px" %)
507 507  |=(% colspan="3" style="width: 531px;" %)AT+CFS
508 508  |(% style="width:156px" %)**Command Example**|(% style="width:193px" %)**Function**|(% style="width:178px" %)**Response**
... ... @@ -514,10 +514,10 @@
514 514  
515 515  Feature: Join network.
516 516  
445 +{{info}}
446 +**AT Command: AT+JOIN**
447 +{{/info}}
517 517  
518 -(% style="color:blue" %)**AT Command: AT+JOIN**
519 -
520 -
521 521  (% border="1" style="background-color:#ffffcc; color:green; width:647.222px" %)
522 522  |=(% colspan="3" style="width: 644px;" %)AT+JOIN
523 523  |(% style="width:163px" %)**Command Example**|(% style="width:147px" %)**Function**|(% style="width:334px" %)**Response**
... ... @@ -531,10 +531,10 @@
531 531  
532 532  Feature: Get or Set the Network Join Mode. (0: ABP, 1: OTAA).
533 533  
462 +{{info}}
463 +**AT Command: AT+NJM**
464 +{{/info}}
534 534  
535 -(% style="color:blue" %)**AT Command: AT+NJM**
536 -
537 -
538 538  (% border="1" style="background-color:#ffffcc; color:green; width:753.222px" %)
539 539  |=(% colspan="3" style="width: 750px;" %)AT+NJM
540 540  |(% style="width:162px" %)**Command Example**|(% style="width:227px" %)**Function**|(% style="width:361px" %)**Response**
... ... @@ -544,14 +544,15 @@
544 544  |(% style="width:162px" %)AT+NJM=0|(% style="width:227px" %)Set the Network Join Mode|(% style="width:361px" %)OK
545 545  |(% style="width:162px" %)AT+NJM=2|(% style="width:227px" %)Set the Network Join Mode|(% style="width:361px" %)While Error in format, return AT_PARAM_ERROR
546 546  
547 -(% style="color:blue" %)**Downlink Command: 0x20**
475 +{{info}}
476 +**Downlink Command: 0x20**
477 +{{/info}}
548 548  
549 -
550 550  Format: Command Code (0x20) followed by 1 bytes mode value.
551 551  
552 552  If the downlink payload=2000, it means set the Network Join Mode, while type code is 20.
553 553  
554 -* **Example 1: **Downlink Payload: **2000** ~/~/ Set AT+NJM=0
483 +* **Example 1: **Downlink Payload: **2000** ~/~/ Set AT+NJM=O
555 555  * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1
556 556  
557 557  == 6.5 LoRa® Network Join Status ==
... ... @@ -558,10 +558,10 @@
558 558  
559 559  Feature: LoRa® Network Join Status.
560 560  
490 +{{info}}
491 +**AT Command: AT+NJS**
492 +{{/info}}
561 561  
562 -(% style="color:blue" %)**AT Command: AT+NJS**
563 -
564 -
565 565  (% border="1" style="background-color:#ffffcc; color:green; width:498.222px" %)
566 566  |=(% colspan="3" style="width: 495px;" %)AT+NJS
567 567  |(% style="width:169px" %)**Command Example**|(% style="width:164px" %)**Function**|(% style="width:161px" %)**Response**
... ... @@ -573,10 +573,10 @@
573 573  
574 574  Feature: Print Last Received Data in Raw Format<port:data>.
575 575  
505 +{{info}}
506 +**AT Command: AT+RECV**
507 +{{/info}}
576 576  
577 -(% style="color:blue" %)**AT Command: AT+RECV**
578 -
579 -
580 580  (% border="1" style="background-color:#ffffcc; color:green; width:587.222px" %)
581 581  |=(% colspan="3" style="width: 584px;" %)AT+RECV
582 582  |(% style="width:161px" %)**Command Example**|(% style="width:272px" %)**Function**|(% style="width:150px" %)**Response**
... ... @@ -588,10 +588,10 @@
588 588  
589 589  Feature: Print Last Received Data in Binary Format<port:data>.
590 590  
520 +{{info}}
521 +**AT Command: AT+RECVB**
522 +{{/info}}
591 591  
592 -(% style="color:blue" %)**AT Command: AT+RECVB**
593 -
594 -
595 595  (% border="1" style="background-color:#ffffcc; color:green; width:793.222px" %)
596 596  |=(% colspan="3" style="width: 790px;" %)AT+RECVB
597 597  |(% style="width:173px" %)**Command Example**|(% style="width:497px" %)**Function**|(% style="width:120px" %)**Response**
... ... @@ -603,10 +603,10 @@
603 603  
604 604  Feature: Send Text Data<port:data>.
605 605  
535 +{{info}}
536 +**AT Command: AT+SEND**
537 +{{/info}}
606 606  
607 -(% style="color:blue" %)**AT Command: AT+SEND**
608 -
609 -
610 610  (% border="1" style="background-color:#ffffcc; color:green; width:991.222px" %)
611 611  |=(% colspan="3" style="width: 988px;" %)AT+SEND
612 612  |(% style="width:201px" %)**Command Example**|(% style="width:340px" %)**Function**|(% style="width:446px" %)**Response**
... ... @@ -622,10 +622,10 @@
622 622  
623 623  Feature: Send hexadecimal data along with the application port.
624 624  
554 +{{info}}
555 +**AT Command: AT+SENDB**
556 +{{/info}}
625 625  
626 -(% style="color:blue" %)**AT Command: AT+SENDB**
627 -
628 -
629 629  (% border="1" style="background-color:#ffffcc; color:green; width:1120.22px" %)
630 630  |=(% colspan="3" style="width: 1117px;" %)AT+SENDB
631 631  |(% style="width:257px" %)**Command Example**|(% style="width:406px" %)**Function**|(% style="width:453px" %)**Response**
... ... @@ -642,10 +642,10 @@
642 642  
643 643  Feature: Get or Set the Adaptive Data Rate setting. (0: off, 1: on).
644 644  
574 +{{info}}
575 +**AT Command: AT+ADR**
576 +{{/info}}
645 645  
646 -(% style="color:blue" %)**AT Command: AT+ADR**
647 -
648 -
649 649  (% border="1" style="background-color:#ffffcc; color:green; width:683.222px" %)
650 650  |=(% colspan="3" style="width: 680px;" %)AT+ADR
651 651  |(% style="width:162px" %)**Command Example**|(% style="width:266px" %)**Function**|(% style="width:250px" %)**Response**
... ... @@ -657,10 +657,11 @@
657 657  AT_PARAM_ERROR
658 658  )))
659 659  
660 -(% style="color:blue" %)**Downlink Command: 0x22**
589 +{{info}}
590 +**Downlink Command: 0x22**
591 +{{/info}}
661 661  
662 662  
663 -
664 664  If the downlink payload=2201, it means setting the adaptive data rate to 1, while type code is 22.
665 665  
666 666  * **Example 1**: Downlink Payload: **2201** ~/~/ Set AT+ADR=1.
... ... @@ -670,10 +670,10 @@
670 670  
671 671  Feature: Get or Set the Device Class(Currently only support class A, class C).
672 672  
603 +{{info}}
604 +**AT Command:AT+CLASS**
605 +{{/info}}
673 673  
674 -(% style="color:blue" %)**AT Command:AT+CLASS**
675 -
676 -
677 677  (% border="1" style="background-color:#ffffcc; color:green; width:507.222px" %)
678 678  |=(% colspan="3" style="width: 504px;" %)AT+CLASS
679 679  |(% style="width:163px" %)**Command Example**|(% style="width:166px" %)**Function**|(% style="width:175px" %)**Response**
... ... @@ -688,10 +688,10 @@
688 688  
689 689  Feature: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing.
690 690  
621 +{{info}}
622 +**AT Command:AT+DCS**
623 +{{/info}}
691 691  
692 -(% style="color:blue" %)**AT Command:AT+DCS**
693 -
694 -
695 695  (% border="1" style="background-color:#ffffcc; color:green; width:515.222px" %)
696 696  |=(% colspan="3" style="width: 512px;" %)AT+DCS
697 697  |(% style="width:165px" %)**Command Example**|(% style="width:239px" %)**Function**|(% style="width:107px" %)**Response**
... ... @@ -706,10 +706,10 @@
706 706  
707 707  Feature: Get or Set the Data Rate. (0-7 corresponding to DR_X) . Note: while set Data Rate, please use set Adptive Data Rate, ADR=0 first. otherwise device will response to server's ADR command and change the DR to the setting from server
708 708  
639 +{{info}}
640 +**AT Command: AT+DR**
641 +{{/info}}
709 709  
710 -(% style="color:blue" %)**AT Command: AT+DR**
711 -
712 -
713 713  (% border="1" style="background-color:#ffffcc; color:green; width:466.222px" %)
714 714  |=(% colspan="3" style="width: 463px;" %)AT+DR
715 715  |(% style="width:156px" %)**Command Example**|(% style="width:167px" %)**Function**|(% style="width:140px" %)**Response**
... ... @@ -720,10 +720,11 @@
720 720  
721 721  )))
722 722  
723 -(% style="color:blue" %)**Downlink Command: 0x2200aaFF**
653 +{{info}}
654 +**Downlink Command: 0x2200aaFF**
655 +{{/info}}
724 724  
725 725  
726 -
727 727  If the downlink payload=220001FF, it means setting the data rate to 1, while type code is 22 00 aa FF.
728 728  
729 729  * **Example 1**: Downlink Payload: **220001FF** ~/~/ Set AT+DR=1.
... ... @@ -733,10 +733,10 @@
733 733  
734 734  Feature: Get or Set the Frame Counter Downlink.
735 735  
667 +{{info}}
668 +**AT Command:AT+FCD**
669 +{{/info}}
736 736  
737 -(% style="color:blue" %)**AT Command:AT+FCD**
738 -
739 -
740 740  (% border="1" style="background-color:#ffffcc; color:green; width:693.222px" %)
741 741  |=(% colspan="3" style="width: 690px;" %)AT+FCD
742 742  |(% style="width:162px" %)**Command Example**|(% style="width:258px" %)**Function**|(% style="width:269px" %)**Response**
... ... @@ -753,10 +753,10 @@
753 753  
754 754  Feature: Get or Set the Frame Counter Uplink.
755 755  
687 +{{info}}
688 +**AT Command:AT+FCU**
689 +{{/info}}
756 756  
757 -(% style="color:blue" %)**AT Command:AT+FCU**
758 -
759 -
760 760  (% border="1" style="background-color:#ffffcc; color:green; width:534.222px" %)
761 761  |=(% colspan="3" style="width: 531px;" %)AT+FCU
762 762  |(% style="width:177px" %)**Command Example**|(% style="width:239px" %)**Function**|(% style="width:113px" %)**Response**
... ... @@ -771,10 +771,10 @@
771 771  
772 772  Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms.
773 773  
705 +{{info}}
706 +**AT Command:AT+JN1DL**
707 +{{/info}}
774 774  
775 -(% style="color:blue" %)**AT Command:AT+JN1DL**
776 -
777 -
778 778  (% border="1" style="background-color:#ffffcc; color:green; width:537.222px" %)
779 779  |=(% colspan="3" style="width: 534px;" %)AT+JN1DL
780 780  |(% style="width:164px" %)**Command Example**|(% style="width:229px" %)**Function**|(% style="width:140px" %)**Response**
... ... @@ -789,10 +789,10 @@
789 789  
790 790  Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms.
791 791  
723 +{{info}}
724 +**AT Command:AT+JN2DL**
725 +{{/info}}
792 792  
793 -(% style="color:blue" %)**AT Command:AT+JN2DL**
794 -
795 -
796 796  (% border="1" style="background-color:#ffffcc; color:green; width:538.222px" %)
797 797  |=(% colspan="3" style="width: 535px;" %)AT+JN2DL
798 798  |(% style="width:160px" %)**Command Example**|(% style="width:228px" %)**Function**|(% style="width:146px" %)**Response**
... ... @@ -805,14 +805,12 @@
805 805  
806 806  == 7.9 Public Network Mode ==
807 807  
808 -Feature: Get or Set the public network mode. (0: off, 1: on). A Public LoRaWAN network use 0x34 as syncword. Default Settings; PNM=1
739 +Feature: Get or Set the public network mode. (0: off, 1: on)
809 809  
810 -Notice: If user build their own LoRaWAN server but still use syncword=0x34, this is still considered a public LoRaWAN network
741 +{{info}}
742 +**AT Command:AT+PNM**
743 +{{/info}}
811 811  
812 -
813 -(% style="color:blue" %)**AT Command:AT+PNM**
814 -
815 -
816 816  (% border="1" style="background-color:#ffffcc; color:green; width:667.222px" %)
817 817  |=(% colspan="3" style="width: 664px;" %)AT+PNM
818 818  |(% style="width:166px" %)**Command Example**|(% style="width:225px" %)**Function**|(% style="width:272px" %)**Response**
... ... @@ -819,25 +819,20 @@
819 819  |(% style="width:166px" %)AT+PNM=?|(% style="width:225px" %)Get the public network mode.|(% style="width:272px" %)1(((
820 820  OK
821 821  )))
822 -|(% style="width:166px" %)AT+PNM=1|(% style="width:225px" %)(((
823 -Set the public network mode.
824 -
825 -Set syncword=0x34
826 -)))|(% style="width:272px" %)(System will write new value to PNM)(((
751 +|(% style="width:166px" %)AT+PNM=1|(% style="width:225px" %)Set the public network mode.|(% style="width:272px" %)(System will write new value to PNM)(((
827 827  OK
828 828  
829 829  
830 830  )))
831 -|(% style="width:166px" %)AT+PNM=0|(% style="width:225px" %)Set to use private network autoset syncword=0x12|(% style="width:272px" %)
832 832  
833 833  == 7.10 Receive Delay1 ==
834 834  
835 835  Feature: Get or Set the delay between the end of the Tx and the Rx Window 1 in ms
836 836  
761 +{{info}}
762 +**AT Command:AT+RX1DL**
763 +{{/info}}
837 837  
838 -(% style="color:blue" %)**AT Command:AT+RX1DL**
839 -
840 -
841 841  (% border="1" style="background-color:#ffffcc; color:green; width:408.222px" %)
842 842  |=(% colspan="3" style="width: 405px;" %)AT+RX1DL
843 843  |(% style="width:155px" %)**Command Example**|(% style="width:128px" %)**Function**|(% style="width:122px" %)**Response**
... ... @@ -848,14 +848,14 @@
848 848  
849 849  )))
850 850  
851 -== 7.11 Receive Delay2 ==
775 +== 7.11Receive Delay2 ==
852 852  
853 853  Feature: Get or Set the delay between the end of the Tx and the Rx Window 2 in ms
854 854  
779 +{{info}}
780 +**AT Command:AT+RX2DL**
781 +{{/info}}
855 855  
856 -(% style="color:blue" %)**AT Command:AT+RX2DL**
857 -
858 -
859 859  (% border="1" style="background-color:#ffffcc; color:green; width:481.222px" %)
860 860  |=(% colspan="3" style="width: 478px;" %)AT+RX2DL
861 861  |(% style="width:175px" %)**Command Example**|(% style="width:152px" %)**Function**|(% style="width:150px" %)**Response**
... ... @@ -870,10 +870,10 @@
870 870  
871 871  Feature: Get or Set the Rx2 window data rate (0-7 corresponding to DR_X)
872 872  
797 +{{info}}
798 +**AT Command:AT+RX2DR**
799 +{{/info}}
873 873  
874 -(% style="color:blue" %)**AT Command:AT+RX2DR**
875 -
876 -
877 877  (% border="1" style="background-color:#ffffcc; color:green; width:525.222px" %)
878 878  |=(% colspan="3" style="width: 522px;" %)AT+RX2DR
879 879  |(% style="width:160px" %)**Command Example**|(% style="width:232px" %)**Function**|(% style="width:130px" %)**Response**
... ... @@ -888,10 +888,10 @@
888 888  
889 889  Feature: Get or Set the Rx2 window frequency
890 890  
815 +{{info}}
816 +**AT Command:AT+RX2FQ**
817 +{{/info}}
891 891  
892 -(% style="color:blue" %)**AT Command:AT+RX2FQ**
893 -
894 -
895 895  (% border="1" style="background-color:#ffffcc; color:green; width:587.222px" %)
896 896  |=(% colspan="3" style="width: 584px;" %)AT+RX2FQ
897 897  |(% style="width:183px" %)**Command Example**|(% style="width:240px" %)**Function**|(% style="width:160px" %)**Response**
... ... @@ -906,10 +906,10 @@
906 906  
907 907  Feature: Get or Set the Transmit Power(0-5, MAX:0, MIN:5, according to LoRaWAN Spec, or 40=10dB, 41 = 11dB, …, 50 = 20dB which is out of LoRaWAN spec. )
908 908  
833 +{{info}}
834 +**AT Command:AT+TXP**
835 +{{/info}}
909 909  
910 -(% style="color:blue" %)**AT Command:AT+TXP**
911 -
912 -
913 913  (% border="1" style="background-color:#ffffcc; color:green; width:465.222px" %)
914 914  |=(% colspan="3" style="width: 462px;" %)AT+TXP
915 915  |(% style="width:161px" %)**Command Example**|(% style="width:189px" %)**Function**|(% style="width:112px" %)**Response**
... ... @@ -931,10 +931,10 @@
931 931  
932 932  Feature: Get or Set the Rx2 window frequency
933 933  
858 +{{info}}
859 +**AT Command:AT+RSSI**
860 +{{/info}}
934 934  
935 -(% style="color:blue" %)**AT Command:AT+RSSI**
936 -
937 -
938 938  (% border="1" style="background-color:#ffffcc; color:green; width:557.222px" %)
939 939  |=(% colspan="3" style="width: 554px;" %)AT+RSSI
940 940  |(% style="width:164px" %)**Command Example**|(% style="width:289px" %)**Function**|(% style="width:100px" %)**Response**
... ... @@ -946,10 +946,10 @@
946 946  
947 947  Feature: Get the SNR of the last received packet
948 948  
873 +{{info}}
874 +**AT Command:AT+SNR**
875 +{{/info}}
949 949  
950 -(% style="color:blue" %)**AT Command:AT+SNR**
951 -
952 -
953 953  (% border="1" style="background-color:#ffffcc; color:green; width:571.222px" %)
954 954  |=(% colspan="3" style="width: 568px;" %)AT+SNR
955 955  |(% style="width:164px" %)**Command Example**|(% style="width:290px" %)**Function**|(% style="width:113px" %)**Response**
... ... @@ -961,10 +961,10 @@
961 961  
962 962  Feature: Get or set the application port.
963 963  
888 +{{info}}
889 +**AT Command: AT+PORT**
890 +{{/info}}
964 964  
965 -(% style="color:blue" %)**AT Command: AT+PORT**
966 -
967 -
968 968  (% border="1" style="background-color:#ffffcc; color:green; width:500.222px" %)
969 969  |=(% colspan="3" style="width: 497px;" %)AT+PORT
970 970  |(% style="width:157px" %)**Command Example**|(% style="width:204px" %)**Function**|(% style="width:135px" %)**Response**
... ... @@ -973,9 +973,10 @@
973 973  )))
974 974  |(% style="width:157px" %)AT+PORT=21|(% style="width:204px" %)Set the application port|(% style="width:135px" %)OK
975 975  
976 -(% style="color:blue" %)**Downlink Command: 0x23**
900 +{{info}}
901 +**Downlink Command: 0x23**
902 +{{/info}}
977 977  
978 -
979 979  Format: Command Code (0x23) followed by 1 bytes port value.
980 980  
981 981  If the downlink payload=2301, it means set the application port to 1, while type code is 23.
... ... @@ -987,10 +987,10 @@
987 987  
988 988  Feature:Get or Set Frequency (Unit: Hz) for Single Channel Mode.
989 989  
915 +{{info}}
916 +**AT Command: AT+CHS**
917 +{{/info}}
990 990  
991 -(% style="color:blue" %)**AT Command: AT+CHS**
992 -
993 -
994 994  (% border="1" style="background-color:#ffffcc; color:green; width:603.222px" %)
995 995  |=(% colspan="3" style="width: 600px;" %)AT+CHS
996 996  |(% style="width:182px" %)**Command Example**|(% style="width:295px" %)**Function**|(% style="width:122px" %)**Response**
... ... @@ -1003,10 +1003,10 @@
1003 1003  
1004 1004  Feature: Get or Set eight channels mode,Only for US915,AU915,CN470.
1005 1005  
931 +{{info}}
932 +**AT Command: AT+CHE**
933 +{{/info}}
1006 1006  
1007 -(% style="color:blue" %)**AT Command: AT+CHE**
1008 -
1009 -
1010 1010  (% border="1" style="background-color:#ffffcc; color:green; width:710.222px" %)
1011 1011  |=(% colspan="3" style="width: 707px;" %)AT+CHE
1012 1012  |(% style="width:160px" %)**Command Example**|(% style="width:198px" %)**Function**|(% style="width:349px" %)**Response**
... ... @@ -1017,9 +1017,10 @@
1017 1017  )))
1018 1018  |(% style="width:160px" %)AT+CHE=1|(% style="width:198px" %)Set eight channels mode|(% style="width:349px" %)OK
1019 1019  
1020 -(% style="color:blue" %)**Downlink Command: 0x24**
945 +{{info}}
946 +**Downlink Command: 0x24**
947 +{{/info}}
1021 1021  
1022 -
1023 1023  Format: Command Code (0x24) followed by 1 bytes channel value.
1024 1024  
1025 1025  If the downlink payload=2401, it means set channel mode to 1, while type code is 24.
... ... @@ -1031,10 +1031,10 @@
1031 1031  
1032 1032  Feature:Get or Set the number of symbols to detect and timeout from RXwindow1(0 to 255).
1033 1033  
960 +{{info}}
961 +**AT Command: AT+RX1WTO**
962 +{{/info}}
1034 1034  
1035 -(% style="color:blue" %)**AT Command: AT+RX1WTO**
1036 -
1037 -
1038 1038  (% border="1" style="background-color:#ffffcc; color:green; width:460.222px" %)
1039 1039  |=(% colspan="3" style="width: 457px;" %)AT+ RX1WTO
1040 1040  |(% style="width:163px" %)**Command Example**|(% style="width:201px" %)**Function**|(% style="width:93px" %)**Response**
... ... @@ -1043,26 +1043,20 @@
1043 1043  )))
1044 1044  |(% style="width:163px" %)AT+RX1WTO=60|(% style="width:201px" %)Set RXwindows1 timeout|(% style="width:93px" %)OK
1045 1045  
1046 -(((
1047 -**AT+RX1TWO** is theRxSingle timeout value of receive window 1. If it is not set, then the queriedvalue is the default value. If it is set, then the queried value is the setvalue. AT+RX2TWO is thesame as above. The definitionof RxSingle timeout is as described in the following paragraph.
1048 -)))
972 +AT+RX1TWO is theRxSingle timeout value of receive window 1. If it is not set, then the queriedvalue is the default value. If it is set, then the queried value is the setvalue. AT+RX2TWO is thesame as above. The definitionof RxSingle timeout is as described in the following paragraph.
1049 1049  
1050 -[[image:image-20220526162535-1.png]]
974 +[[image:image-20220511120050-1.png]]
1051 1051  
1052 -(((
1053 1053  Increasing thisvalue is equal to extending the time that the receiving window is opened, butthe corresponding power consumption will also increase. Properly increasingthis value can increase the success rate of the downlink.
1054 1054  
1055 -
1056 -)))
1057 -
1058 1058  == 7.21 Get or Set RXwindows2 timeout ==
1059 1059  
1060 1060  Feature:Get or Set the number of symbols to detect and timeout from RXwindow2(0 to 255).
1061 1061  
982 +{{info}}
983 +**AT Command: AT+RX2WTO**
984 +{{/info}}
1062 1062  
1063 -(% style="color:blue" %)**AT Command: AT+RX2WTO**
1064 -
1065 -
1066 1066  (% border="1" style="background-color:#ffffcc; color:green; width:497.222px" %)
1067 1067  |=(% colspan="3" style="width: 494px;" %)AT+ RX2WTO
1068 1068  |(% style="width:190px" %)**Command Example**|(% style="width:199px" %)**Function**|(% style="width:104px" %)**Response**
... ... @@ -1075,10 +1075,10 @@
1075 1075  
1076 1076  Feature: Get or Set uplinkdwelltime
1077 1077  
998 +{{info}}
999 +**AT Command: AT+DWELLT**
1000 +{{/info}}
1078 1078  
1079 -(% style="color:blue" %)**AT Command: AT+DWELLT**
1080 -
1081 -
1082 1082  (% border="1" style="background-color:#ffffcc; color:green; width:497.222px" %)
1083 1083  |=(% colspan="3" style="width: 494px;" %)AT+DWELLT
1084 1084  |(% style="width:183px" %)**Command Example**|(% style="width:179px" %)**Function**|(% style="width:131px" %)**Response**
... ... @@ -1087,9 +1087,10 @@
1087 1087  )))
1088 1088  |(% style="width:183px" %)AT+DWELLT=0|(% style="width:179px" %)Set uplinkdwelltime|(% style="width:131px" %)OK
1089 1089  
1090 -(% style="color:blue" %)**Downlink Command: 0x25**
1010 +{{info}}
1011 +**Downlink Command: 0x25**
1012 +{{/info}}
1091 1091  
1092 -
1093 1093  Format: Command Code (0x25) followed by 1 bytes state value.
1094 1094  
1095 1095  If the downlink payload=2501, it means set uplinkdwelltime to 1, while type code is 25.
... ... @@ -1115,9 +1115,10 @@
1115 1115  * For Class C devices used in ChirpStack, need to set AT+RPL=4 because Chirpstack require immedietely reply message to MAC Command.
1116 1116  * For Class C devices used in TTI, need to set AT+RPL=4 because TTI require immediately reply message to Confirmed Data Down & MAC Command.
1117 1117  
1118 -(% style="color:blue" %)**AT Command: AT+RPL**
1039 +{{info}}
1040 +**AT Command: AT+RPL**
1041 +{{/info}}
1119 1119  
1120 -
1121 1121  (% border="1" style="background-color:#ffffcc; color:green; width:536.222px" %)
1122 1122  |=(% colspan="3" style="width: 533px;" %)AT+RPL
1123 1123  |(% style="width:160px" %)**Command Example**|(% style="width:263px" %)**Function**|(% style="width:109px" %)**Response**
... ... @@ -1126,9 +1126,10 @@
1126 1126  )))
1127 1127  |(% style="width:160px" %)AT+RPL=0|(% style="width:263px" %)Set packet receiving response level|(% style="width:109px" %)OK
1128 1128  
1129 -(% style="color:blue" %)**Downlink Command: 0x21**
1051 +{{info}}
1052 +**Downlink Command: 0x21**
1053 +{{/info}}
1130 1130  
1131 -
1132 1132  Format: Command Code (0x21) followed by 1 bytes level value.
1133 1133  
1134 1134  If the downlink payload=2101, it means set packet receiving response level to 1, while type code is 21.
... ... @@ -1136,126 +1136,6 @@
1136 1136  * **Example 1**: Downlink Payload: **2101** ~/~/ set packet receiving response level to 1
1137 1137  * **Example 2**: Downlink Payload: **2102** ~/~/ set packet receiving response level to 2
1138 1138  
1139 -== 7.24 Controls NBTrans in unconfirmed uplink mode(LWS007 NBTrans:Set retransmission packets) ==
1140 -
1141 -
1142 -(% style="color:blue" %)**AT Command: AT+SETMAXNBTRANS **
1143 -
1144 -
1145 -(% border="1" style="background-color:#ffffcc; color:green; width:536.222px" %)
1146 -|=(% colspan="3" style="width: 533px;" %)AT+**SETMAXNBTRANS**
1147 -|(% style="width:160px" %)**Command Example**|(% style="width:263px" %)**Function**|(% style="width:109px" %)**Response**
1148 -|(% style="width:160px" %)**AT+SETMAXNBTRANS=1,0**|(% style="width:263px" %)Value1: set the maximum NBTrans.|(% style="width:109px" %)1(((
1149 -OK
1150 -)))
1151 -|(% style="width:160px" %)**AT+SETMAXNBTRANS=?,1**|(% style="width:263px" %)value2: 0: uplink fcnt doesn't change for each NBTrans; 1: uplink fcnt increase by 1 for each NBTrans.|(% style="width:109px" %)(((
1152 -1
1153 -
1154 -OK
1155 -)))
1156 -
1157 -(% style="color:blue" %)**Downlink Command: 0x33**
1158 -
1159 -
1160 -Format: Command Code (0x33) followed by 2 bytes mode value.
1161 -
1162 -If the downlink payload=330100, it means set end node to use confirm mode, while type code is 33.
1163 -
1164 -* Example 1: Downlink Payload: 330100 ~/~/ Set AT+SETMAXNBTRANS=1,0
1165 -* Example 2: Downlink Payload: 330201 ~/~/ Set AT+SETMAXNBTRANS=2,1
1166 -
1167 -== 7.25 Device offline rejoining (LWS007) ==
1168 -
1169 -
1170 -(% style="color:blue" %)**AT Command: AT+DDETECT**
1171 -
1172 -
1173 -(% border="1" style="background-color:#ffffcc; color:green; width:710.222px" %)
1174 -|=(% colspan="3" style="width: 707px;" %)AT+**DDETECT**
1175 -|(% style="width:160px" %)**Command Example**|(% style="width:198px" %)**Function**|(% style="width:349px" %)**Response**
1176 -|(% style="width:160px" %)(((
1177 -AT+DDETECT=1,1440,2880
1178 -
1179 -value1
1180 -)))|(% style="width:198px" %)Enable online detect|(% style="width:349px" %)(((
1181 -1
1182 -
1183 -OK
1184 -)))
1185 -|(% style="width:160px" %)(((
1186 -AT+DDETECT=1,?,2880
1187 -
1188 -value2
1189 -)))|(% style="width:198px" %)Online detection packet sending time|(% style="width:349px" %)(((
1190 -
1191 -
1192 -OK
1193 -)))
1194 -|(% style="width:160px" %)(((
1195 -AT+DDETECT=1,1440,?
1196 -
1197 -value3
1198 -)))|(% style="width:198px" %)Process rejoin|(% style="width:349px" %)(((
1199 -
1200 -
1201 -OK
1202 -)))
1203 -
1204 -(% style="color:blue" %)**Downlink Command: 0x33**
1205 -
1206 -
1207 -Format: Command Code (0x32) followed by 2 bytes mode value.
1208 -
1209 -If the downlink payload=320105A00B40, it means set end node to use confirm mode, while type code is 33.
1210 -
1211 -* Example 1: Downlink Payload: 320105A00B40 ~/~/ Set AT+DDETECT=1,1440,2880
1212 -
1213 -== 7.26 Request the server to send an ACK ==
1214 -
1215 -
1216 -(% style="color:blue" %)**AT Command: AT+PNACKMD**
1217 -
1218 -
1219 -(% border="1" style="background-color:#ffffcc; color:green; width:536.222px" %)
1220 -|=(% colspan="3" style="width: 533px;" %)**AT+PNACKMD**
1221 -|(% style="width:160px" %)**Command Example**|(% style="width:263px" %)**Function**|(% style="width:109px" %)**Response**
1222 -|(% style="width:160px" %)**AT+PNACKMD=1**|(% style="width:263px" %)If the node uploads the ACK as confirm, it will request the server to send an ACK. If the server ack is not received, the node will upload the packets that have not received the ACK the next time it receives the ACK|(% style="width:109px" %)1(((
1223 -OK
1224 -)))
1225 -|(% style="width:160px" %)**AT+PNACKMD=0**|(% style="width:263px" %)off request the server to send an ACK|(% style="width:109px" %)(((
1226 -0
1227 -
1228 -OK
1229 -)))
1230 -
1231 -== 7.27 Adjust network rejoining interval ==
1232 -
1233 -
1234 -(% style="color:blue" %)**AT Command: AT+RJTDC**
1235 -
1236 -
1237 -(% border="1" style="background-color:#ffffcc; color:green; width:727.222px" %)
1238 -|=(% colspan="3" style="width: 724px;" %)AT+RJTDC
1239 -|(% style="width:165px" %)**Command Example**|(% style="width:227px" %)**Function**|(% style="width:329px" %)**Response**
1240 -|(% style="width:165px" %)AT+RJTDC=?|(% style="width:227px" %)Show the ReJoin data transmission interval in min|(% style="width:329px" %)30000(((
1241 -OK
1242 -
1243 -the interval is 30000ms = 30s
1244 -)))
1245 -|(% style="width:165px" %)AT+RJTDC=60000|(% style="width:227px" %)Set the ReJoin data transmission interval in min|(% style="width:329px" %)OK(((
1246 -Set the ReJoin data transmission interval to 60000ms = 60 seconds
1247 -)))
1248 -
1249 -(% style="color:blue" %)**Downlink Command: 0x26**
1250 -
1251 -
1252 -Format: Command Code (0x26) followed by 2 bytes mode value.
1253 -
1254 -If the downlink payload=26000A, it means set end node to use confirm mode, while type code is 26.
1255 -
1256 -* Example 1: Downlink Payload: 26000A ~/~/ Set AT+RJTDC=10
1257 -* Example 2: Downlink Payload: 260002 ~/~/ Set AT+RJTDC=2
1258 -
1259 1259  = 8. AT Commands Combination =
1260 1260  
1261 1261  == 8.1 Set a fix RX2DR for downlink window ==
... ... @@ -1265,12 +1265,12 @@
1265 1265  
1266 1266  == 8.2 Use Downlink Command to set a fix uplink DR ==
1267 1267  
1071 +{{info}}
1072 +**Downlink Command: 0x22000500**
1073 +{{/info}}
1268 1268  
1269 -(% style="color:blue" %)**Downlink Command: 0x22000500**
1270 -
1271 -
1272 1272  Same as:
1273 1273  
1274 -* AT+ADR=0  [[Reference>>||anchor="H7.1AdaptiveDataRate"]]
1275 -* AT+DR=5  [[Reference>>||anchor="H7.4DataRate"]]
1276 -* AT+TXP=0  [[Reference>>||anchor="H7.14TransmitPower"]]
1077 +* AT+ADR=0 [[Reference>>http://8.211.40.43:8080/xwiki/bin/view/End%20Device%20AT%20Commands%20and%20Downlink%20Command/#Adaptive_Data_Rate]]
1078 +* AT+DR=5 [[Reference>>url:https://wiki.dragino.com/index.php/End_Device_Downlink_Command#Data_Rate]]
1079 +* AT+TXP=0 [[Reference>>url:https://wiki.dragino.com/index.php/End_Device_Downlink_Command#Transmit_Power]]
image-20220526162535-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -149.4 KB
Content
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0