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
-
... ... @@ -563,6 +563,8 @@ 563 563 While Error in format, return AT_BUSY_ERROR 564 564 ))) 565 565 566 + 567 + 566 566 == 6.4 LoRa® Network Join Mode == 567 567 568 568 ... ... @@ -590,6 +590,8 @@ 590 590 * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1 591 591 592 592 595 + 596 + 593 593 == 6.5 LoRa® Network Join Status == 594 594 595 595 ... ... @@ -605,6 +605,8 @@ 605 605 OK 606 606 ))) 607 607 612 + 613 + 608 608 == 6.6 Print Last Received Data in Raw Format == 609 609 610 610 ... ... @@ -620,6 +620,8 @@ 620 620 OK 621 621 ))) 622 622 629 + 630 + 623 623 == 6.7 Print Last Received Data in Binary Format == 624 624 625 625 ... ... @@ -635,6 +635,8 @@ 635 635 OK 636 636 ))) 637 637 646 + 647 + 638 638 == 6.8 Send Text Data == 639 639 640 640 ... ... @@ -654,6 +654,8 @@ 654 654 655 655 ))) 656 656 667 + 668 + 657 657 == 6.9 Send Hexadecimal Data == 658 658 659 659 ... ... @@ -672,6 +672,8 @@ 672 672 673 673 ))) 674 674 687 + 688 + 675 675 = 7. LoRaWAN network management = 676 676 677 677 ... ... @@ -694,6 +694,7 @@ 694 694 AT_PARAM_ERROR 695 695 ))) 696 696 711 + 697 697 (% style="color:blue" %)**Downlink Command: 0x22** 698 698 699 699 If the downlink payload=2201, it means setting the adaptive data rate to 1, while type code is 22. ... ... @@ -702,6 +702,8 @@ 702 702 * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0. 703 703 704 704 720 + 721 + 705 705 == 7.2 LoRa® Class == 706 706 707 707 ... ... @@ -720,6 +720,8 @@ 720 720 721 721 ))) 722 722 740 + 741 + 723 723 == 7.3 Duty Cycle Setting == 724 724 725 725 ... ... @@ -738,6 +738,8 @@ 738 738 739 739 ))) 740 740 760 + 761 + 741 741 == 7.4 Data Rate == 742 742 743 743 ... ... @@ -756,6 +756,7 @@ 756 756 757 757 ))) 758 758 780 + 759 759 (% style="color:blue" %)**Downlink Command: 0x2200aaFF** 760 760 761 761 If the downlink payload=220001FF, it means setting the data rate to 1, while type code is 22 00 aa FF. ... ... @@ -764,6 +764,8 @@ 764 764 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0. 765 765 766 766 789 + 790 + 767 767 == 7.5 Frame Counter Downlink == 768 768 769 769 ... ... @@ -782,6 +782,8 @@ 782 782 OK 783 783 ))) 784 784 809 + 810 + 785 785 == 7.6 Frame Counter Uplink == 786 786 787 787 Feature: Get or Set the Frame Counter Uplink. ... ... @@ -799,6 +799,8 @@ 799 799 800 800 ))) 801 801 828 + 829 + 802 802 == 7.7 Join Accept Delay1 == 803 803 804 804 ... ... @@ -817,6 +817,8 @@ 817 817 818 818 ))) 819 819 848 + 849 + 820 820 == 7.8 Join Accept Delay2 == 821 821 822 822 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms. ... ... @@ -834,6 +834,8 @@ 834 834 835 835 ))) 836 836 867 + 868 + 837 837 == 7.9 Public Network Mode == 838 838 839 839 ... ... @@ -861,6 +861,8 @@ 861 861 ))) 862 862 |(% style="width:166px" %)AT+PNM=0|(% style="width:225px" %)Set to use private network autoset syncword=0x12|(% style="width:272px" %) 863 863 896 + 897 + 864 864 == 7.10 Receive Delay1 == 865 865 866 866 ... ... @@ -880,6 +880,7 @@ 880 880 ))) 881 881 882 882 917 + 883 883 == 7.11 Receive Delay2 == 884 884 885 885 ... ... @@ -899,6 +899,7 @@ 899 899 ))) 900 900 901 901 937 + 902 902 == 7.12 Rx2 Window Data Rate == 903 903 904 904 ... ... @@ -918,6 +918,7 @@ 918 918 ))) 919 919 920 920 957 + 921 921 == 7.13 Rx2 Window Frequency == 922 922 923 923 ... ... @@ -937,6 +937,7 @@ 937 937 ))) 938 938 939 939 977 + 940 940 == 7.14 Transmit Power == 941 941 942 942 ... ... @@ -955,6 +955,7 @@ 955 955 956 956 ))) 957 957 996 + 958 958 Downlink Payload. The 4th byte of 0x22 downlink. 959 959 960 960 If the downlink payload=22000100, it means setting the TXP to 0. ... ... @@ -964,6 +964,7 @@ 964 964 965 965 966 966 1006 + 967 967 == 7.15 RSSI of the Last Received Packet == 968 968 969 969 ... ... @@ -980,6 +980,7 @@ 980 980 ))) 981 981 982 982 1023 + 983 983 == 7.16 SNR of the Last Received Packet == 984 984 985 985 ... ... @@ -996,6 +996,7 @@ 996 996 ))) 997 997 998 998 1040 + 999 999 == 7.17 Application Port == 1000 1000 1001 1001 ... ... @@ -1012,6 +1012,7 @@ 1012 1012 ))) 1013 1013 |(% style="width:157px" %)AT+PORT=21|(% style="width:204px" %)Set the application port|(% style="width:135px" %)OK 1014 1014 1057 + 1015 1015 (% style="color:blue" %)**Downlink Command: 0x23** 1016 1016 1017 1017 Format: Command Code (0x23) followed by 1 bytes port value. ... ... @@ -1040,6 +1040,7 @@ 1040 1040 |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK 1041 1041 1042 1042 1086 + 1043 1043 == 7.19 Eight Channel Mode == 1044 1044 1045 1045 Feature: Get or Set eight channels mode,Only for US915,AU915,CN470. ... ... @@ -1057,6 +1057,7 @@ 1057 1057 ))) 1058 1058 |(% style="width:160px" %)AT+CHE=1|(% style="width:198px" %)Set eight channels mode|(% style="width:349px" %)OK 1059 1059 1104 + 1060 1060 (% style="color:blue" %)**Downlink Command: 0x24** 1061 1061 1062 1062 Format: Command Code (0x24) followed by 1 bytes channel value. ... ... @@ -1068,6 +1068,7 @@ 1068 1068 1069 1069 1070 1070 1116 + 1071 1071 == 7.20 Get or Set RXwindows1 timeout == 1072 1072 1073 1073 ... ... @@ -1118,6 +1118,7 @@ 1118 1118 |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK 1119 1119 1120 1120 1167 + 1121 1121 == 7.22 Setting up uplinkdwelltime (as923, au915) == 1122 1122 1123 1123 ... ... @@ -1134,6 +1134,7 @@ 1134 1134 ))) 1135 1135 |(% style="width:183px" %)AT+DWELLT=0|(% style="width:179px" %)Set uplinkdwelltime|(% style="width:131px" %)OK 1136 1136 1184 + 1137 1137 (% style="color:blue" %)**Downlink Command: 0x25** 1138 1138 1139 1139 Format: Command Code (0x25) followed by 1 bytes state value. ... ... @@ -1145,6 +1145,7 @@ 1145 1145 1146 1146 1147 1147 1196 + 1148 1148 == 7.23 Set Packet Receiving Response Level == 1149 1149 1150 1150 ... ... @@ -1151,7 +1151,7 @@ 1151 1151 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. 1152 1152 1153 1153 1154 -RPL value: 1203 +**RPL value:** 1155 1155 1156 1156 * **AT+RPL=0:** Device won't immediately reply any downlink commands from platform. 1157 1157 * **AT+RPL=1:** Device will immediately reply message to Unconfirmed Data Down. Payload is 0x00. ... ... @@ -1160,7 +1160,7 @@ 1160 1160 * **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. 1161 1161 1162 1162 1163 -Case Analyes: 1212 +**Case Analyes:** 1164 1164 1165 1165 * For Class A devices, AT+RPL=0 is ok. that is defaut settings in software. 1166 1166 * For Class C devices used in ChirpStack, need to set AT+RPL=4 because Chirpstack require immedietely reply message to MAC Command. ... ... @@ -1177,6 +1177,7 @@ 1177 1177 ))) 1178 1178 |(% style="width:160px" %)AT+RPL=0|(% style="width:263px" %)Set packet receiving response level|(% style="width:109px" %)OK 1179 1179 1229 + 1180 1180 (% style="color:blue" %)**Downlink Command: 0x21** 1181 1181 1182 1182 Format: Command Code (0x21) followed by 1 bytes level value. ... ... @@ -1188,6 +1188,7 @@ 1188 1188 1189 1189 1190 1190 1241 + 1191 1191 == 7.24 Controls NBTrans in unconfirmed uplink mode(LWS007 NBTrans:Set retransmission packets) == 1192 1192 1193 1193 ... ... @@ -1205,6 +1205,7 @@ 1205 1205 OK 1206 1206 ))) 1207 1207 1259 + 1208 1208 (% style="color:blue" %)**Downlink Command: 0x33** 1209 1209 1210 1210 Format: Command Code (0x33) followed by 2 bytes mode value. ... ... @@ -1252,6 +1252,7 @@ 1252 1252 OK 1253 1253 ))) 1254 1254 1307 + 1255 1255 (% style="color:blue" %)**Downlink Command: 0x33** 1256 1256 1257 1257 Format: Command Code (0x32) followed by 2 bytes mode value. ... ... @@ -1280,6 +1280,7 @@ 1280 1280 ))) 1281 1281 1282 1282 1336 + 1283 1283 == 7.27 Adjust network rejoining interval == 1284 1284 1285 1285 ... ... @@ -1297,6 +1297,7 @@ 1297 1297 Set the ReJoin data transmission interval to 60000ms = 60 seconds 1298 1298 ))) 1299 1299 1354 + 1300 1300 (% style="color:blue" %)**Downlink Command: 0x26** 1301 1301 1302 1302 Format: Command Code (0x26) followed by 2 bytes mode value.