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
-
... ... @@ -27,8 +27,6 @@ 27 27 ** See use note for more serves [[Servers Note>>doc:Main.WebHome]](IoT LoRaWAN Server) 28 28 29 29 30 - 31 - 32 32 = 3. Support End Node and firmware version = 33 33 34 34 ... ... @@ -103,9 +103,6 @@ 103 103 ))) 104 104 ))) 105 105 106 - 107 - 108 - 109 109 = 4. System Management Commands = 110 110 111 111 ... ... @@ -145,8 +145,6 @@ 145 145 * **Example 2**: Downlink Payload:** 0100003C** ~/~/ Set Transmit Interval (TDC) = 60 seconds 146 146 147 147 148 - 149 - 150 150 == 4.2 Reboot End Node == 151 151 152 152 ... ... @@ -261,6 +261,7 @@ 261 261 ((( 262 262 263 263 257 + 264 264 **yy: Frequency Band:** 265 265 ))) 266 266 ... ... @@ -278,6 +278,7 @@ 278 278 ((( 279 279 280 280 275 + 281 281 **zz: Subband** 282 282 ))) 283 283 ... ... @@ -310,7 +310,6 @@ 310 310 ))) 311 311 312 312 313 - 314 314 = 5. Keys, IDs and EUIs management = 315 315 316 316 ... ... @@ -331,7 +331,6 @@ 331 331 |(% style="width:305px" %)AT+APPEUI=00 b3 d5 7e f0 00 4d 34|(% style="width:186px" %)Set the Application EUI|(% style="width:191px" %)OK 332 332 333 333 334 - 335 335 == 5.2 Application Key == 336 336 337 337 ... ... @@ -349,7 +349,6 @@ 349 349 |(% style="width:441px" %)AT+APPKEY=00 35 55 55 22 23 55 53 43 24 23 42 34 35 35 35|(% style="width:180px" %)Set the Application Key|(% style="width:350px" %)OK 350 350 351 351 352 - 353 353 == 5.3 Application Session Key == 354 354 355 355 ... ... @@ -369,7 +369,6 @@ 369 369 ))) 370 370 371 371 372 - 373 373 == 5.4 Device Address == 374 374 375 375 ... ... @@ -389,7 +389,6 @@ 389 389 |(% style="width:192px" %)AT+DADDR=A8 40 41 FF|(% style="width:241px" %)Set the Application Session Key.|(% style="width:359px" %)OK 390 390 391 391 392 - 393 393 == 5.5 Device EUI == 394 394 395 395 ... ... @@ -409,7 +409,6 @@ 409 409 ))) 410 410 411 411 412 - 413 413 == 5.6 Network ID == 414 414 415 415 ... ... @@ -427,7 +427,6 @@ 427 427 |(% style="width:191px" %)AT+NWKID=A8 40 41 FF|(% style="width:153px" %)Set the Network ID.|(% style="width:101px" %)OK 428 428 429 429 430 - 431 431 == 5.7 Network Session Key == 432 432 433 433 ... ... @@ -445,7 +445,6 @@ 445 445 |(% style="width:455px" %)AT+NWKSKEY=A8 40 41 FF FF 12 34 56 00 01 02 04 05 06 06 07|(% style="width:215px" %)Set the Network Session Key.|(% style="width:343px" %)OK 446 446 447 447 448 - 449 449 = 6. Joining and sending date on LoRaWAN network = 450 450 451 451 ... ... @@ -480,7 +480,6 @@ 480 480 481 481 482 482 483 - 484 484 === 6.1.2 AT+CFM command since DR-LWS007 software stack === 485 485 486 486 ... ... @@ -528,7 +528,6 @@ 528 528 529 529 530 530 531 - 532 532 == 6.2 Confirm Status == 533 533 534 534 ... ... @@ -545,7 +545,6 @@ 545 545 ))) 546 546 547 547 548 - 549 549 == 6.3 Join LoRa® Network == 550 550 551 551 ... ... @@ -564,7 +564,6 @@ 564 564 ))) 565 565 566 566 567 - 568 568 == 6.4 LoRa® Network Join Mode == 569 569 570 570 ... ... @@ -593,7 +593,6 @@ 593 593 594 594 595 595 596 - 597 597 == 6.5 LoRa® Network Join Status == 598 598 599 599 ... ... @@ -610,7 +610,6 @@ 610 610 ))) 611 611 612 612 613 - 614 614 == 6.6 Print Last Received Data in Raw Format == 615 615 616 616 ... ... @@ -626,6 +626,7 @@ 626 626 OK 627 627 ))) 628 628 610 + 629 629 == 6.7 Print Last Received Data in Binary Format == 630 630 631 631 ... ... @@ -641,6 +641,7 @@ 641 641 OK 642 642 ))) 643 643 626 + 644 644 == 6.8 Send Text Data == 645 645 646 646 ... ... @@ -660,6 +660,7 @@ 660 660 661 661 ))) 662 662 646 + 663 663 == 6.9 Send Hexadecimal Data == 664 664 665 665 ... ... @@ -678,6 +678,7 @@ 678 678 679 679 ))) 680 680 665 + 681 681 = 7. LoRaWAN network management = 682 682 683 683 ... ... @@ -708,6 +708,7 @@ 708 708 * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0. 709 709 710 710 696 + 711 711 == 7.2 LoRa® Class == 712 712 713 713 ... ... @@ -726,6 +726,7 @@ 726 726 727 727 ))) 728 728 715 + 729 729 == 7.3 Duty Cycle Setting == 730 730 731 731 ... ... @@ -744,6 +744,7 @@ 744 744 745 745 ))) 746 746 734 + 747 747 == 7.4 Data Rate == 748 748 749 749 ... ... @@ -770,6 +770,7 @@ 770 770 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0. 771 771 772 772 761 + 773 773 == 7.5 Frame Counter Downlink == 774 774 775 775 ... ... @@ -788,6 +788,7 @@ 788 788 OK 789 789 ))) 790 790 780 + 791 791 == 7.6 Frame Counter Uplink == 792 792 793 793 Feature: Get or Set the Frame Counter Uplink. ... ... @@ -805,6 +805,7 @@ 805 805 806 806 ))) 807 807 798 + 808 808 == 7.7 Join Accept Delay1 == 809 809 810 810 ... ... @@ -823,6 +823,7 @@ 823 823 824 824 ))) 825 825 817 + 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,7 @@ 840 840 841 841 ))) 842 842 835 + 843 843 == 7.9 Public Network Mode == 844 844 845 845 ... ... @@ -867,6 +867,7 @@ 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 863 + 870 870 == 7.10 Receive Delay1 == 871 871 872 872 ... ... @@ -886,6 +886,7 @@ 886 886 ))) 887 887 888 888 883 + 889 889 == 7.11 Receive Delay2 == 890 890 891 891 ... ... @@ -905,6 +905,7 @@ 905 905 ))) 906 906 907 907 903 + 908 908 == 7.12 Rx2 Window Data Rate == 909 909 910 910 ... ... @@ -924,6 +924,7 @@ 924 924 ))) 925 925 926 926 923 + 927 927 == 7.13 Rx2 Window Frequency == 928 928 929 929 ... ... @@ -943,6 +943,7 @@ 943 943 ))) 944 944 945 945 943 + 946 946 == 7.14 Transmit Power == 947 947 948 948 ... ... @@ -970,6 +970,7 @@ 970 970 971 971 972 972 971 + 973 973 == 7.15 RSSI of the Last Received Packet == 974 974 975 975 ... ... @@ -986,6 +986,7 @@ 986 986 ))) 987 987 988 988 988 + 989 989 == 7.16 SNR of the Last Received Packet == 990 990 991 991 ... ... @@ -1002,6 +1002,7 @@ 1002 1002 ))) 1003 1003 1004 1004 1005 + 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 1022 + 1021 1021 (% style="color:blue" %)**Downlink Command: 0x23** 1022 1022 1023 1023 Format: Command Code (0x23) followed by 1 bytes port value. ... ... @@ -1029,6 +1029,7 @@ 1029 1029 1030 1030 1031 1031 1034 + 1032 1032 == 7.18 Single Channel Mode == 1033 1033 1034 1034 ... ... @@ -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 1052 + 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 1070 + 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 1082 + 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 1133 + 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 1150 + 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 1162 + 1154 1154 == 7.23 Set Packet Receiving Response Level == 1155 1155 1156 1156 ... ... @@ -1166,6 +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 1178 + 1169 1169 Case Analyes: 1170 1170 1171 1171 * For Class A devices, AT+RPL=0 is ok. that is defaut settings in software. ... ... @@ -1173,6 +1173,7 @@ 1173 1173 * For Class C devices used in TTI, need to set AT+RPL=4 because TTI require immediately reply message to Confirmed Data Down & MAC Command. 1174 1174 1175 1175 1186 + 1176 1176 (% style="color:blue" %)**AT Command: AT+RPL** 1177 1177 1178 1178 (% border="1" style="background-color:#ffffcc; color:green; width:536.222px" %) ... ... @@ -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 1197 + 1186 1186 (% style="color:blue" %)**Downlink Command: 0x21** 1187 1187 1188 1188 Format: Command Code (0x21) followed by 1 bytes level value. ... ... @@ -1194,6 +1194,7 @@ 1194 1194 1195 1195 1196 1196 1209 + 1197 1197 == 7.24 Controls NBTrans in unconfirmed uplink mode(LWS007 NBTrans:Set retransmission packets) == 1198 1198 1199 1199 ... ... @@ -1211,6 +1211,7 @@ 1211 1211 OK 1212 1212 ))) 1213 1213 1227 + 1214 1214 (% style="color:blue" %)**Downlink Command: 0x33** 1215 1215 1216 1216 Format: Command Code (0x33) followed by 2 bytes mode value. ... ... @@ -1222,6 +1222,7 @@ 1222 1222 1223 1223 1224 1224 1239 + 1225 1225 == 7.25 Device offline rejoining (LWS007) == 1226 1226 1227 1227 ... ... @@ -1258,6 +1258,7 @@ 1258 1258 OK 1259 1259 ))) 1260 1260 1276 + 1261 1261 (% style="color:blue" %)**Downlink Command: 0x33** 1262 1262 1263 1263 Format: Command Code (0x32) followed by 2 bytes mode value. ... ... @@ -1268,6 +1268,7 @@ 1268 1268 1269 1269 1270 1270 1287 + 1271 1271 == 7.26 Request the server to send an ACK == 1272 1272 1273 1273 ... ... @@ -1286,6 +1286,7 @@ 1286 1286 ))) 1287 1287 1288 1288 1306 + 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 1324 + 1306 1306 (% style="color:blue" %)**Downlink Command: 0x26** 1307 1307 1308 1308 Format: Command Code (0x26) followed by 2 bytes mode value. ... ... @@ -1314,24 +1314,22 @@ 1314 1314 1315 1315 1316 1316 1336 + 1317 1317 = 8. AT Commands Combination = 1318 1318 1319 - 1320 1320 == 8.1 Set a fix RX2DR for downlink window == 1321 1321 1341 +* **AT+ADR=0 **~-~-> Disable ADR first 1342 +* **AT+RX2DR=xxxx** ~-~-> Set xxxx to your wanted DataRate 1322 1322 1323 -* **AT+ADR=0 ** **~-~->** Disable ADR first 1324 -* **AT+RX2DR=xxxx** **~-~->** Set xxxx to your wanted DataRate 1325 - 1326 - 1327 - 1328 1328 == 8.2 Use Downlink Command to set a fix uplink DR == 1329 1329 1330 1330 1331 1331 (% style="color:blue" %)**Downlink Command: 0x22000500** 1332 1332 1333 -**Same as:** 1334 1334 1350 +Same as: 1351 + 1335 1335 * AT+ADR=0 [[Reference>>||anchor="H7.1AdaptiveDataRate"]] 1336 1336 * AT+DR=5 [[Reference>>||anchor="H7.4DataRate"]] 1337 -* AT+TXP=0 1354 +* AT+TXP=0 [[Reference>>||anchor="H7.14TransmitPower"]]