<
From version < 79.1
edited by kai
on 2024/09/06 10:00
To version < 63.44 >
edited by Xiaoling
on 2023/05/29 15:22
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.kai
1 +XWiki.Xiaoling
Content
... ... @@ -21,7 +21,7 @@
21 21  = 2. How to use AT Commands or Downlink command =
22 22  
23 23  
24 -* **AT Command** : See Devices User Manual for how to connect to device via USB TTL adapter and use. The user manual can be found in each product page of **[[Dragino Products User Manual>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/]]**.
24 +* **AT Command** : See Devices User Manual for how to connect to device via USB TTL adapter and use. The user manual can be found in each product page of [[Dragino Official Website>>url:http://www.dragino.com/]]
25 25  
26 26  * **LoRaWAN Downlink Command**: The gateway transfer downlink command in HEX format. This page shows the Downlink Command In HEX format. Please note some LoRaWAN servers use base64 as downlink code so user need to convert HEX to Base64 and use. Below are references for how to use downlink command:
27 27  ** Use HEX format to send a downlink: [[TTN v3>>Notes for TTN]]
... ... @@ -225,11 +225,11 @@
225 225  (% style="color:blue" %)**Downlink Command: 0x26 (Valid in 006 stack)**
226 226  
227 227  (((
228 -Format: Command Code (0x26) followed by 1 byte.
228 +Downlink Format: 0x26
229 229  )))
230 230  
231 231  (((
232 -If the downlink payload=**2601, **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(  FPort= 5 usually).
232 +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
233 233  )))
234 234  
235 235  (((
... ... @@ -438,7 +438,7 @@
438 438  
439 439  (% style="color:blue" %)**Downlink Command: 0x05**
440 440  
441 -Format: Command Code (0x05) followed by 1 byte mode value.
441 +Format: Command Code (0x05) followed by 2 bytes mode value.
442 442  
443 443  If the downlink payload=0501, it means set end node to use confirm mode, while type code is 05.
444 444  
... ... @@ -453,13 +453,13 @@
453 453  
454 454  (% style="color:blue" %)**AT Command: AT+CFM**
455 455  
456 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:462px" %)
457 -|(% style="background-color:#4f81bd; color:white; width:160px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:198px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:100px" %)**Response**
456 +(% border="1" style="background-color:#f2f2f2; width:710.222px" %)
457 +|(% style="background-color:#4f81bd; color:white; width:160px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:198px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:349px" %)**Response**
458 458  |(% style="width:160px" %)(((
459 459  AT+CFM=1,0,0
460 460  
461 461  value1
462 -)))|(% style="width:198px" %)confirmed uplink|(% style="width:100px" %)(((
462 +)))|(% style="width:198px" %)confirmed uplink|(% style="width:349px" %)(((
463 463  1
464 464  
465 465  OK
... ... @@ -468,7 +468,7 @@
468 468  AT+CFM=0,?,0
469 469  
470 470  value2
471 -)))|(% style="width:198px" %)set max retry , range: 0 ~~ 7|(% style="width:100px" %)(((
471 +)))|(% style="width:198px" %)set max retry , range: 0 ~~ 7|(% style="width:349px" %)(((
472 472  0~~7
473 473  
474 474  OK
... ... @@ -477,7 +477,7 @@
477 477  AT+CFM=0,0,1
478 478  
479 479  value3
480 -)))|(% style="width:198px" %)uplink fcnt increase by 1 for each retry|(% style="width:100px" %)(((
480 +)))|(% style="width:198px" %)uplink fcnt increase by 1 for each retry|(% style="width:349px" %)(((
481 481  1
482 482  
483 483  OK
... ... @@ -485,7 +485,7 @@
485 485  
486 486  (% style="color:blue" %)**Downlink Command: 0x05**
487 487  
488 -Format: Command Code (0x05) followed by 3 bytes mode value.
488 +Format: Command Code (0x05) followed by 2 bytes mode value.
489 489  
490 490  If the downlink payload=05010101, it means set end node to use confirm mode, while type code is 05.
491 491  
... ... @@ -503,7 +503,7 @@
503 503  
504 504  (% style="color:blue" %)**AT Command: AT+CFS**
505 505  
506 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:463px" %)
506 +(% border="1" style="background-color:#f2f2f2; width:463px" %)
507 507  |(% style="background-color:#4f81bd; color:white; width:156px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:193px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:107px" %)**Response**
508 508  |(% style="width:156px" %)AT+CFS=?|(% style="width:193px" %)Get confirmation status|(% style="width:107px" %)0(((
509 509  OK
... ... @@ -519,7 +519,7 @@
519 519  
520 520  (% style="color:blue" %)**AT Command: AT+JOIN**
521 521  
522 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:647.222px" %)
522 +(% border="1" style="background-color:#f2f2f2; width:647.222px" %)
523 523  |(% style="background-color:#4f81bd; color:white; width:163px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:147px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:334px" %)**Response**
524 524  |(% style="width:163px" %)AT+JOIN ?|(% style="width:147px" %)Get imformation.|(% style="width:334px" %)AT+JOIN: Join network(((
525 525  OK
... ... @@ -536,7 +536,7 @@
536 536  
537 537  (% style="color:blue" %)**AT Command: AT+NJM**
538 538  
539 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:753.222px" %)
539 +(% border="1" style="background-color:#f2f2f2; width:753.222px" %)
540 540  |(% style="background-color:#4f81bd; color:white; width:162px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:227px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:361px" %)**Response**
541 541  |(% style="width:162px" %)AT+NJM=?|(% style="width:227px" %)Get the Network Join Mode|(% style="width:361px" %)1(((
542 542  OK
... ... @@ -564,9 +564,9 @@
564 564  
565 565  (% style="color:blue" %)**AT Command: AT+NJS**
566 566  
567 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:435px" %)
568 -|(% style="background-color:#4f81bd; color:white; width:169px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:164px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:97px" %)**Response**
569 -|(% style="width:169px" %)AT+NJS=?|(% style="width:164px" %)Get the join status.|(% style="width:97px" %)0(((
567 +(% border="1" style="background-color:#f2f2f2; width:498.222px" %)
568 +|(% style="background-color:#4f81bd; color:white; width:169px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:164px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:161px" %)**Response**
569 +|(% style="width:169px" %)AT+NJS=?|(% style="width:164px" %)Get the join status.|(% style="width:161px" %)0(((
570 570  OK
571 571  )))
572 572  
... ... @@ -580,9 +580,9 @@
580 580  
581 581  (% style="color:blue" %)**AT Command: AT+RECV**
582 582  
583 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:543px" %)
584 -|(% style="background-color:#4f81bd; color:white; width:161px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:272px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:104px" %)**Response**
585 -|(% style="width:161px" %)AT+RECV=?|(% style="width:272px" %)print last received data in raw format.|(% style="width:104px" %)0:(((
583 +(% border="1" style="background-color:#f2f2f2; width:587.222px" %)
584 +|(% style="background-color:#4f81bd; color:white; width:161px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:272px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:150px" %)**Response**
585 +|(% style="width:161px" %)AT+RECV=?|(% style="width:272px" %)print last received data in raw format.|(% style="width:150px" %)0:(((
586 586  OK
587 587  )))
588 588  
... ... @@ -596,7 +596,7 @@
596 596  
597 597  (% style="color:blue" %)**AT Command: AT+RECVB**
598 598  
599 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:793.222px" %)
599 +(% border="1" style="background-color:#f2f2f2; width:793.222px" %)
600 600  |(% style="background-color:#4f81bd; color:white; width:173px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:497px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:120px" %)**Response**
601 601  |(% style="width:173px" %)AT+RECVB=?|(% style="width:497px" %)print last received data in binary format (with hexadecimal values).|(% style="width:120px" %)2: 0010(((
602 602  OK
... ... @@ -604,7 +604,7 @@
604 604  
605 605  (% style="display:none" %) (%%)
606 606  
607 -== 6.8 Send Text Data(Note: The format of this command of LA66 is subject to the manual) ==
607 +== 6.8 Send Text Data ==
608 608  
609 609  
610 610  Feature: Send Text Data<port:data>.
... ... @@ -612,7 +612,7 @@
612 612  
613 613  (% style="color:blue" %)**AT Command: AT+SEND**
614 614  
615 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:991.222px" %)
615 +(% border="1" style="background-color:#f2f2f2; width:991.222px" %)
616 616  |(% style="background-color:#4f81bd; color:white; width:201px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:340px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:446px" %)**Response**
617 617  |(% style="width:201px" %)AT+SEND=12:hello world|(% style="width:340px" %)Send text data along with the application port.|(% style="width:446px" %)OK(((
618 618  While Error in format, return
... ... @@ -621,7 +621,7 @@
621 621  
622 622  (% style="display:none" %) (%%)
623 623  
624 -== 6.9 Send Hexadecimal Data(Note: The format of this command of LA66 is subject to the manual) ==
624 +== 6.9 Send Hexadecimal Data ==
625 625  
626 626  
627 627  Feature: Send hexadecimal data along with the application port.
... ... @@ -629,7 +629,7 @@
629 629  
630 630  (% style="color:blue" %)**AT Command: AT+SENDB**
631 631  
632 -(% border="1" cellspacing="4" style="width:974px" %)
632 +(% border="1" style="width:974px" %)
633 633  |(% style="background-color:#4f81bd; color:white; width:257px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:394px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:318px" %)**Response**
634 634  |(% style="width:257px" %)AT+SENDB=12:abcdef0123456789|(% style="width:394px" %)Send hexadecimal data along with the application port.|(% style="width:318px" %)OK
635 635  |(% style="width:257px" %)AT+SENDB=abcdef0123456789|(% style="width:394px" %)Send hexadecimal data along with the application port.|(% style="width:318px" %)While Error in format, return(((
... ... @@ -648,7 +648,7 @@
648 648  
649 649  (% style="color:blue" %)**AT Command: AT+ADR**
650 650  
651 -(% border="1" cellspacing="4" style="width:643px" %)
651 +(% border="1" style="width:643px" %)
652 652  |(% style="background-color:#4f81bd; color:white; width:162px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:266px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:209px" %)**Response**
653 653  |(% style="width:162px" %)AT+ADR=?|(% style="width:266px" %)Get the Adaptive Data Rate setting.|(% style="width:209px" %)1(((
654 654  OK
... ... @@ -676,12 +676,12 @@
676 676  
677 677  (% style="color:blue" %)**AT Command:  AT+CLASS**
678 678  
679 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:428px" %)
680 -|(% style="background-color:#4f81bd; color:white; width:163px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:166px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:94px" %)**Response**
681 -|(% style="width:163px" %)AT+CLASS=?|(% style="width:166px" %)Get the Device Class.|(% style="width:94px" %)A(((
679 +(% border="1" style="background-color:#f2f2f2; width:507.222px" %)
680 +|(% style="background-color:#4f81bd; color:white; width:163px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:166px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:175px" %)**Response**
681 +|(% style="width:163px" %)AT+CLASS=?|(% style="width:166px" %)Get the Device Class.|(% style="width:175px" %)A(((
682 682  OK
683 683  )))
684 -|(% style="width:163px" %)AT+CLASS=C|(% style="width:166px" %)Set the Device Class.|(% style="width:94px" %)OK(((
684 +|(% style="width:163px" %)AT+CLASS=C|(% style="width:166px" %)Set the Device Class.|(% style="width:175px" %)OK(((
685 685  
686 686  )))
687 687  
... ... @@ -700,7 +700,7 @@
700 700  
701 701  (% style="color:blue" %)**AT Command:  AT+DCS**
702 702  
703 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515.222px" %)
703 +(% border="1" style="background-color:#f2f2f2; width:515.222px" %)
704 704  |(% style="background-color:#4f81bd; color:white; width:165px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:239px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:107px" %)**Response**
705 705  |(% style="width:165px" %)AT+DCS=?|(% style="width:239px" %)Get the ETSI Duty Cycle setting.|(% style="width:107px" %)1(((
706 706  OK
... ... @@ -725,12 +725,12 @@
725 725  
726 726  (% style="color:blue" %)**AT Command: AT+DR**
727 727  
728 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:409px" %)
729 -|(% style="background-color:#4f81bd; color:white; width:156px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:147px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:100px" %)**Response**
730 -|(% style="width:156px" %)AT+DR=?|(% style="width:147px" %)Get the Data Rate.|(% style="width:100px" %)5(((
728 +(% border="1" style="background-color:#f2f2f2; width:466.222px" %)
729 +|(% style="background-color:#4f81bd; color:white; width:156px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:167px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:140px" %)**Response**
730 +|(% style="width:156px" %)AT+DR=?|(% style="width:167px" %)Get the Data Rate.|(% style="width:140px" %)5(((
731 731  OK
732 732  )))
733 -|(% style="width:156px" %)AT+DR=2|(% style="width:147px" %)Set the Data Rate.|(% style="width:100px" %)OK(((
733 +|(% style="width:156px" %)AT+DR=2|(% style="width:167px" %)Set the Data Rate.|(% style="width:140px" %)OK(((
734 734  
735 735  )))
736 736  
... ... @@ -752,7 +752,7 @@
752 752  
753 753  (% style="color:blue" %)**AT Command:  AT+FCD**
754 754  
755 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:693.222px" %)
755 +(% border="1" style="background-color:#f2f2f2; width:693.222px" %)
756 756  |(% style="background-color:#4f81bd; color:white; width:162px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:258px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:269px" %)**Response**
757 757  |(% style="width:162px" %)AT+FCD=?|(% style="width:258px" %)Get the Frame Counter Downlink.|(% style="width:269px" %)0(((
758 758  OK
... ... @@ -770,7 +770,7 @@
770 770  
771 771  (% style="color:blue" %)**AT Command:  AT+FCU**
772 772  
773 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:534.222px" %)
773 +(% border="1" style="background-color:#f2f2f2; width:534.222px" %)
774 774  |(% style="background-color:#4f81bd; color:white; width:177px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:239px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:113px" %)**Response**
775 775  |(% style="width:177px" %)AT+FCU=?|(% style="width:239px" %)Get the Frame Counter Uplink.|(% style="width:113px" %)0(((
776 776  OK
... ... @@ -789,7 +789,7 @@
789 789  
790 790  (% style="color:blue" %)**AT Command:  AT+JN1DL**
791 791  
792 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:537.222px" %)
792 +(% border="1" style="background-color:#f2f2f2; width:537.222px" %)
793 793  |(% style="background-color:#4f81bd; color:white; width:164px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:229px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:140px" %)**Response**
794 794  |(% style="width:164px" %)AT+JN1DL=?|(% style="width:229px" %)Get the Join Accept Delay.|(% style="width:140px" %)5000(((
795 795  OK
... ... @@ -808,7 +808,7 @@
808 808  
809 809  (% style="color:blue" %)**AT Command:  AT+JN2DL**
810 810  
811 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:538.222px" %)
811 +(% border="1" style="background-color:#f2f2f2; width:538.222px" %)
812 812  |(% style="background-color:#4f81bd; color:white; width:160px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:228px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:146px" %)**Response**
813 813  |(% style="width:160px" %)AT+JN2DL=?|(% style="width:228px" %)Get the Join Accept Delay.|(% style="width:146px" %)6000(((
814 814  OK
... ... @@ -829,7 +829,7 @@
829 829  
830 830  (% style="color:blue" %)**AT Command:  AT+PNM**
831 831  
832 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:667.222px" %)
832 +(% border="1" style="background-color:#f2f2f2; width:667.222px" %)
833 833  |(% style="background-color:#4f81bd; color:white; width:166px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:225px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:272px" %)**Response**
834 834  |(% style="width:166px" %)AT+PNM=?|(% style="width:225px" %)Get the public network mode.|(% style="width:272px" %)1(((
835 835  OK
... ... @@ -855,7 +855,7 @@
855 855  
856 856  (% style="color:blue" %)**AT Command: AT+RX1DL**
857 857  
858 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:408.222px" %)
858 +(% border="1" style="background-color:#f2f2f2; width:408.222px" %)
859 859  |(% style="background-color:#4f81bd; color:white; width:155px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:128px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:122px" %)**Response**
860 860  |(% style="width:155px" %)AT+RX1DL=?|(% style="width:128px" %)Get the delay.|(% style="width:122px" %)1000(((
861 861  OK
... ... @@ -874,7 +874,7 @@
874 874  
875 875  (% style="color:blue" %)**AT Command: AT+RX2DL**
876 876  
877 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:481.222px" %)
877 +(% border="1" style="background-color:#f2f2f2; width:481.222px" %)
878 878  |(% style="background-color:#4f81bd; color:white; width:175px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:152px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:150px" %)**Response**
879 879  |(% style="width:175px" %)AT+RX2DL=?|(% style="width:152px" %)Get the delay.|(% style="width:150px" %)2000(((
880 880  OK
... ... @@ -893,7 +893,7 @@
893 893  
894 894  (% style="color:blue" %)**AT Command:  AT+RX2DR**
895 895  
896 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:525.222px" %)
896 +(% border="1" style="background-color:#f2f2f2; width:525.222px" %)
897 897  |(% style="background-color:#4f81bd; color:white; width:160px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:232px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:130px" %)**Response**
898 898  |(% style="width:160px" %)AT+RX2DR=?|(% style="width:232px" %)Get the Rx2 window data rate.|(% style="width:130px" %)2(((
899 899  OK
... ... @@ -912,7 +912,7 @@
912 912  
913 913  (% style="color:blue" %)**AT Command:  AT+RX2FQ**
914 914  
915 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:587.222px" %)
915 +(% border="1" style="background-color:#f2f2f2; width:587.222px" %)
916 916  |(% style="background-color:#4f81bd; color:white; width:183px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:240px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:160px" %)**Response**
917 917  |(% style="width:183px" %)AT+RX2FQ=?|(% style="width:240px" %)Get the Rx2 window frequency.|(% style="width:160px" %)434665000(((
918 918  OK
... ... @@ -926,7 +926,7 @@
926 926  == 7.14 Transmit Power ==
927 927  
928 928  
929 -Feature: Get or Set the Transmit Power(0-5, MAX:0, MIN:5, according to LoRaWAN Spec, or 40=10dBm, 41 = 11dBm, …, 50 = 20dBm which is out of LoRaWAN spec. )
929 +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. )
930 930  
931 931  (% style="color:red" %)**Notice: Transmit Power might be changed by ADR from LoRaWAN server. So manually change TXP also remember to set AT+ADR=0 in sensor**
932 932  
... ... @@ -933,7 +933,7 @@
933 933  
934 934  (% style="color:blue" %)**AT Command:  AT+TXP**
935 935  
936 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:465.222px" %)
936 +(% border="1" style="background-color:#f2f2f2; width:465.222px" %)
937 937  |(% style="background-color:#4f81bd; color:white; width:161px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:189px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:112px" %)**Response**
938 938  |(% style="width:161px" %)AT+TXP=?|(% style="width:189px" %)Get the Transmit Power.|(% style="width:112px" %)0(((
939 939  OK
... ... @@ -960,7 +960,7 @@
960 960  
961 961  (% style="color:blue" %)**AT Command:AT+RSSI**
962 962  
963 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:557.222px" %)
963 +(% border="1" style="background-color:#f2f2f2; width:557.222px" %)
964 964  |(% style="background-color:#4f81bd; color:white; width:164px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:289px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:100px" %)**Response**
965 965  |(% style="width:164px" %)AT+RSSI=?|(% style="width:289px" %)Get the RSSI of the last received packet.|(% style="width:100px" %)0(((
966 966  OK
... ... @@ -976,7 +976,7 @@
976 976  
977 977  (% style="color:blue" %)**AT Command:  AT+SNR**
978 978  
979 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:571.222px" %)
979 +(% border="1" style="background-color:#f2f2f2; width:571.222px" %)
980 980  |(% style="background-color:#4f81bd; color:white; width:164px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:290px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:113px" %)**Response**
981 981  |(% style="width:164px" %)AT+SNR=?|(% style="width:290px" %)Get the RSSI of the last received packet.|(% style="width:113px" %)0(((
982 982  OK
... ... @@ -992,12 +992,12 @@
992 992  
993 993  (% style="color:blue" %)**AT Command: AT+PORT**
994 994  
995 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:459px" %)
996 -|(% style="background-color:#4f81bd; color:white; width:157px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:193px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:104px" %)**Response**
997 -|(% style="width:157px" %)AT+PORT=?|(% style="width:193px" %)Get the application port|(% style="width:104px" %)21(((
995 +(% border="1" style="background-color:#f2f2f2; width:500.222px" %)
996 +|(% style="background-color:#4f81bd; color:white; width:157px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:204px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:135px" %)**Response**
997 +|(% style="width:157px" %)AT+PORT=?|(% style="width:204px" %)Get the application port|(% style="width:135px" %)21(((
998 998  OK
999 999  )))
1000 -|(% style="width:157px" %)AT+PORT=21|(% style="width:193px" %)Set the application port|(% style="width:104px" %)OK
1000 +|(% style="width:157px" %)AT+PORT=21|(% style="width:204px" %)Set the application port|(% style="width:135px" %)OK
1001 1001  
1002 1002  (% style="color:blue" %)**Downlink Command: 0x23**
1003 1003  
... ... @@ -1019,12 +1019,12 @@
1019 1019  
1020 1020  (% style="color:blue" %)**AT Command: AT+CHS**
1021 1021  
1022 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:584px" %)
1023 -|(% style="background-color:#4f81bd; color:white; width:182px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:295px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:101px" %)**Response**
1024 -|(% style="width:182px" %)AT+CHS=?|(% style="width:295px" %)Get Frequency for Single Channel Mode|(% style="width:101px" %)0(((
1022 +(% border="1" style="background-color:#f2f2f2; width:603.222px" %)
1023 +|(% style="background-color:#4f81bd; color:white; width:182px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:295px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:122px" %)**Response**
1024 +|(% style="width:182px" %)AT+CHS=?|(% style="width:295px" %)Get Frequency for Single Channel Mode|(% style="width:122px" %)0(((
1025 1025  OK
1026 1026  )))
1027 -|(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:101px" %)OK
1027 +|(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK
1028 1028  
1029 1029  (% style="display:none" %) (%%)
1030 1030  
... ... @@ -1036,7 +1036,7 @@
1036 1036  
1037 1037  (% style="color:blue" %)**AT Command: AT+CHE**
1038 1038  
1039 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:710.222px" %)
1039 +(% border="1" style="background-color:#f2f2f2; width:710.222px" %)
1040 1040  |(% style="background-color:#4f81bd; color:white; width:160px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:198px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:349px" %)**Response**
1041 1041  |(% style="width:160px" %)AT+CHE=?|(% style="width:198px" %)Get eight channels mode|(% style="width:349px" %)1(((
1042 1042  902.3 902.5 902.7 902.9 903.1 903.3 903.5 903.7
... ... @@ -1065,7 +1065,7 @@
1065 1065  
1066 1066  (% style="color:blue" %)**AT Command: AT+RX1WTO**
1067 1067  
1068 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:460.222px" %)
1068 +(% border="1" style="background-color:#f2f2f2; width:460.222px" %)
1069 1069  |(% style="background-color:#4f81bd; color:white; width:163px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:201px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:93px" %)**Response**
1070 1070  |(% style="width:163px" %)AT+RX1WTO=?|(% style="width:201px" %)Get RXwindows1 timeout|(% style="width:93px" %)14(((
1071 1071  OK
... ... @@ -1084,22 +1084,7 @@
1084 1084  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.
1085 1085  )))
1086 1086  
1087 -**Example:**
1088 -~1. Set AT+RX1WTO=0, AT+RX1DL=5000, the window opening time is: 53.699ms
1089 1089  
1090 -[[image:image-20240906095336-1.png||height="404" width="759"]]
1091 -
1092 -
1093 -2. Set AT+RX1WTO=128, AT+RX1DL=5000, the window opening time is: 149.644ms
1094 -
1095 -[[image:image-20240906095433-2.png||height="403" width="756"]]
1096 -
1097 -
1098 -3. Set AT+RX1WTO=128, AT+RX1DL=5000, the window opening time is: 298.221ms
1099 -
1100 -[[image:image-20240906095527-3.png||height="400" width="749"]]
1101 -
1102 -
1103 1103  == 7.21 Get or Set RXwindows2 timeout ==
1104 1104  
1105 1105  
... ... @@ -1108,29 +1108,15 @@
1108 1108  
1109 1109  (% style="color:blue" %)**AT Command: AT+RX2WTO**
1110 1110  
1111 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:448px" %)
1112 -|(% style="background-color:#4f81bd; color:white; width:162px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:192px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:90px" %)**Response**
1113 -|(% style="width:162px" %)AT+RX2WTO=?|(% style="width:192px" %)Get RXwindows2 timeout|(% style="width:90px" %)7(((
1096 +(% border="1" style="background-color:#f2f2f2; width:497.222px" %)
1097 +|(% style="background-color:#4f81bd; color:white; width:190px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:199px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:104px" %)**Response**
1098 +|(% style="width:190px" %)AT+RX2WTO=?|(% style="width:199px" %)Get RXwindows2 timeout|(% style="width:104px" %)7(((
1114 1114  OK
1115 1115  )))
1116 -|(% style="width:162px" %)AT+RX2WTO=20|(% style="width:192px" %)Set RXwindows2 timeout|(% style="width:90px" %)OK
1101 +|(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK
1117 1117  
1118 -**Example:**
1119 -~1. Set AT+RX2WTO=0, AT+RX2DL=6000, the window opening time is: 48.435ms
1103 +(% style="display:none" %) (%%)
1120 1120  
1121 -(% style="display:none" %) (%%) [[image:image-20240906095619-4.png||height="375" width="703"]]
1122 -
1123 -
1124 -2. Set AT+RX2WTO=128, AT+RX2DL=6000, the window opening time is: 3011ms
1125 -
1126 -[[image:image-20240906095726-5.png||height="381" width="714"]]
1127 -
1128 -
1129 -3. Set AT+RX2WTO=255, AT+RX2DL=6000, the window opening time is: 3009ms
1130 -
1131 -[[image:image-20240906095811-6.png||height="380" width="711"]]
1132 -
1133 -
1134 1134  == 7.22 Setting up uplinkdwelltime (as923, au915) ==
1135 1135  
1136 1136  
... ... @@ -1139,12 +1139,12 @@
1139 1139  
1140 1140  (% style="color:blue" %)**AT Command: AT+DWELLT**
1141 1141  
1142 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:419px" %)
1143 -|(% style="background-color:#4f81bd; color:white; width:162px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:157px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:95px" %)**Response**
1144 -|(% style="width:162px" %)AT+DWELLT=?|(% style="width:157px" %)Get uplinkdwelltime|(% style="width:95px" %)1(((
1113 +(% border="1" style="background-color:#f2f2f2; width:497.222px" %)
1114 +|(% style="background-color:#4f81bd; color:white; width:183px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:179px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:131px" %)**Response**
1115 +|(% style="width:183px" %)AT+DWELLT=?|(% style="width:179px" %)Get uplinkdwelltime|(% style="width:131px" %)1(((
1145 1145  OK
1146 1146  )))
1147 -|(% style="width:162px" %)AT+DWELLT=0|(% style="width:157px" %)Set uplinkdwelltime|(% style="width:95px" %)OK
1118 +|(% style="width:183px" %)AT+DWELLT=0|(% style="width:179px" %)Set uplinkdwelltime|(% style="width:131px" %)OK
1148 1148  
1149 1149  (% style="color:blue" %)**Downlink Command: 0x25**
1150 1150  
... ... @@ -1186,7 +1186,7 @@
1186 1186  
1187 1187  (% style="color:blue" %)**AT Command: AT+RPL**
1188 1188  
1189 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:536.222px" %)
1160 +(% border="1" style="background-color:#f2f2f2; width:536.222px" %)
1190 1190  |(% style="background-color:#4f81bd; color:white; width:160px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:263px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:109px" %)**Response**
1191 1191  |(% style="width:160px" %)AT+RPL=?|(% style="width:263px" %)Get packet receiving response level|(% style="width:109px" %)1(((
1192 1192  OK
... ... @@ -1210,7 +1210,7 @@
1210 1210  
1211 1211  (% style="color:blue" %)**AT Command: AT+SETMAXNBTRANS **
1212 1212  
1213 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:589px" %)
1184 +(% border="1" style="background-color:#f2f2f2; width:589px" %)
1214 1214  |(% style="background-color:#4f81bd; color:white; width:227px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:300px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:87px" %)**Response**
1215 1215  |(% style="width:227px" %)AT+SETMAXNBTRANS=1,0|(% style="width:300px" %)Value1: set the maximum NBTrans.|(% style="width:87px" %)1(((
1216 1216  OK
... ... @@ -1245,16 +1245,15 @@
1245 1245  AT+DDETECT=<Flag>,<ACK_Timout_1>,<ACK_Timout_2> (Default Value: AT+DDETECT=1,1440,2880)
1246 1246  
1247 1247  * ACK_Timout_1: Unit: min
1248 -
1249 1249  * ACK_Timout_2: Unit: min
1250 1250  
1251 -(% border="1" style="background-color:#f2f2f2; width:562px" %)
1252 -|(% style="background-color:#4f81bd; color:white; width:160px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:272px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:89px" %)**Response**
1221 +(% border="1" style="background-color:#f2f2f2; width:710.222px" %)
1222 +|(% style="background-color:#4f81bd; color:white; width:160px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:198px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:349px" %)**Response**
1253 1253  |(% style="width:160px" %)(((
1254 1254  AT+DDETECT=1,1440,2880
1255 1255  
1256 1256  value1
1257 -)))|(% style="width:272px" %)Enable online detect|(% style="width:89px" %)(((
1227 +)))|(% style="width:198px" %)Enable online detect|(% style="width:349px" %)(((
1258 1258  1
1259 1259  
1260 1260  OK
... ... @@ -1263,7 +1263,7 @@
1263 1263  AT+DDETECT=1,?,2880
1264 1264  
1265 1265  value2
1266 -)))|(% style="width:272px" %)Online detection packet sending time|(% style="width:89px" %)(((
1236 +)))|(% style="width:198px" %)Online detection packet sending time|(% style="width:349px" %)(((
1267 1267  
1268 1268  
1269 1269  OK
... ... @@ -1272,7 +1272,7 @@
1272 1272  AT+DDETECT=1,1440,?
1273 1273  
1274 1274  value3
1275 -)))|(% style="width:272px" %)Process rejoin|(% style="width:89px" %)(((
1245 +)))|(% style="width:198px" %)Process rejoin|(% style="width:349px" %)(((
1276 1276  
1277 1277  
1278 1278  OK
... ... @@ -1286,54 +1286,44 @@
1286 1286  
1287 1287  * **Example 1:** Downlink Payload: 320105A00B40  ~/~/ Set AT+DDETECT=1,1440,2880
1288 1288  
1289 -*
1290 -** 0x01** : Flag**
1259 +*
1260 +** 0x01 : Flag
1261 +** 0x05A0: ACK_Timout_1 : 1440minutes (24 hours)
1262 +** 0x0B40: ACK_Timout_2 : 2880minutes (48 hours)
1263 +** **Explain**: Enable Online Detect, if end node doesn't receive any downlink within ACK_Timout_1( 1440 minutes or 24 hours). End node will use confirmed uplink to send packets during ACK_Timout_1 (the 24th hour) to ACK_Timout_2 ( the 48th hour). If from the 24th to 48th hour, end node got an downlink from server, it will switch back to unconfirmed uplink. end node will restart ACK_Timout_1. If from the 24th to 48th hour, end node still not got any downlink, means device doesn't get ACK from server within last 48 hours. Device will process rejoin, rejoin request interval is AT+RJTDC period. For AU915/ US915, device will use the sub-band used for last join.
1291 1291  
1292 - **0x05A0 **: ACK_Timout_1 : 1440minutes (24 hours)
1293 -
1294 - **0x0B40 **: ACK_Timout_2 : 2880minutes (48 hours)
1295 -
1296 -* **Explain**: Enable Online Detect, if end node doesn't receive any downlink within ACK_Timout_1( 1440 minutes or 24 hours). End node will use confirmed uplink to send packets during ACK_Timout_1 (the 24th hour) to ACK_Timout_2 ( the 48th hour). If from the 24th to 48th hour, end node got an downlink from server, it will switch back to unconfirmed uplink. end node will restart ACK_Timout_1. If from the 24th to 48th hour, end node still not got any downlink, means device doesn't get ACK from server within last 48 hours. Device will process rejoin, rejoin request interval is AT+RJTDC period. For AU915/ US915, device will use the sub-band used for last join.
1297 -
1298 1298  (% style="display:none" %) (%%)
1299 1299  
1300 1300  == 7.26 Request the server to send an ACK ==
1301 1301  
1302 1302  
1303 -Feature: Mode for sending data for which acknowledgment was not received. LoraWAN Network Server(eg. The Things NetWork/ChirpStack/AWS/...).
1304 -
1305 1305  (% style="color:blue" %)**AT Command: AT+PNACKMD**
1306 1306  
1307 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:889px" %)
1308 -|(% style="background-color:#4f81bd; color:white; width:160px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:627px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:100px" %)**Response**
1309 -|(% style="width:160px" %)AT+PNACKMD=1|(% style="width:627px" %)If the node uploads the ACK as confirm, it will request the LoraWAN Network Server to send an ACK. If the LoraWAN Network 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:100px" %)1(((
1272 +(% border="1" style="background-color:#f2f2f2; width:536.222px" %)
1273 +|(% style="background-color:#4f81bd; color:white; width:160px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:263px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:109px" %)**Response**
1274 +|(% 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(((
1310 1310  OK
1311 1311  )))
1312 -|(% style="width:160px" %)AT+PNACKMD=0|(% style="width:627px" %)off request the LoraWAN Network Server to send an ACK|(% style="width:100px" %)(((
1277 +|(% style="width:160px" %)AT+PNACKMD=0|(% style="width:263px" %)off request the server to send an ACK|(% style="width:109px" %)(((
1313 1313  0
1314 1314  OK
1315 1315  )))
1316 1316  
1317 -(% style="display:none" %) (%%) (% style="color:blue" %)**Downlink Command: 0x34**
1282 +(% style="display:none" %) (%%)
1318 1318  
1319 -0X34 01  ~/~/Same As AT+PNACKMD=1
1320 -
1321 -0x34 00  ~/~/Same As AT+PNACKMD=0
1322 -
1323 -
1324 1324  == 7.27 Adjust network rejoining interval ==
1325 1325  
1326 1326  
1327 1327  (% style="color:blue" %)**AT Command: AT+RJTDC**
1328 1328  
1329 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:889px" %)
1330 -|(% style="background-color:#4f81bd; color:white; width:165px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:357px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:361px" %)**Response**
1331 -|(% style="width:165px" %)AT+RJTDC=?|(% style="width:357px" %)Show the ReJoin data transmission interval in min|(% style="width:361px" %)30(((
1289 +(% border="1" style="background-color:#f2f2f2; width:727.222px" %)
1290 +|(% style="background-color:#4f81bd; color:white; width:165px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:227px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:329px" %)**Response**
1291 +|(% style="width:165px" %)AT+RJTDC=?|(% style="width:227px" %)Show the ReJoin data transmission interval in min|(% style="width:329px" %)30(((
1332 1332  OK
1333 1333  
1334 1334  the interval is 30 min
1335 1335  )))
1336 -|(% style="width:165px" %)AT+RJTDC=60|(% style="width:357px" %)Set the ReJoin data transmission interval in min|(% style="width:361px" %)OK(((
1296 +|(% style="width:165px" %)AT+RJTDC=60|(% style="width:227px" %)Set the ReJoin data transmission interval in min|(% style="width:329px" %)OK(((
1337 1337  Set the ReJoin data transmission interval to 60 min
1338 1338  )))
1339 1339  
image-20240906095336-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.kai
Size
... ... @@ -1,1 +1,0 @@
1 -111.0 KB
Content
image-20240906095433-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.kai
Size
... ... @@ -1,1 +1,0 @@
1 -113.2 KB
Content
image-20240906095527-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.kai
Size
... ... @@ -1,1 +1,0 @@
1 -111.6 KB
Content
image-20240906095619-4.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.kai
Size
... ... @@ -1,1 +1,0 @@
1 -112.4 KB
Content
image-20240906095726-5.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.kai
Size
... ... @@ -1,1 +1,0 @@
1 -114.0 KB
Content
image-20240906095811-6.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.kai
Size
... ... @@ -1,1 +1,0 @@
1 -112.8 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0