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
-
... ... @@ -626,6 +626,8 @@ 626 626 OK 627 627 ))) 628 628 629 + 630 + 629 629 == 6.7 Print Last Received Data in Binary Format == 630 630 631 631 ... ... @@ -641,6 +641,8 @@ 641 641 OK 642 642 ))) 643 643 646 + 647 + 644 644 == 6.8 Send Text Data == 645 645 646 646 ... ... @@ -660,6 +660,8 @@ 660 660 661 661 ))) 662 662 667 + 668 + 663 663 == 6.9 Send Hexadecimal Data == 664 664 665 665 ... ... @@ -678,6 +678,8 @@ 678 678 679 679 ))) 680 680 687 + 688 + 681 681 = 7. LoRaWAN network management = 682 682 683 683 ... ... @@ -700,6 +700,7 @@ 700 700 AT_PARAM_ERROR 701 701 ))) 702 702 711 + 703 703 (% style="color:blue" %)**Downlink Command: 0x22** 704 704 705 705 If the downlink payload=2201, it means setting the adaptive data rate to 1, while type code is 22. ... ... @@ -708,6 +708,8 @@ 708 708 * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0. 709 709 710 710 720 + 721 + 711 711 == 7.2 LoRa® Class == 712 712 713 713 ... ... @@ -726,6 +726,8 @@ 726 726 727 727 ))) 728 728 740 + 741 + 729 729 == 7.3 Duty Cycle Setting == 730 730 731 731 ... ... @@ -744,6 +744,8 @@ 744 744 745 745 ))) 746 746 760 + 761 + 747 747 == 7.4 Data Rate == 748 748 749 749 ... ... @@ -762,6 +762,7 @@ 762 762 763 763 ))) 764 764 780 + 765 765 (% style="color:blue" %)**Downlink Command: 0x2200aaFF** 766 766 767 767 If the downlink payload=220001FF, it means setting the data rate to 1, while type code is 22 00 aa FF. ... ... @@ -770,6 +770,8 @@ 770 770 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0. 771 771 772 772 789 + 790 + 773 773 == 7.5 Frame Counter Downlink == 774 774 775 775 ... ... @@ -788,6 +788,8 @@ 788 788 OK 789 789 ))) 790 790 809 + 810 + 791 791 == 7.6 Frame Counter Uplink == 792 792 793 793 Feature: Get or Set the Frame Counter Uplink. ... ... @@ -805,6 +805,8 @@ 805 805 806 806 ))) 807 807 828 + 829 + 808 808 == 7.7 Join Accept Delay1 == 809 809 810 810 ... ... @@ -823,6 +823,8 @@ 823 823 824 824 ))) 825 825 848 + 849 + 826 826 == 7.8 Join Accept Delay2 == 827 827 828 828 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms. ... ... @@ -840,6 +840,8 @@ 840 840 841 841 ))) 842 842 867 + 868 + 843 843 == 7.9 Public Network Mode == 844 844 845 845 ... ... @@ -867,6 +867,8 @@ 867 867 ))) 868 868 |(% style="width:166px" %)AT+PNM=0|(% style="width:225px" %)Set to use private network autoset syncword=0x12|(% style="width:272px" %) 869 869 896 + 897 + 870 870 == 7.10 Receive Delay1 == 871 871 872 872 ... ... @@ -886,6 +886,7 @@ 886 886 ))) 887 887 888 888 917 + 889 889 == 7.11 Receive Delay2 == 890 890 891 891 ... ... @@ -905,6 +905,7 @@ 905 905 ))) 906 906 907 907 937 + 908 908 == 7.12 Rx2 Window Data Rate == 909 909 910 910 ... ... @@ -924,6 +924,7 @@ 924 924 ))) 925 925 926 926 957 + 927 927 == 7.13 Rx2 Window Frequency == 928 928 929 929 ... ... @@ -943,6 +943,7 @@ 943 943 ))) 944 944 945 945 977 + 946 946 == 7.14 Transmit Power == 947 947 948 948 ... ... @@ -961,6 +961,7 @@ 961 961 962 962 ))) 963 963 996 + 964 964 Downlink Payload. The 4th byte of 0x22 downlink. 965 965 966 966 If the downlink payload=22000100, it means setting the TXP to 0. ... ... @@ -970,6 +970,7 @@ 970 970 971 971 972 972 1006 + 973 973 == 7.15 RSSI of the Last Received Packet == 974 974 975 975 ... ... @@ -986,6 +986,7 @@ 986 986 ))) 987 987 988 988 1023 + 989 989 == 7.16 SNR of the Last Received Packet == 990 990 991 991 ... ... @@ -1002,6 +1002,7 @@ 1002 1002 ))) 1003 1003 1004 1004 1040 + 1005 1005 == 7.17 Application Port == 1006 1006 1007 1007 ... ... @@ -1018,6 +1018,7 @@ 1018 1018 ))) 1019 1019 |(% style="width:157px" %)AT+PORT=21|(% style="width:204px" %)Set the application port|(% style="width:135px" %)OK 1020 1020 1057 + 1021 1021 (% style="color:blue" %)**Downlink Command: 0x23** 1022 1022 1023 1023 Format: Command Code (0x23) followed by 1 bytes port value. ... ... @@ -1046,6 +1046,7 @@ 1046 1046 |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK 1047 1047 1048 1048 1086 + 1049 1049 == 7.19 Eight Channel Mode == 1050 1050 1051 1051 Feature: Get or Set eight channels mode,Only for US915,AU915,CN470. ... ... @@ -1063,6 +1063,7 @@ 1063 1063 ))) 1064 1064 |(% style="width:160px" %)AT+CHE=1|(% style="width:198px" %)Set eight channels mode|(% style="width:349px" %)OK 1065 1065 1104 + 1066 1066 (% style="color:blue" %)**Downlink Command: 0x24** 1067 1067 1068 1068 Format: Command Code (0x24) followed by 1 bytes channel value. ... ... @@ -1074,6 +1074,7 @@ 1074 1074 1075 1075 1076 1076 1116 + 1077 1077 == 7.20 Get or Set RXwindows1 timeout == 1078 1078 1079 1079 ... ... @@ -1124,6 +1124,7 @@ 1124 1124 |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK 1125 1125 1126 1126 1167 + 1127 1127 == 7.22 Setting up uplinkdwelltime (as923, au915) == 1128 1128 1129 1129 ... ... @@ -1140,6 +1140,7 @@ 1140 1140 ))) 1141 1141 |(% style="width:183px" %)AT+DWELLT=0|(% style="width:179px" %)Set uplinkdwelltime|(% style="width:131px" %)OK 1142 1142 1184 + 1143 1143 (% style="color:blue" %)**Downlink Command: 0x25** 1144 1144 1145 1145 Format: Command Code (0x25) followed by 1 bytes state value. ... ... @@ -1151,6 +1151,7 @@ 1151 1151 1152 1152 1153 1153 1196 + 1154 1154 == 7.23 Set Packet Receiving Response Level == 1155 1155 1156 1156 ... ... @@ -1157,7 +1157,7 @@ 1157 1157 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. 1158 1158 1159 1159 1160 -RPL value: 1203 +**RPL value:** 1161 1161 1162 1162 * **AT+RPL=0:** Device won't immediately reply any downlink commands from platform. 1163 1163 * **AT+RPL=1:** Device will immediately reply message to Unconfirmed Data Down. Payload is 0x00. ... ... @@ -1166,7 +1166,7 @@ 1166 1166 * **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. 1167 1167 1168 1168 1169 -Case Analyes: 1212 +**Case Analyes:** 1170 1170 1171 1171 * For Class A devices, AT+RPL=0 is ok. that is defaut settings in software. 1172 1172 * For Class C devices used in ChirpStack, need to set AT+RPL=4 because Chirpstack require immedietely reply message to MAC Command. ... ... @@ -1183,6 +1183,7 @@ 1183 1183 ))) 1184 1184 |(% style="width:160px" %)AT+RPL=0|(% style="width:263px" %)Set packet receiving response level|(% style="width:109px" %)OK 1185 1185 1229 + 1186 1186 (% style="color:blue" %)**Downlink Command: 0x21** 1187 1187 1188 1188 Format: Command Code (0x21) followed by 1 bytes level value. ... ... @@ -1194,23 +1194,29 @@ 1194 1194 1195 1195 1196 1196 1241 + 1197 1197 == 7.24 Controls NBTrans in unconfirmed uplink mode(LWS007 NBTrans:Set retransmission packets) == 1198 1198 1199 1199 1200 1200 (% style="color:blue" %)**AT Command: AT+SETMAXNBTRANS ** 1201 1201 1202 -(% border="1" style="background-color:#ffffcc; color:green; width:5 36.222px" %)1203 -|=(% colspan="3" style="width: 5 33px;" %)AT+**SETMAXNBTRANS**1204 -|(% style="width: 160px" %)**Command Example**|(% style="width:263px" %)**Function**|(% style="width:109px" %)**Response**1205 -|(% style="width: 160px" %)**AT+SETMAXNBTRANS=1,0**|(% style="width:263px" %)Value1: set the maximum NBTrans.|(% style="width:109px" %)1(((1247 +(% border="1" style="background-color:#ffffcc; color:green; width:589px" %) 1248 +|=(% colspan="3" style="width: 586px;" %)AT+**SETMAXNBTRANS** 1249 +|(% style="width:227px" %)**Command Example**|(% style="width:300px" %)**Function**|(% style="width:87px" %)**Response** 1250 +|(% style="width:227px" %)**AT+SETMAXNBTRANS=1,0**|(% style="width:300px" %)Value1: set the maximum NBTrans.|(% style="width:87px" %)1((( 1206 1206 OK 1207 1207 ))) 1208 -|(% style="width:160px" %)**AT+SETMAXNBTRANS=?,1**|(% style="width:263px" %)value2: 0: uplink fcnt doesn't change for each NBTrans; 1: uplink fcnt increase by 1 for each NBTrans.|(% style="width:109px" %)((( 1253 +|(% style="width:227px" %)**AT+SETMAXNBTRANS=?,1**|(% style="width:300px" %)((( 1254 +value2: 0: uplink fcnt doesn't change for each NBTrans; 1255 + 1256 +1: uplink fcnt increase by 1 for each NBTrans. 1257 +)))|(% style="width:87px" %)((( 1209 1209 1 1210 1210 1211 1211 OK 1212 1212 ))) 1213 1213 1263 + 1214 1214 (% style="color:blue" %)**Downlink Command: 0x33** 1215 1215 1216 1216 Format: Command Code (0x33) followed by 2 bytes mode value. ... ... @@ -1258,6 +1258,7 @@ 1258 1258 OK 1259 1259 ))) 1260 1260 1311 + 1261 1261 (% style="color:blue" %)**Downlink Command: 0x33** 1262 1262 1263 1263 Format: Command Code (0x32) followed by 2 bytes mode value. ... ... @@ -1286,6 +1286,7 @@ 1286 1286 ))) 1287 1287 1288 1288 1340 + 1289 1289 == 7.27 Adjust network rejoining interval == 1290 1290 1291 1291 ... ... @@ -1303,6 +1303,7 @@ 1303 1303 Set the ReJoin data transmission interval to 60000ms = 60 seconds 1304 1304 ))) 1305 1305 1358 + 1306 1306 (% style="color:blue" %)**Downlink Command: 0x26** 1307 1307 1308 1308 Format: Command Code (0x26) followed by 2 bytes mode value.