Changes for page End Device AT Commands and Downlink Command
Last modified by kai on 2024/09/06 10:00
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -527,6 +527,8 @@ 527 527 * Example 2: Downlink Payload: 05000700 ~/~/ Set AT+CFM=0,7,0 528 528 529 529 530 + 531 + 530 530 == 6.2 Confirm Status == 531 531 532 532 ... ... @@ -542,6 +542,8 @@ 542 542 OK 543 543 ))) 544 544 547 + 548 + 545 545 == 6.3 Join LoRa® Network == 546 546 547 547 ... ... @@ -559,6 +559,8 @@ 559 559 While Error in format, return AT_BUSY_ERROR 560 560 ))) 561 561 566 + 567 + 562 562 == 6.4 LoRa® Network Join Mode == 563 563 564 564 ... ... @@ -586,6 +586,8 @@ 586 586 * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1 587 587 588 588 595 + 596 + 589 589 == 6.5 LoRa® Network Join Status == 590 590 591 591 ... ... @@ -601,6 +601,8 @@ 601 601 OK 602 602 ))) 603 603 612 + 613 + 604 604 == 6.6 Print Last Received Data in Raw Format == 605 605 606 606 ... ... @@ -616,6 +616,8 @@ 616 616 OK 617 617 ))) 618 618 629 + 630 + 619 619 == 6.7 Print Last Received Data in Binary Format == 620 620 621 621 ... ... @@ -631,6 +631,8 @@ 631 631 OK 632 632 ))) 633 633 646 + 647 + 634 634 == 6.8 Send Text Data == 635 635 636 636 ... ... @@ -650,6 +650,8 @@ 650 650 651 651 ))) 652 652 667 + 668 + 653 653 == 6.9 Send Hexadecimal Data == 654 654 655 655 ... ... @@ -668,6 +668,8 @@ 668 668 669 669 ))) 670 670 687 + 688 + 671 671 = 7. LoRaWAN network management = 672 672 673 673 ... ... @@ -690,6 +690,7 @@ 690 690 AT_PARAM_ERROR 691 691 ))) 692 692 711 + 693 693 (% style="color:blue" %)**Downlink Command: 0x22** 694 694 695 695 If the downlink payload=2201, it means setting the adaptive data rate to 1, while type code is 22. ... ... @@ -698,6 +698,8 @@ 698 698 * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0. 699 699 700 700 720 + 721 + 701 701 == 7.2 LoRa® Class == 702 702 703 703 ... ... @@ -716,6 +716,8 @@ 716 716 717 717 ))) 718 718 740 + 741 + 719 719 == 7.3 Duty Cycle Setting == 720 720 721 721 ... ... @@ -734,6 +734,8 @@ 734 734 735 735 ))) 736 736 760 + 761 + 737 737 == 7.4 Data Rate == 738 738 739 739 ... ... @@ -752,6 +752,7 @@ 752 752 753 753 ))) 754 754 780 + 755 755 (% style="color:blue" %)**Downlink Command: 0x2200aaFF** 756 756 757 757 If the downlink payload=220001FF, it means setting the data rate to 1, while type code is 22 00 aa FF. ... ... @@ -760,6 +760,8 @@ 760 760 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0. 761 761 762 762 789 + 790 + 763 763 == 7.5 Frame Counter Downlink == 764 764 765 765 ... ... @@ -778,6 +778,8 @@ 778 778 OK 779 779 ))) 780 780 809 + 810 + 781 781 == 7.6 Frame Counter Uplink == 782 782 783 783 Feature: Get or Set the Frame Counter Uplink. ... ... @@ -795,6 +795,8 @@ 795 795 796 796 ))) 797 797 828 + 829 + 798 798 == 7.7 Join Accept Delay1 == 799 799 800 800 ... ... @@ -813,6 +813,8 @@ 813 813 814 814 ))) 815 815 848 + 849 + 816 816 == 7.8 Join Accept Delay2 == 817 817 818 818 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms. ... ... @@ -830,6 +830,8 @@ 830 830 831 831 ))) 832 832 867 + 868 + 833 833 == 7.9 Public Network Mode == 834 834 835 835 ... ... @@ -857,6 +857,8 @@ 857 857 ))) 858 858 |(% style="width:166px" %)AT+PNM=0|(% style="width:225px" %)Set to use private network autoset syncword=0x12|(% style="width:272px" %) 859 859 896 + 897 + 860 860 == 7.10 Receive Delay1 == 861 861 862 862 ... ... @@ -876,6 +876,7 @@ 876 876 ))) 877 877 878 878 917 + 879 879 == 7.11 Receive Delay2 == 880 880 881 881 ... ... @@ -895,6 +895,7 @@ 895 895 ))) 896 896 897 897 937 + 898 898 == 7.12 Rx2 Window Data Rate == 899 899 900 900 ... ... @@ -914,6 +914,7 @@ 914 914 ))) 915 915 916 916 957 + 917 917 == 7.13 Rx2 Window Frequency == 918 918 919 919 ... ... @@ -933,6 +933,7 @@ 933 933 ))) 934 934 935 935 977 + 936 936 == 7.14 Transmit Power == 937 937 938 938 ... ... @@ -951,6 +951,7 @@ 951 951 952 952 ))) 953 953 996 + 954 954 Downlink Payload. The 4th byte of 0x22 downlink. 955 955 956 956 If the downlink payload=22000100, it means setting the TXP to 0. ... ... @@ -960,6 +960,7 @@ 960 960 961 961 962 962 1006 + 963 963 == 7.15 RSSI of the Last Received Packet == 964 964 965 965 ... ... @@ -976,6 +976,7 @@ 976 976 ))) 977 977 978 978 1023 + 979 979 == 7.16 SNR of the Last Received Packet == 980 980 981 981 ... ... @@ -992,6 +992,7 @@ 992 992 ))) 993 993 994 994 1040 + 995 995 == 7.17 Application Port == 996 996 997 997 ... ... @@ -1008,6 +1008,7 @@ 1008 1008 ))) 1009 1009 |(% style="width:157px" %)AT+PORT=21|(% style="width:204px" %)Set the application port|(% style="width:135px" %)OK 1010 1010 1057 + 1011 1011 (% style="color:blue" %)**Downlink Command: 0x23** 1012 1012 1013 1013 Format: Command Code (0x23) followed by 1 bytes port value. ... ... @@ -1036,6 +1036,7 @@ 1036 1036 |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK 1037 1037 1038 1038 1086 + 1039 1039 == 7.19 Eight Channel Mode == 1040 1040 1041 1041 Feature: Get or Set eight channels mode,Only for US915,AU915,CN470. ... ... @@ -1053,6 +1053,7 @@ 1053 1053 ))) 1054 1054 |(% style="width:160px" %)AT+CHE=1|(% style="width:198px" %)Set eight channels mode|(% style="width:349px" %)OK 1055 1055 1104 + 1056 1056 (% style="color:blue" %)**Downlink Command: 0x24** 1057 1057 1058 1058 Format: Command Code (0x24) followed by 1 bytes channel value. ... ... @@ -1064,6 +1064,7 @@ 1064 1064 1065 1065 1066 1066 1116 + 1067 1067 == 7.20 Get or Set RXwindows1 timeout == 1068 1068 1069 1069 ... ... @@ -1114,6 +1114,7 @@ 1114 1114 |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK 1115 1115 1116 1116 1167 + 1117 1117 == 7.22 Setting up uplinkdwelltime (as923, au915) == 1118 1118 1119 1119 ... ... @@ -1130,6 +1130,7 @@ 1130 1130 ))) 1131 1131 |(% style="width:183px" %)AT+DWELLT=0|(% style="width:179px" %)Set uplinkdwelltime|(% style="width:131px" %)OK 1132 1132 1184 + 1133 1133 (% style="color:blue" %)**Downlink Command: 0x25** 1134 1134 1135 1135 Format: Command Code (0x25) followed by 1 bytes state value. ... ... @@ -1141,6 +1141,7 @@ 1141 1141 1142 1142 1143 1143 1196 + 1144 1144 == 7.23 Set Packet Receiving Response Level == 1145 1145 1146 1146 ... ... @@ -1147,7 +1147,7 @@ 1147 1147 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. 1148 1148 1149 1149 1150 -RPL value: 1203 +**RPL value:** 1151 1151 1152 1152 * **AT+RPL=0:** Device won't immediately reply any downlink commands from platform. 1153 1153 * **AT+RPL=1:** Device will immediately reply message to Unconfirmed Data Down. Payload is 0x00. ... ... @@ -1156,7 +1156,7 @@ 1156 1156 * **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. 1157 1157 1158 1158 1159 -Case Analyes: 1212 +**Case Analyes:** 1160 1160 1161 1161 * For Class A devices, AT+RPL=0 is ok. that is defaut settings in software. 1162 1162 * For Class C devices used in ChirpStack, need to set AT+RPL=4 because Chirpstack require immedietely reply message to MAC Command. ... ... @@ -1173,6 +1173,7 @@ 1173 1173 ))) 1174 1174 |(% style="width:160px" %)AT+RPL=0|(% style="width:263px" %)Set packet receiving response level|(% style="width:109px" %)OK 1175 1175 1229 + 1176 1176 (% style="color:blue" %)**Downlink Command: 0x21** 1177 1177 1178 1178 Format: Command Code (0x21) followed by 1 bytes level value. ... ... @@ -1184,6 +1184,7 @@ 1184 1184 1185 1185 1186 1186 1241 + 1187 1187 == 7.24 Controls NBTrans in unconfirmed uplink mode(LWS007 NBTrans:Set retransmission packets) == 1188 1188 1189 1189 ... ... @@ -1201,6 +1201,7 @@ 1201 1201 OK 1202 1202 ))) 1203 1203 1259 + 1204 1204 (% style="color:blue" %)**Downlink Command: 0x33** 1205 1205 1206 1206 Format: Command Code (0x33) followed by 2 bytes mode value. ... ... @@ -1248,6 +1248,7 @@ 1248 1248 OK 1249 1249 ))) 1250 1250 1307 + 1251 1251 (% style="color:blue" %)**Downlink Command: 0x33** 1252 1252 1253 1253 Format: Command Code (0x32) followed by 2 bytes mode value.