<
From version < 50.8 >
edited by Xiaoling
on 2022/07/13 13:34
To version < 51.2 >
edited by Xiaoling
on 2022/07/13 14:04
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -28,6 +28,7 @@
28 28  
29 29  
30 30  
31 +
31 31  = 3. Support End Node and firmware version =
32 32  
33 33  
... ... @@ -104,6 +104,7 @@
104 104  
105 105  
106 106  
108 +
107 107  = 4. System Management Commands =
108 108  
109 109  
... ... @@ -112,6 +112,7 @@
112 112  
113 113  Feature: Change LoRaWAN End Node Transmit Interval.
114 114  
117 +
115 115  (% style="color:blue" %)**AT Command: AT+TDC**
116 116  
117 117  (% border="1" style="background-color:#ffffcc; color:green; width:727.222px" %)
... ... @@ -141,8 +141,6 @@
141 141  * **Example 1**: Downlink Payload:** 0100001E** ~/~/ Set Transmit Interval (TDC) = 30 seconds
142 142  * **Example 2**: Downlink Payload:** 0100003C** ~/~/ Set Transmit Interval (TDC) = 60 seconds
143 143  
144 -
145 -
146 146  == 4.2 Reboot End Node ==
147 147  
148 148  
... ... @@ -151,7 +151,6 @@
151 151  
152 152  (% style="color:blue" %)**AT Command: ATZ**
153 153  
154 -
155 155  (% border="1" style="background-color:#ffffcc; color:green; width:727.222px" %)
156 156  |=(% colspan="3" %)ATZ: Trig a reset of the MCU
157 157  |**Command Example**|**Function**|**Response**
... ... @@ -169,10 +169,8 @@
169 169  <followed by the Tx and Rx information>
170 170  )))
171 171  
172 -
173 173  (% style="color:blue" %)**Downlink Command: 0x04**
174 174  
175 -
176 176  (((
177 177  Format: Command Code (0x04) followed by FF.
178 178  )))
... ... @@ -188,6 +188,7 @@
188 188  
189 189  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.
190 190  
189 +
191 191  (% style="color:blue" %)**AT Command: AT+FDR**
192 192  
193 193  (% border="1" style="background-color:#ffffcc; color:green; width:831.222px" %)
... ... @@ -207,10 +207,8 @@
207 207  Please set the parameters or reset Device to apply change
208 208  )))
209 209  
210 -
211 211  (% style="color:blue" %)**Downlink Command: 0x04**
212 212  
213 -
214 214  (((
215 215  Format: Command Code (0x04) followed by FE.
216 216  )))
... ... @@ -222,12 +222,12 @@
222 222  
223 223  == 4.4 Show Firmware Version ==
224 224  
222 +
225 225  Feature: Show firmware version. No downlink command yet.
226 226  
227 227  
228 228  (% style="color:blue" %)**AT Command: AT+VER**
229 229  
230 -
231 231  (% border="1" style="background-color:#ffffcc; color:green; width:586px" %)
232 232  |=(% colspan="3" style="width: 583px;" %)AT+VER: Image Version and Frequency Band
233 233  |(% style="width:170px" %)**Command Example**|(% style="width:300px" %)**Function**|(% style="width:113px" %)**Response**
... ... @@ -237,10 +237,8 @@
237 237  OK
238 238  )))
239 239  
240 -
241 241  (% style="color:blue" %)**Downlink Command: 0x26 (Valid in 006 stack)**
242 242  
243 -
244 244  (((
245 245  Downlink Format: 0x26
246 246  )))
... ... @@ -250,6 +250,9 @@
250 250  )))
251 251  
252 252  (((
248 +
249 +
250 +
253 253  **xx: Software Type:**
254 254  )))
255 255  
... ... @@ -258,6 +258,9 @@
258 258  * 0x00 03: LSE01/LDDS75/LDDS20/LSPH01/LLMS01/LSNPK01
259 259  
260 260  (((
259 +
260 +
261 +
261 261  **yy: Frequency Band:**
262 262  )))
263 263  
... ... @@ -273,6 +273,9 @@
273 273  * 0xa0: AS923-3
274 274  
275 275  (((
277 +
278 +
279 +
276 276  **zz: Subband**
277 277  )))
278 278  
... ... @@ -281,12 +281,12 @@
281 281  
282 282  == 4.5 Show System Configure ==
283 283  
288 +
284 284  Feature: Show All configure. No downlink command yet.
285 285  
286 286  
287 287  (% style="color:blue" %)**AT Command: AT+CFG**
288 288  
289 -
290 290  (% border="1" style="background-color:#ffffcc; color:green; width:599.222px" %)
291 291  |=(% colspan="3" style="width: 596px;" %)AT+CFG: Print all configurations
292 292  |(% style="width:160px" %)**Command Example**|(% style="width:154px" %)**Function**|(% style="width:280px" %)**Response**
... ... @@ -306,14 +306,15 @@
306 306  
307 307  = 5. Keys, IDs and EUIs management =
308 308  
313 +
309 309  == 5.1 Application EUI ==
310 310  
316 +
311 311  Feature: Get or Set the Application EUI.
312 312  
313 313  
314 314  (% style="color:blue" %)**AT Command: AT+APPEUI**
315 315  
316 -
317 317  (% border="1" style="background-color:#ffffcc; color:green; width:686.222px" %)
318 318  |=(% colspan="3" style="width: 683px;" %)AT+APPEUI
319 319  |(% style="width:305px" %)**Command Example**|(% style="width:186px" %)**Function**|(% style="width:191px" %)**Response**
... ... @@ -324,12 +324,12 @@
324 324  
325 325  == 5.2 Application Key ==
326 326  
332 +
327 327  Feature: Get or Set the Application Key.
328 328  
329 329  
330 330  (% style="color:blue" %)**AT Command: AT+APPKEY**
331 331  
332 -
333 333  (% border="1" style="background-color:#ffffcc; color:green; width:976.222px" %)
334 334  |=(% colspan="3" style="width: 973px;" %)AT+APPKEY
335 335  |(% style="width:441px" %)**Command Example**|(% style="width:180px" %)**Function**|(% style="width:350px" %)**Response**
... ... @@ -340,12 +340,12 @@
340 340  
341 341  == 5.3 Application Session Key ==
342 342  
348 +
343 343  Feature: Get or Set the Application Session Key.
344 344  
345 345  
346 346  (% style="color:blue" %)**AT Command: AT+APPSKEY**
347 347  
348 -
349 349  (% border="1" style="background-color:#ffffcc; color:green; width:1040.22px" %)
350 350  |=(% colspan="3" style="width: 1037px;" %)AT+APPSKEY
351 351  |(% style="width:451px" %)**Command Example**|(% style="width:231px" %)**Function**|(% style="width:354px" %)**Response**
... ... @@ -358,12 +358,12 @@
358 358  
359 359  == 5.4 Device Address ==
360 360  
366 +
361 361  Feature: Get or Set the Device Address.
362 362  
363 363  
364 364  (% style="color:blue" %)**AT Command: AT+DADDR**
365 365  
366 -
367 367  (% border="1" style="background-color:#ffffcc; color:green; width:795.222px" %)
368 368  |=(% colspan="3" style="width: 792px;" %)AT+DADDR
369 369  |(% style="width:192px" %)**Command Example**|(% style="width:241px" %)**Function**|(% style="width:359px" %)**Response**
... ... @@ -376,12 +376,12 @@
376 376  
377 377  == 5.5 Device EUI ==
378 378  
384 +
379 379  Feature: Get or Set the Device EUI.
380 380  
381 381  
382 382  (% style="color:blue" %)**AT Command: AT+DEUI**
383 383  
384 -
385 385  (% border="1" style="background-color:#ffffcc; color:green; width:1035.22px" %)
386 386  |=(% colspan="3" style="width: 1032px;" %)AT+DEUI
387 387  |(% style="width:250px" %)**Command Example**|(% style="width:147px" %)**Function**|(% style="width:634px" %)**Response**
... ... @@ -394,12 +394,12 @@
394 394  
395 395  == 5.6 Network ID ==
396 396  
402 +
397 397  Feature: Get or Set the Network ID.(You can enter this command change only after successful network connection)
398 398  
399 399  
400 400  (% style="color:blue" %)**AT Command: AT+NWKID**
401 401  
402 -
403 403  (% border="1" style="background-color:#ffffcc; color:green; width:448.222px" %)
404 404  |=(% colspan="3" style="width: 445px;" %)AT+NWKID
405 405  |(% style="width:191px" %)**Command Example**|(% style="width:153px" %)**Function**|(% style="width:101px" %)**Response**
... ... @@ -410,12 +410,12 @@
410 410  
411 411  == 5.7 Network Session Key ==
412 412  
418 +
413 413  Feature: Get or Set the Network Session Key
414 414  
415 415  
416 416  (% style="color:blue" %)**AT Command: AT+NWKSKEY**
417 417  
418 -
419 419  (% border="1" style="background-color:#ffffcc; color:green; width:1017.22px" %)
420 420  |=(% colspan="3" style="width: 1014px;" %)AT+NWKSKEY
421 421  |(% style="width:455px" %)**Command Example**|(% style="width:215px" %)**Function**|(% style="width:343px" %)**Response**
... ... @@ -426,16 +426,18 @@
426 426  
427 427  = 6. Joining and sending date on LoRaWAN network =
428 428  
434 +
429 429  == 6.1 Confirm Mode ==
430 430  
431 -=== AT+CFM command before DR-LWS007 software stack ===
432 432  
438 +=== 6.1.1  AT+CFM command before DR-LWS007 software stack ===
439 +
440 +
433 433  Feature: Get or Set the confirmation mode (0-1).
434 434  
435 435  
436 436  (% style="color:blue" %)**AT Command: AT+CFM**
437 437  
438 -
439 439  (% border="1" style="background-color:#ffffcc; color:green; width:710.222px" %)
440 440  |=(% colspan="3" style="width: 707px;" %)AT+CFM
441 441  |(% style="width:155px" %)**Command Example**|(% style="width:205px" %)**Function**|(% style="width:346px" %)**Response**
... ... @@ -454,12 +454,12 @@
454 454  * Example 1: Downlink Payload: 0501 ~/~/ Set AT+CFM=1
455 455  * Example 2: Downlink Payload: 0500 ~/~/ Set AT+CFM=0
456 456  
457 -=== AT+CFM command since DR-LWS007 software stack ===
458 458  
465 +=== 6.1.2  AT+CFM command since DR-LWS007 software stack ===
459 459  
467 +
460 460  (% style="color:blue" %)**AT Command: AT+CFM**
461 461  
462 -
463 463  (% border="1" style="background-color:#ffffcc; color:green; width:710.222px" %)
464 464  |=(% colspan="3" style="width: 707px;" %)AT+CFM
465 465  |(% style="width:160px" %)**Command Example**|(% style="width:198px" %)**Function**|(% style="width:349px" %)**Response**
... ... @@ -491,10 +491,8 @@
491 491  OK
492 492  )))
493 493  
494 -
495 495  (% style="color:blue" %)**Downlink Command: 0x05**
496 496  
497 -
498 498  Format: Command Code (0x05) followed by 2 bytes mode value.
499 499  
500 500  If the downlink payload=05010101, it means set end node to use confirm mode, while type code is 05.
... ... @@ -502,14 +502,15 @@
502 502  * Example 1: Downlink Payload: 05010101 ~/~/ Set AT+CFM=1,1,1
503 503  * Example 2: Downlink Payload: 05000700 ~/~/ Set AT+CFM=0,7,0
504 504  
510 +
505 505  == 6.2 Confirm Status ==
506 506  
513 +
507 507  Feature: Get confirmation status of the last AT+SEND (0-1).
508 508  
509 509  
510 510  (% style="color:blue" %)**AT Command: AT+CFS**
511 511  
512 -
513 513  (% border="1" style="background-color:#ffffcc; color:green; width:534.222px" %)
514 514  |=(% colspan="3" style="width: 531px;" %)AT+CFS
515 515  |(% style="width:156px" %)**Command Example**|(% style="width:193px" %)**Function**|(% style="width:178px" %)**Response**
... ... @@ -519,12 +519,12 @@
519 519  
520 520  == 6.3 Join LoRa® Network ==
521 521  
528 +
522 522  Feature: Join network.
523 523  
524 524  
525 525  (% style="color:blue" %)**AT Command: AT+JOIN**
526 526  
527 -
528 528  (% border="1" style="background-color:#ffffcc; color:green; width:647.222px" %)
529 529  |=(% colspan="3" style="width: 644px;" %)AT+JOIN
530 530  |(% style="width:163px" %)**Command Example**|(% style="width:147px" %)**Function**|(% style="width:334px" %)**Response**
... ... @@ -536,12 +536,12 @@
536 536  
537 537  == 6.4 LoRa® Network Join Mode ==
538 538  
545 +
539 539  Feature: Get or Set the Network Join Mode. (0: ABP, 1: OTAA).
540 540  
541 541  
542 542  (% style="color:blue" %)**AT Command: AT+NJM**
543 543  
544 -
545 545  (% border="1" style="background-color:#ffffcc; color:green; width:753.222px" %)
546 546  |=(% colspan="3" style="width: 750px;" %)AT+NJM
547 547  |(% style="width:162px" %)**Command Example**|(% style="width:227px" %)**Function**|(% style="width:361px" %)**Response**
... ... @@ -551,10 +551,8 @@
551 551  |(% style="width:162px" %)AT+NJM=0|(% style="width:227px" %)Set the Network Join Mode|(% style="width:361px" %)OK
552 552  |(% 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
553 553  
554 -
555 555  (% style="color:blue" %)**Downlink Command: 0x20**
556 556  
557 -
558 558  Format: Command Code (0x20) followed by 1 bytes mode value.
559 559  
560 560  If the downlink payload=2000, it means set the Network Join Mode, while type code is 20.
... ... @@ -562,14 +562,15 @@
562 562  * **Example 1: **Downlink Payload: **2000** ~/~/ Set AT+NJM=0
563 563  * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1
564 564  
569 +
565 565  == 6.5 LoRa® Network Join Status ==
566 566  
572 +
567 567  Feature: LoRa® Network Join Status.
568 568  
569 569  
570 570  (% style="color:blue" %)**AT Command: AT+NJS**
571 571  
572 -
573 573  (% border="1" style="background-color:#ffffcc; color:green; width:498.222px" %)
574 574  |=(% colspan="3" style="width: 495px;" %)AT+NJS
575 575  |(% style="width:169px" %)**Command Example**|(% style="width:164px" %)**Function**|(% style="width:161px" %)**Response**
... ... @@ -579,12 +579,12 @@
579 579  
580 580  == 6.6 Print Last Received Data in Raw Format ==
581 581  
587 +
582 582  Feature: Print Last Received Data in Raw Format<port:data>.
583 583  
584 584  
585 585  (% style="color:blue" %)**AT Command: AT+RECV**
586 586  
587 -
588 588  (% border="1" style="background-color:#ffffcc; color:green; width:587.222px" %)
589 589  |=(% colspan="3" style="width: 584px;" %)AT+RECV
590 590  |(% style="width:161px" %)**Command Example**|(% style="width:272px" %)**Function**|(% style="width:150px" %)**Response**
... ... @@ -594,12 +594,12 @@
594 594  
595 595  == 6.7 Print Last Received Data in Binary Format ==
596 596  
602 +
597 597  Feature: Print Last Received Data in Binary Format<port:data>.
598 598  
599 599  
600 600  (% style="color:blue" %)**AT Command: AT+RECVB**
601 601  
602 -
603 603  (% border="1" style="background-color:#ffffcc; color:green; width:793.222px" %)
604 604  |=(% colspan="3" style="width: 790px;" %)AT+RECVB
605 605  |(% style="width:173px" %)**Command Example**|(% style="width:497px" %)**Function**|(% style="width:120px" %)**Response**
... ... @@ -609,12 +609,12 @@
609 609  
610 610  == 6.8 Send Text Data ==
611 611  
617 +
612 612  Feature: Send Text Data<port:data>.
613 613  
614 614  
615 615  (% style="color:blue" %)**AT Command: AT+SEND**
616 616  
617 -
618 618  (% border="1" style="background-color:#ffffcc; color:green; width:991.222px" %)
619 619  |=(% colspan="3" style="width: 988px;" %)AT+SEND
620 620  |(% style="width:201px" %)**Command Example**|(% style="width:340px" %)**Function**|(% style="width:446px" %)**Response**
... ... @@ -628,12 +628,12 @@
628 628  
629 629  == 6.9 Send Hexadecimal Data ==
630 630  
636 +
631 631  Feature: Send hexadecimal data along with the application port.
632 632  
633 633  
634 634  (% style="color:blue" %)**AT Command: AT+SENDB**
635 635  
636 -
637 637  (% border="1" style="background-color:#ffffcc; color:green; width:1120.22px" %)
638 638  |=(% colspan="3" style="width: 1117px;" %)AT+SENDB
639 639  |(% style="width:257px" %)**Command Example**|(% style="width:406px" %)**Function**|(% style="width:453px" %)**Response**
... ... @@ -646,14 +646,15 @@
646 646  
647 647  = 7. LoRaWAN network management =
648 648  
654 +
649 649  == 7.1 Adaptive Data Rate ==
650 650  
657 +
651 651  Feature: Get or Set the Adaptive Data Rate setting. (0: off, 1: on).
652 652  
653 653  
654 654  (% style="color:blue" %)**AT Command: AT+ADR**
655 655  
656 -
657 657  (% border="1" style="background-color:#ffffcc; color:green; width:683.222px" %)
658 658  |=(% colspan="3" style="width: 680px;" %)AT+ADR
659 659  |(% style="width:162px" %)**Command Example**|(% style="width:266px" %)**Function**|(% style="width:250px" %)**Response**
... ... @@ -665,24 +665,22 @@
665 665  AT_PARAM_ERROR
666 666  )))
667 667  
668 -
669 669  (% style="color:blue" %)**Downlink Command: 0x22**
670 670  
671 -
672 -
673 673  If the downlink payload=2201, it means setting the adaptive data rate to 1, while type code is 22.
674 674  
675 -* **Example 1**: Downlink Payload: **2201** ~/~/ Set AT+ADR=1.
678 +* **Example 1**: Downlink Payload: **2201**  ~/~/ Set AT+ADR=1.
676 676  * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0.
677 677  
681 +
678 678  == 7.2 LoRa® Class ==
679 679  
684 +
680 680  Feature: Get or Set the Device Class(Currently only support class A, class C).
681 681  
682 682  
683 683  (% style="color:blue" %)**AT Command:AT+CLASS**
684 684  
685 -
686 686  (% border="1" style="background-color:#ffffcc; color:green; width:507.222px" %)
687 687  |=(% colspan="3" style="width: 504px;" %)AT+CLASS
688 688  |(% style="width:163px" %)**Command Example**|(% style="width:166px" %)**Function**|(% style="width:175px" %)**Response**
... ... @@ -695,12 +695,12 @@
695 695  
696 696  == 7.3 Duty Cycle Setting ==
697 697  
702 +
698 698  Feature: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing.
699 699  
700 700  
701 701  (% style="color:blue" %)**AT Command:AT+DCS**
702 702  
703 -
704 704  (% border="1" style="background-color:#ffffcc; color:green; width:515.222px" %)
705 705  |=(% colspan="3" style="width: 512px;" %)AT+DCS
706 706  |(% style="width:165px" %)**Command Example**|(% style="width:239px" %)**Function**|(% style="width:107px" %)**Response**
... ... @@ -713,12 +713,12 @@
713 713  
714 714  == 7.4 Data Rate ==
715 715  
720 +
716 716  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
717 717  
718 718  
719 719  (% style="color:blue" %)**AT Command: AT+DR**
720 720  
721 -
722 722  (% border="1" style="background-color:#ffffcc; color:green; width:466.222px" %)
723 723  |=(% colspan="3" style="width: 463px;" %)AT+DR
724 724  |(% style="width:156px" %)**Command Example**|(% style="width:167px" %)**Function**|(% style="width:140px" %)**Response**
... ... @@ -729,24 +729,22 @@
729 729  
730 730  )))
731 731  
732 -
733 733  (% style="color:blue" %)**Downlink Command: 0x2200aaFF**
734 734  
735 -
736 -
737 737  If the downlink payload=220001FF, it means setting the data rate to 1, while type code is 22 00 aa FF.
738 738  
739 739  * **Example 1**: Downlink Payload: **220001FF** ~/~/ Set AT+DR=1.
740 740  * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0.
741 741  
743 +
742 742  == 7.5 Frame Counter Downlink ==
743 743  
746 +
744 744  Feature: Get or Set the Frame Counter Downlink.
745 745  
746 746  
747 747  (% style="color:blue" %)**AT Command:AT+FCD**
748 748  
749 -
750 750  (% border="1" style="background-color:#ffffcc; color:green; width:693.222px" %)
751 751  |=(% colspan="3" style="width: 690px;" %)AT+FCD
752 752  |(% style="width:162px" %)**Command Example**|(% style="width:258px" %)**Function**|(% style="width:269px" %)**Response**
... ... @@ -755,8 +755,6 @@
755 755  )))
756 756  |(% style="width:162px" %)AT+FCD=10|(% style="width:258px" %)Set the Frame Counter Downlink.|(% style="width:269px" %)(System will write new value to FCD)(((
757 757  OK
758 -
759 -
760 760  )))
761 761  
762 762  == 7.6 Frame Counter Uplink ==
... ... @@ -766,7 +766,6 @@
766 766  
767 767  (% style="color:blue" %)**AT Command:AT+FCU**
768 768  
769 -
770 770  (% border="1" style="background-color:#ffffcc; color:green; width:534.222px" %)
771 771  |=(% colspan="3" style="width: 531px;" %)AT+FCU
772 772  |(% style="width:177px" %)**Command Example**|(% style="width:239px" %)**Function**|(% style="width:113px" %)**Response**
... ... @@ -779,12 +779,12 @@
779 779  
780 780  == 7.7 Join Accept Delay1 ==
781 781  
781 +
782 782  Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms.
783 783  
784 784  
785 785  (% style="color:blue" %)**AT Command:AT+JN1DL**
786 786  
787 -
788 788  (% border="1" style="background-color:#ffffcc; color:green; width:537.222px" %)
789 789  |=(% colspan="3" style="width: 534px;" %)AT+JN1DL
790 790  |(% style="width:164px" %)**Command Example**|(% style="width:229px" %)**Function**|(% style="width:140px" %)**Response**
... ... @@ -802,7 +802,6 @@
802 802  
803 803  (% style="color:blue" %)**AT Command:AT+JN2DL**
804 804  
805 -
806 806  (% border="1" style="background-color:#ffffcc; color:green; width:538.222px" %)
807 807  |=(% colspan="3" style="width: 535px;" %)AT+JN2DL
808 808  |(% style="width:160px" %)**Command Example**|(% style="width:228px" %)**Function**|(% style="width:146px" %)**Response**
... ... @@ -815,14 +815,14 @@
815 815  
816 816  == 7.9 Public Network Mode ==
817 817  
816 +
818 818  Feature: Get or Set the public network mode. (0: off, 1: on). A Public LoRaWAN network use 0x34 as syncword. Default Settings; PNM=1
819 819  
820 -Notice: If user build their own LoRaWAN server but still use syncword=0x34, this is still considered a public LoRaWAN network
819 +(% style="color:red" %)Notice: If user build their own LoRaWAN server but still use syncword=0x34, this is still considered a public LoRaWAN network
821 821  
822 822  
823 823  (% style="color:blue" %)**AT Command:AT+PNM**
824 824  
825 -
826 826  (% border="1" style="background-color:#ffffcc; color:green; width:667.222px" %)
827 827  |=(% colspan="3" style="width: 664px;" %)AT+PNM
828 828  |(% style="width:166px" %)**Command Example**|(% style="width:225px" %)**Function**|(% style="width:272px" %)**Response**
... ... @@ -842,12 +842,12 @@
842 842  
843 843  == 7.10 Receive Delay1 ==
844 844  
843 +
845 845  Feature: Get or Set the delay between the end of the Tx and the Rx Window 1 in ms
846 846  
847 847  
848 848  (% style="color:blue" %)**AT Command:AT+RX1DL**
849 849  
850 -
851 851  (% border="1" style="background-color:#ffffcc; color:green; width:408.222px" %)
852 852  |=(% colspan="3" style="width: 405px;" %)AT+RX1DL
853 853  |(% style="width:155px" %)**Command Example**|(% style="width:128px" %)**Function**|(% style="width:122px" %)**Response**
... ... @@ -858,14 +858,15 @@
858 858  
859 859  )))
860 860  
859 +
861 861  == 7.11 Receive Delay2 ==
862 862  
862 +
863 863  Feature: Get or Set the delay between the end of the Tx and the Rx Window 2 in ms
864 864  
865 865  
866 866  (% style="color:blue" %)**AT Command:AT+RX2DL**
867 867  
868 -
869 869  (% border="1" style="background-color:#ffffcc; color:green; width:481.222px" %)
870 870  |=(% colspan="3" style="width: 478px;" %)AT+RX2DL
871 871  |(% style="width:175px" %)**Command Example**|(% style="width:152px" %)**Function**|(% style="width:150px" %)**Response**
... ... @@ -876,14 +876,15 @@
876 876  
877 877  )))
878 878  
878 +
879 879  == 7.12 Rx2 Window Data Rate ==
880 880  
881 +
881 881  Feature: Get or Set the Rx2 window data rate (0-7 corresponding to DR_X)
882 882  
883 883  
884 884  (% style="color:blue" %)**AT Command:AT+RX2DR**
885 885  
886 -
887 887  (% border="1" style="background-color:#ffffcc; color:green; width:525.222px" %)
888 888  |=(% colspan="3" style="width: 522px;" %)AT+RX2DR
889 889  |(% style="width:160px" %)**Command Example**|(% style="width:232px" %)**Function**|(% style="width:130px" %)**Response**
... ... @@ -894,14 +894,15 @@
894 894  
895 895  )))
896 896  
897 +
897 897  == 7.13 Rx2 Window Frequency ==
898 898  
900 +
899 899  Feature: Get or Set the Rx2 window frequency
900 900  
901 901  
902 902  (% style="color:blue" %)**AT Command:AT+RX2FQ**
903 903  
904 -
905 905  (% border="1" style="background-color:#ffffcc; color:green; width:587.222px" %)
906 906  |=(% colspan="3" style="width: 584px;" %)AT+RX2FQ
907 907  |(% style="width:183px" %)**Command Example**|(% style="width:240px" %)**Function**|(% style="width:160px" %)**Response**
... ... @@ -912,14 +912,15 @@
912 912  
913 913  )))
914 914  
916 +
915 915  == 7.14 Transmit Power ==
916 916  
919 +
917 917  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. )
918 918  
919 919  
920 920  (% style="color:blue" %)**AT Command:AT+TXP**
921 921  
922 -
923 923  (% border="1" style="background-color:#ffffcc; color:green; width:465.222px" %)
924 924  |=(% colspan="3" style="width: 462px;" %)AT+TXP
925 925  |(% style="width:161px" %)**Command Example**|(% style="width:189px" %)**Function**|(% style="width:112px" %)**Response**
... ... @@ -937,14 +937,16 @@
937 937  * **Example 1**: Downlink Payload: **22000102** ~/~/ Set AT+TXP=2.
938 938  * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+TXP=0.
939 939  
942 +
943 +
940 940  == 7.15 RSSI of the Last Received Packet ==
941 941  
946 +
942 942  Feature: Get or Set the Rx2 window frequency
943 943  
944 944  
945 945  (% style="color:blue" %)**AT Command:AT+RSSI**
946 946  
947 -
948 948  (% border="1" style="background-color:#ffffcc; color:green; width:557.222px" %)
949 949  |=(% colspan="3" style="width: 554px;" %)AT+RSSI
950 950  |(% style="width:164px" %)**Command Example**|(% style="width:289px" %)**Function**|(% style="width:100px" %)**Response**
... ... @@ -952,14 +952,15 @@
952 952  OK
953 953  )))
954 954  
959 +
955 955  == 7.16 SNR of the Last Received Packet ==
956 956  
962 +
957 957  Feature: Get the SNR of the last received packet
958 958  
959 959  
960 960  (% style="color:blue" %)**AT Command:AT+SNR**
961 961  
962 -
963 963  (% border="1" style="background-color:#ffffcc; color:green; width:571.222px" %)
964 964  |=(% colspan="3" style="width: 568px;" %)AT+SNR
965 965  |(% style="width:164px" %)**Command Example**|(% style="width:290px" %)**Function**|(% style="width:113px" %)**Response**
... ... @@ -967,14 +967,15 @@
967 967  OK
968 968  )))
969 969  
975 +
970 970  == 7.17 Application Port ==
971 971  
978 +
972 972  Feature: Get or set the application port.
973 973  
974 974  
975 975  (% style="color:blue" %)**AT Command: AT+PORT**
976 976  
977 -
978 978  (% border="1" style="background-color:#ffffcc; color:green; width:500.222px" %)
979 979  |=(% colspan="3" style="width: 497px;" %)AT+PORT
980 980  |(% style="width:157px" %)**Command Example**|(% style="width:204px" %)**Function**|(% style="width:135px" %)**Response**
... ... @@ -983,10 +983,8 @@
983 983  )))
984 984  |(% style="width:157px" %)AT+PORT=21|(% style="width:204px" %)Set the application port|(% style="width:135px" %)OK
985 985  
986 -
987 987  (% style="color:blue" %)**Downlink Command: 0x23**
988 988  
989 -
990 990  Format: Command Code (0x23) followed by 1 bytes port value.
991 991  
992 992  If the downlink payload=2301, it means set the application port to 1, while type code is 23.
... ... @@ -994,14 +994,16 @@
994 994  * **Example 1**: Downlink Payload: **2301** ~/~/ set the application port to 1
995 995  * **Example 2**: Downlink Payload:** 2305** ~/~/ set the application port to 5
996 996  
1001 +
1002 +
997 997  == 7.18 Single Channel Mode ==
998 998  
1005 +
999 999  Feature:Get or Set Frequency (Unit: Hz) for Single Channel Mode.
1000 1000  
1001 1001  
1002 1002  (% style="color:blue" %)**AT Command: AT+CHS**
1003 1003  
1004 -
1005 1005  (% border="1" style="background-color:#ffffcc; color:green; width:603.222px" %)
1006 1006  |=(% colspan="3" style="width: 600px;" %)AT+CHS
1007 1007  |(% style="width:182px" %)**Command Example**|(% style="width:295px" %)**Function**|(% style="width:122px" %)**Response**
... ... @@ -1010,6 +1010,7 @@
1010 1010  )))
1011 1011  |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK
1012 1012  
1019 +
1013 1013  == 7.19 Eight Channel Mode ==
1014 1014  
1015 1015  Feature: Get or Set eight channels mode,Only for US915,AU915,CN470.
... ... @@ -1017,7 +1017,6 @@
1017 1017  
1018 1018  (% style="color:blue" %)**AT Command: AT+CHE**
1019 1019  
1020 -
1021 1021  (% border="1" style="background-color:#ffffcc; color:green; width:710.222px" %)
1022 1022  |=(% colspan="3" style="width: 707px;" %)AT+CHE
1023 1023  |(% style="width:160px" %)**Command Example**|(% style="width:198px" %)**Function**|(% style="width:349px" %)**Response**
... ... @@ -1028,10 +1028,8 @@
1028 1028  )))
1029 1029  |(% style="width:160px" %)AT+CHE=1|(% style="width:198px" %)Set eight channels mode|(% style="width:349px" %)OK
1030 1030  
1031 -
1032 1032  (% style="color:blue" %)**Downlink Command: 0x24**
1033 1033  
1034 -
1035 1035  Format: Command Code (0x24) followed by 1 bytes channel value.
1036 1036  
1037 1037  If the downlink payload=2401, it means set channel mode to 1, while type code is 24.
... ... @@ -1039,14 +1039,16 @@
1039 1039  * **Example 1**: Downlink Payload: 2401 ~/~/ set channel mode to 1
1040 1040  * **Example 2**: Downlink Payload: 2405 ~/~/ set channel mode to 5
1041 1041  
1046 +
1047 +
1042 1042  == 7.20 Get or Set RXwindows1 timeout ==
1043 1043  
1044 -Feature:Get or Set the number of symbols to detect and timeout from RXwindow1(0 to 255).
1045 1045  
1051 +Feature: Get or Set the number of symbols to detect and timeout from RXwindow1(0 to 255).
1046 1046  
1053 +
1047 1047  (% style="color:blue" %)**AT Command: AT+RX1WTO**
1048 1048  
1049 -
1050 1050  (% border="1" style="background-color:#ffffcc; color:green; width:460.222px" %)
1051 1051  |=(% colspan="3" style="width: 457px;" %)AT+ RX1WTO
1052 1052  |(% style="width:163px" %)**Command Example**|(% style="width:201px" %)**Function**|(% style="width:93px" %)**Response**
... ... @@ -1056,11 +1056,16 @@
1056 1056  |(% style="width:163px" %)AT+RX1WTO=60|(% style="width:201px" %)Set RXwindows1 timeout|(% style="width:93px" %)OK
1057 1057  
1058 1058  (((
1065 +
1066 +
1059 1059  **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.
1068 +
1069 +
1060 1060  )))
1061 1061  
1062 1062  [[image:image-20220526162535-1.png]]
1063 1063  
1074 +
1064 1064  (((
1065 1065  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.
1066 1066  
... ... @@ -1069,12 +1069,12 @@
1069 1069  
1070 1070  == 7.21 Get or Set RXwindows2 timeout ==
1071 1071  
1072 -Feature:Get or Set the number of symbols to detect and timeout from RXwindow2(0 to 255).
1073 1073  
1084 +Feature: Get or Set the number of symbols to detect and timeout from RXwindow2(0 to 255).
1074 1074  
1086 +
1075 1075  (% style="color:blue" %)**AT Command: AT+RX2WTO**
1076 1076  
1077 -
1078 1078  (% border="1" style="background-color:#ffffcc; color:green; width:497.222px" %)
1079 1079  |=(% colspan="3" style="width: 494px;" %)AT+ RX2WTO
1080 1080  |(% style="width:190px" %)**Command Example**|(% style="width:199px" %)**Function**|(% style="width:104px" %)**Response**
... ... @@ -1083,14 +1083,15 @@
1083 1083  )))
1084 1084  |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK
1085 1085  
1097 +
1086 1086  == 7.22 Setting up uplinkdwelltime (as923, au915) ==
1087 1087  
1100 +
1088 1088  Feature: Get or Set uplinkdwelltime
1089 1089  
1090 1090  
1091 1091  (% style="color:blue" %)**AT Command: AT+DWELLT**
1092 1092  
1093 -
1094 1094  (% border="1" style="background-color:#ffffcc; color:green; width:497.222px" %)
1095 1095  |=(% colspan="3" style="width: 494px;" %)AT+DWELLT
1096 1096  |(% style="width:183px" %)**Command Example**|(% style="width:179px" %)**Function**|(% style="width:131px" %)**Response**
... ... @@ -1099,10 +1099,8 @@
1099 1099  )))
1100 1100  |(% style="width:183px" %)AT+DWELLT=0|(% style="width:179px" %)Set uplinkdwelltime|(% style="width:131px" %)OK
1101 1101  
1102 -
1103 1103  (% style="color:blue" %)**Downlink Command: 0x25**
1104 1104  
1105 -
1106 1106  Format: Command Code (0x25) followed by 1 bytes state value.
1107 1107  
1108 1108  If the downlink payload=2501, it means set uplinkdwelltime to 1, while type code is 25.
... ... @@ -1110,10 +1110,14 @@
1110 1110  * **Example 1**: Downlink Payload: **2501** ~/~/ set uplinkdwelltime to 1
1111 1111  * **Example 2**: Downlink Payload: **2500** ~/~/ set uplinkdwelltime to 0
1112 1112  
1123 +
1124 +
1113 1113  == 7.23 Set Packet Receiving Response Level ==
1114 1114  
1127 +
1115 1115  Feature: Get or Set packet receiving response level. This feature is used to set compatible with different LoRaWAN servers. If RPL doesn;t match , user will see strange message in the server portal.
1116 1116  
1130 +
1117 1117  RPL value:
1118 1118  
1119 1119  * **AT+RPL=0:** Device won't immediately reply any downlink commands from platform.
... ... @@ -1122,6 +1122,7 @@
1122 1122  * **AT+RPL=3:** Device will immediately reply message to MAC Command. Payload is 0x00 and requied response header for this command.
1123 1123  * **AT+RPL=4: **Device will immediately reply message to Confirmed Data Down & MAC Command. Payload is 0x00 and requied response header for these two commands.
1124 1124  
1139 +
1125 1125  Case Analyes:
1126 1126  
1127 1127  * For Class A devices, AT+RPL=0 is ok. that is defaut settings in software.
... ... @@ -1131,7 +1131,6 @@
1131 1131  
1132 1132  (% style="color:blue" %)**AT Command: AT+RPL**
1133 1133  
1134 -
1135 1135  (% border="1" style="background-color:#ffffcc; color:green; width:536.222px" %)
1136 1136  |=(% colspan="3" style="width: 533px;" %)AT+RPL
1137 1137  |(% style="width:160px" %)**Command Example**|(% style="width:263px" %)**Function**|(% style="width:109px" %)**Response**
... ... @@ -1140,9 +1140,7 @@
1140 1140  )))
1141 1141  |(% style="width:160px" %)AT+RPL=0|(% style="width:263px" %)Set packet receiving response level|(% style="width:109px" %)OK
1142 1142  
1143 -{{info}}
1144 -**Downlink Command: 0x21**
1145 -{{/info}}
1157 +(% style="color:blue" %)**Downlink Command: 0x21**
1146 1146  
1147 1147  Format: Command Code (0x21) followed by 1 bytes level value.
1148 1148  
... ... @@ -1151,12 +1151,13 @@
1151 1151  * **Example 1**: Downlink Payload: **2101** ~/~/ set packet receiving response level to 1
1152 1152  * **Example 2**: Downlink Payload: **2102** ~/~/ set packet receiving response level to 2
1153 1153  
1166 +
1167 +
1154 1154  == 7.24 Controls NBTrans in unconfirmed uplink mode(LWS007 NBTrans:Set retransmission packets) ==
1155 1155  
1156 -{{info}}
1157 -**AT Command: AT+SETMAXNBTRANS **
1158 -{{/info}}
1159 1159  
1171 +(% style="color:blue" %)**AT Command: AT+SETMAXNBTRANS **
1172 +
1160 1160  (% border="1" style="background-color:#ffffcc; color:green; width:536.222px" %)
1161 1161  |=(% colspan="3" style="width: 533px;" %)AT+**SETMAXNBTRANS**
1162 1162  |(% style="width:160px" %)**Command Example**|(% style="width:263px" %)**Function**|(% style="width:109px" %)**Response**
... ... @@ -1169,9 +1169,7 @@
1169 1169  OK
1170 1170  )))
1171 1171  
1172 -{{info}}
1173 -**Downlink Command: 0x33**
1174 -{{/info}}
1185 +(% style="color:blue" %)**Downlink Command: 0x33**
1175 1175  
1176 1176  Format: Command Code (0x33) followed by 2 bytes mode value.
1177 1177  
... ... @@ -1180,12 +1180,13 @@
1180 1180  * Example 1: Downlink Payload: 330100 ~/~/ Set AT+SETMAXNBTRANS=1,0
1181 1181  * Example 2: Downlink Payload: 330201 ~/~/ Set AT+SETMAXNBTRANS=2,1
1182 1182  
1194 +
1195 +
1183 1183  == 7.25 Device offline rejoining (LWS007) ==
1184 1184  
1185 -{{info}}
1186 -**AT Command: AT+DDETECT**
1187 -{{/info}}
1188 1188  
1199 +(% style="color:blue" %)**AT Command: AT+DDETECT**
1200 +
1189 1189  (% border="1" style="background-color:#ffffcc; color:green; width:710.222px" %)
1190 1190  |=(% colspan="3" style="width: 707px;" %)AT+**DDETECT**
1191 1191  |(% style="width:160px" %)**Command Example**|(% style="width:198px" %)**Function**|(% style="width:349px" %)**Response**
... ... @@ -1217,9 +1217,7 @@
1217 1217  OK
1218 1218  )))
1219 1219  
1220 -{{info}}
1221 -**Downlink Command: 0x33**
1222 -{{/info}}
1232 +(% style="color:blue" %)**Downlink Command: 0x33**
1223 1223  
1224 1224  Format: Command Code (0x32) followed by 2 bytes mode value.
1225 1225  
... ... @@ -1227,12 +1227,13 @@
1227 1227  
1228 1228  * Example 1: Downlink Payload: 320105A00B40 ~/~/ Set AT+DDETECT=1,1440,2880
1229 1229  
1240 +
1241 +
1230 1230  == 7.26 Request the server to send an ACK ==
1231 1231  
1232 -{{info}}
1233 -**AT Command: AT+PNACKMD**
1234 -{{/info}}
1235 1235  
1245 +(% style="color:blue" %)**AT Command: AT+PNACKMD**
1246 +
1236 1236  (% border="1" style="background-color:#ffffcc; color:green; width:536.222px" %)
1237 1237  |=(% colspan="3" style="width: 533px;" %)**AT+PNACKMD**
1238 1238  |(% style="width:160px" %)**Command Example**|(% style="width:263px" %)**Function**|(% style="width:109px" %)**Response**
... ... @@ -1245,12 +1245,12 @@
1245 1245  OK
1246 1246  )))
1247 1247  
1259 +
1248 1248  == 7.27 Adjust network rejoining interval ==
1249 1249  
1250 -{{info}}
1251 -**AT Command: AT+RJTDC**
1252 -{{/info}}
1253 1253  
1263 +(% style="color:blue" %)**AT Command: AT+RJTDC**
1264 +
1254 1254  (% border="1" style="background-color:#ffffcc; color:green; width:727.222px" %)
1255 1255  |=(% colspan="3" style="width: 724px;" %)AT+RJTDC
1256 1256  |(% style="width:165px" %)**Command Example**|(% style="width:227px" %)**Function**|(% style="width:329px" %)**Response**
... ... @@ -1263,9 +1263,7 @@
1263 1263  Set the ReJoin data transmission interval to 60000ms = 60 seconds
1264 1264  )))
1265 1265  
1266 -{{info}}
1267 -**Downlink Command: 0x26**
1268 -{{/info}}
1277 +(% style="color:blue" %)**Downlink Command: 0x26**
1269 1269  
1270 1270  Format: Command Code (0x26) followed by 2 bytes mode value.
1271 1271  
... ... @@ -1274,22 +1274,26 @@
1274 1274  * Example 1: Downlink Payload: 26000A ~/~/ Set AT+RJTDC=10
1275 1275  * Example 2: Downlink Payload: 260002 ~/~/ Set AT+RJTDC=2
1276 1276  
1286 +
1287 +
1277 1277  = 8. AT Commands Combination =
1278 1278  
1290 +
1279 1279  == 8.1 Set a fix RX2DR for downlink window ==
1280 1280  
1281 -* **AT+ADR=0 **~-~-> Disable ADR first
1282 -* **AT+RX2DR=xxxx** ~-~-> Set xxxx to your wanted DataRate
1283 1283  
1294 +* **AT+ADR=0             ** **~-~->**  Disable ADR first
1295 +* **AT+RX2DR=xxxx**  **~-~->**  Set xxxx to your wanted DataRate
1296 +
1297 +
1298 +
1284 1284  == 8.2 Use Downlink Command to set a fix uplink DR ==
1285 1285  
1286 -{{info}}
1287 -**Downlink Command: 0x22000500**
1288 -{{/info}}
1289 1289  
1290 -Same as:
1302 +(% style="color:blue" %)**Downlink Command: 0x22000500**
1291 1291  
1304 +**Same as:**
1305 +
1292 1292  * AT+ADR=0  [[Reference>>||anchor="H7.1AdaptiveDataRate"]]
1293 1293  * AT+DR=5  [[Reference>>||anchor="H7.4DataRate"]]
1294 -* AT+TXP=0  [[Reference>>||anchor="H7.14TransmitPower"]]
1295 -~)~)~)
1308 +* AT+TXP=0  [[Reference>>||anchor="H7.14TransmitPower"]]
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0