Changes for page End Device AT Commands and Downlink Command
Last modified by kai on 2024/09/06 10:00
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Xiaoling1 +XWiki.Bei - Content
-
... ... @@ -99,7 +99,6 @@ 99 99 ))) 100 100 101 101 102 - 103 103 = 4. System Management Commands = 104 104 105 105 == 4.1 Change Uplink Interval == ... ... @@ -138,6 +138,7 @@ 138 138 * **Example 1**: Downlink Payload:** 0100001E** ~/~/ Set Transmit Interval (TDC) = 30 seconds 139 139 * **Example 2**: Downlink Payload:** 0100003C** ~/~/ Set Transmit Interval (TDC) = 60 seconds 140 140 140 + 141 141 == 4.2 Reboot End Node == 142 142 143 143 Feature: Reboot End Node to perform a new OTAA or ABP Join. ... ... @@ -299,6 +299,7 @@ 299 299 OK 300 300 ))) 301 301 302 + 302 302 = 5. Keys, IDs and EUIs management = 303 303 304 304 == 5.1 Application EUI == ... ... @@ -317,6 +317,7 @@ 317 317 ))) 318 318 |(% style="width:305px" %)AT+APPEUI=00 b3 d5 7e f0 00 4d 34|(% style="width:186px" %)Set the Application EUI|(% style="width:191px" %)OK 319 319 321 + 320 320 == 5.2 Application Key == 321 321 322 322 Feature: Get or Set the Application Key. ... ... @@ -487,6 +487,7 @@ 487 487 While Error in format, return AT_BUSY_ERROR 488 488 ))) 489 489 492 + 490 490 == 6.4 LoRa® Network Join Mode == 491 491 492 492 Feature: Get or Set the Network Join Mode. (0: ABP, 1: OTAA). ... ... @@ -515,6 +515,7 @@ 515 515 * **Example 1: **Downlink Payload: **2000** ~/~/ Set AT+NJM=O 516 516 * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1 517 517 521 + 518 518 == 6.5 LoRa® Network Join Status == 519 519 520 520 Feature: LoRa® Network Join Status. ... ... @@ -530,6 +530,7 @@ 530 530 OK 531 531 ))) 532 532 537 + 533 533 == 6.6 Print Last Received Data in Raw Format == 534 534 535 535 Feature: Print Last Received Data in Raw Format<port:data>. ... ... @@ -545,6 +545,7 @@ 545 545 OK 546 546 ))) 547 547 553 + 548 548 == 6.7 Print Last Received Data in Binary Format == 549 549 550 550 Feature: Print Last Received Data in Binary Format<port:data>. ... ... @@ -560,6 +560,7 @@ 560 560 OK 561 561 ))) 562 562 569 + 563 563 == 6.8 Send Text Data == 564 564 565 565 Feature: Send Text Data<port:data>. ... ... @@ -579,6 +579,7 @@ 579 579 580 580 ))) 581 581 589 + 582 582 == 6.9 Send Hexadecimal Data == 583 583 584 584 Feature: Send hexadecimal data along with the application port. ... ... @@ -597,6 +597,7 @@ 597 597 598 598 ))) 599 599 608 + 600 600 = 7. LoRaWAN network management = 601 601 602 602 == 7.1 Adaptive Data Rate == ... ... @@ -628,6 +628,7 @@ 628 628 * **Example 1**: Downlink Payload: **2201** ~/~/ Set AT+ADR=1. 629 629 * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0. 630 630 640 + 631 631 == 7.2 LoRa® Class == 632 632 633 633 Feature: Get or Set the Device Class(Currently only support class A, class C). ... ... @@ -646,6 +646,7 @@ 646 646 647 647 ))) 648 648 659 + 649 649 == 7.3 Duty Cycle Setting == 650 650 651 651 Feature: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing. ... ... @@ -664,6 +664,7 @@ 664 664 665 665 ))) 666 666 678 + 667 667 == 7.4 Data Rate == 668 668 669 669 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 ... ... @@ -692,6 +692,7 @@ 692 692 * **Example 1**: Downlink Payload: **220001FF** ~/~/ Set AT+DR=1. 693 693 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0. 694 694 707 + 695 695 == 7.5 Frame Counter Downlink == 696 696 697 697 Feature: Get or Set the Frame Counter Downlink. ... ... @@ -712,6 +712,7 @@ 712 712 713 713 ))) 714 714 728 + 715 715 == 7.6 Frame Counter Uplink == 716 716 717 717 Feature: Get or Set the Frame Counter Uplink. ... ... @@ -730,6 +730,7 @@ 730 730 731 731 ))) 732 732 747 + 733 733 == 7.7 Join Accept Delay1 == 734 734 735 735 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms. ... ... @@ -748,6 +748,7 @@ 748 748 749 749 ))) 750 750 766 + 751 751 == 7.8 Join Accept Delay2 == 752 752 753 753 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms. ... ... @@ -766,6 +766,7 @@ 766 766 767 767 ))) 768 768 785 + 769 769 == 7.9 Public Network Mode == 770 770 771 771 Feature: Get or Set the public network mode. (0: off, 1: on) ... ... @@ -786,6 +786,7 @@ 786 786 787 787 ))) 788 788 806 + 789 789 == 7.10 Receive Delay1 == 790 790 791 791 Feature: Get or Set the delay between the end of the Tx and the Rx Window 1 in ms ... ... @@ -804,6 +804,7 @@ 804 804 805 805 ))) 806 806 825 + 807 807 == 7.11 Receive Delay2 == 808 808 809 809 Feature: Get or Set the delay between the end of the Tx and the Rx Window 2 in ms ... ... @@ -822,6 +822,7 @@ 822 822 823 823 ))) 824 824 844 + 825 825 == 7.12 Rx2 Window Data Rate == 826 826 827 827 Feature: Get or Set the Rx2 window data rate (0-7 corresponding to DR_X) ... ... @@ -840,6 +840,7 @@ 840 840 841 841 ))) 842 842 863 + 843 843 == 7.13 Rx2 Window Frequency == 844 844 845 845 Feature: Get or Set the Rx2 window frequency ... ... @@ -858,6 +858,7 @@ 858 858 859 859 ))) 860 860 882 + 861 861 == 7.14 Transmit Power == 862 862 863 863 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. ) ... ... @@ -883,6 +883,7 @@ 883 883 * **Example 1**: Downlink Payload: **22000102** ~/~/ Set AT+TXP=2. 884 884 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+TXP=0. 885 885 908 + 886 886 == 7.15 RSSI of the Last Received Packet == 887 887 888 888 Feature: Get or Set the Rx2 window frequency ... ... @@ -898,6 +898,7 @@ 898 898 OK 899 899 ))) 900 900 924 + 901 901 == 7.16 SNR of the Last Received Packet == 902 902 903 903 Feature: Get the SNR of the last received packet ... ... @@ -913,6 +913,7 @@ 913 913 OK 914 914 ))) 915 915 940 + 916 916 == 7.17 Application Port == 917 917 918 918 Feature: Get or set the application port. ... ... @@ -940,6 +940,7 @@ 940 940 * **Example 1**: Downlink Payload: **2301** ~/~/ set the application port to 1 941 941 * **Example 2**: Downlink Payload:** 2305** ~/~/ set the application port to 5 942 942 968 + 943 943 == 7.18 Single Channel Mode == 944 944 945 945 Feature:Get or Set Frequency (Unit: Hz) for Single Channel Mode. ... ... @@ -956,6 +956,7 @@ 956 956 ))) 957 957 |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK 958 958 985 + 959 959 == 7.19 Eight Channel Mode == 960 960 961 961 Feature: Get or Set eight channels mode,Only for US915,AU915,CN470. ... ... @@ -985,6 +985,7 @@ 985 985 * **Example 1**: Downlink Payload: 2401 ~/~/ set channel mode to 1 986 986 * **Example 2**: Downlink Payload: 2405 ~/~/ set channel mode to 5 987 987 1015 + 988 988 == 7.20 Get or Set RXwindows1 timeout == 989 989 990 990 Feature:Get or Set the number of symbols to detect and timeout from RXwindow1(0 to 255). ... ... @@ -1029,6 +1029,7 @@ 1029 1029 ))) 1030 1030 |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK 1031 1031 1060 + 1032 1032 == 7.22 Setting up uplinkdwelltime (as923, au915) == 1033 1033 1034 1034 Feature: Get or Set uplinkdwelltime ... ... @@ -1056,6 +1056,7 @@ 1056 1056 * **Example 1**: Downlink Payload: **2501** ~/~/ set uplinkdwelltime to 1 1057 1057 * **Example 2**: Downlink Payload: **2500** ~/~/ set uplinkdwelltime to 0 1058 1058 1088 + 1059 1059 == 7.23 Set Packet Receiving Response Level == 1060 1060 1061 1061 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. ... ... @@ -1097,6 +1097,23 @@ 1097 1097 * **Example 1**: Downlink Payload: **2101** ~/~/ set packet receiving response level to 1 1098 1098 * **Example 2**: Downlink Payload: **2102** ~/~/ set packet receiving response level to 2 1099 1099 1130 +== 7.24 Set retransmission packets == 1131 + 1132 +(% border="1" style="background-color:#ffffcc; color:green; width:710.222px" %) 1133 +|=(% colspan="3" style="width: 707px;" %)AT+CFM 1134 +|(% style="width:160px" %)**Command Example**|(% style="width:198px" %)**Function**|(% style="width:349px" %)**Response** 1135 +|(% style="width:160px" %)value1|(% style="width:198px" %)confirmed uplink|(% style="width:349px" %)((( 1136 +|(% style="width:160px" %)value1|(% style="width:198px" %)confirmed uplink|(% style="width:349px" %)((( 1137 +1 1138 + 1139 +OK 1140 +))) 1141 +|(% style="width:160px" %)value2|(% style="width:198px" %)set max retry , range: 0 ~~ 7|(% style="width:349px" %)((( 1142 + 1143 + 1144 +OK 1145 +))) 1146 + 1100 1100 = 8. AT Commands Combination = 1101 1101 1102 1102 == 8.1 Set a fix RX2DR for downlink window == ... ... @@ -1104,6 +1104,7 @@ 1104 1104 * **AT+ADR=0 **~-~-> Disable ADR first 1105 1105 * **AT+RX2DR=xxxx** ~-~-> Set xxxx to your wanted DataRate 1106 1106 1154 + 1107 1107 == 8.2 Use Downlink Command to set a fix uplink DR == 1108 1108 1109 1109 {{info}}