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 ... ... @@ -627,7 +627,6 @@ 627 627 ))) 628 628 629 629 630 - 631 631 == 6.7 Print Last Received Data in Binary Format == 632 632 633 633 ... ... @@ -644,7 +644,6 @@ 644 644 ))) 645 645 646 646 647 - 648 648 == 6.8 Send Text Data == 649 649 650 650 ... ... @@ -665,7 +665,6 @@ 665 665 ))) 666 666 667 667 668 - 669 669 == 6.9 Send Hexadecimal Data == 670 670 671 671 ... ... @@ -685,7 +685,6 @@ 685 685 ))) 686 686 687 687 688 - 689 689 = 7. LoRaWAN network management = 690 690 691 691 ... ... @@ -708,7 +708,6 @@ 708 708 AT_PARAM_ERROR 709 709 ))) 710 710 711 - 712 712 (% style="color:blue" %)**Downlink Command: 0x22** 713 713 714 714 If the downlink payload=2201, it means setting the adaptive data rate to 1, while type code is 22. ... ... @@ -718,7 +718,6 @@ 718 718 719 719 720 720 721 - 722 722 == 7.2 LoRa® Class == 723 723 724 724 ... ... @@ -738,7 +738,6 @@ 738 738 ))) 739 739 740 740 741 - 742 742 == 7.3 Duty Cycle Setting == 743 743 744 744 ... ... @@ -758,7 +758,6 @@ 758 758 ))) 759 759 760 760 761 - 762 762 == 7.4 Data Rate == 763 763 764 764 ... ... @@ -777,7 +777,6 @@ 777 777 778 778 ))) 779 779 780 - 781 781 (% style="color:blue" %)**Downlink Command: 0x2200aaFF** 782 782 783 783 If the downlink payload=220001FF, it means setting the data rate to 1, while type code is 22 00 aa FF. ... ... @@ -787,7 +787,6 @@ 787 787 788 788 789 789 790 - 791 791 == 7.5 Frame Counter Downlink == 792 792 793 793 ... ... @@ -807,7 +807,6 @@ 807 807 ))) 808 808 809 809 810 - 811 811 == 7.6 Frame Counter Uplink == 812 812 813 813 Feature: Get or Set the Frame Counter Uplink. ... ... @@ -826,7 +826,6 @@ 826 826 ))) 827 827 828 828 829 - 830 830 == 7.7 Join Accept Delay1 == 831 831 832 832 ... ... @@ -846,7 +846,6 @@ 846 846 ))) 847 847 848 848 849 - 850 850 == 7.8 Join Accept Delay2 == 851 851 852 852 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms. ... ... @@ -864,6 +864,7 @@ 864 864 865 865 ))) 866 866 835 + 867 867 == 7.9 Public Network Mode == 868 868 869 869 ... ... @@ -891,6 +891,7 @@ 891 891 ))) 892 892 |(% style="width:166px" %)AT+PNM=0|(% style="width:225px" %)Set to use private network autoset syncword=0x12|(% style="width:272px" %) 893 893 863 + 894 894 == 7.10 Receive Delay1 == 895 895 896 896 ... ... @@ -910,6 +910,7 @@ 910 910 ))) 911 911 912 912 883 + 913 913 == 7.11 Receive Delay2 == 914 914 915 915 ... ... @@ -929,6 +929,7 @@ 929 929 ))) 930 930 931 931 903 + 932 932 == 7.12 Rx2 Window Data Rate == 933 933 934 934 ... ... @@ -948,6 +948,7 @@ 948 948 ))) 949 949 950 950 923 + 951 951 == 7.13 Rx2 Window Frequency == 952 952 953 953 ... ... @@ -967,6 +967,7 @@ 967 967 ))) 968 968 969 969 943 + 970 970 == 7.14 Transmit Power == 971 971 972 972 ... ... @@ -994,6 +994,7 @@ 994 994 995 995 996 996 971 + 997 997 == 7.15 RSSI of the Last Received Packet == 998 998 999 999 ... ... @@ -1010,6 +1010,7 @@ 1010 1010 ))) 1011 1011 1012 1012 988 + 1013 1013 == 7.16 SNR of the Last Received Packet == 1014 1014 1015 1015 ... ... @@ -1026,6 +1026,7 @@ 1026 1026 ))) 1027 1027 1028 1028 1005 + 1029 1029 == 7.17 Application Port == 1030 1030 1031 1031 ... ... @@ -1042,6 +1042,7 @@ 1042 1042 ))) 1043 1043 |(% style="width:157px" %)AT+PORT=21|(% style="width:204px" %)Set the application port|(% style="width:135px" %)OK 1044 1044 1022 + 1045 1045 (% style="color:blue" %)**Downlink Command: 0x23** 1046 1046 1047 1047 Format: Command Code (0x23) followed by 1 bytes port value. ... ... @@ -1053,6 +1053,7 @@ 1053 1053 1054 1054 1055 1055 1034 + 1056 1056 == 7.18 Single Channel Mode == 1057 1057 1058 1058 ... ... @@ -1070,6 +1070,7 @@ 1070 1070 |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK 1071 1071 1072 1072 1052 + 1073 1073 == 7.19 Eight Channel Mode == 1074 1074 1075 1075 Feature: Get or Set eight channels mode,Only for US915,AU915,CN470. ... ... @@ -1087,6 +1087,7 @@ 1087 1087 ))) 1088 1088 |(% style="width:160px" %)AT+CHE=1|(% style="width:198px" %)Set eight channels mode|(% style="width:349px" %)OK 1089 1089 1070 + 1090 1090 (% style="color:blue" %)**Downlink Command: 0x24** 1091 1091 1092 1092 Format: Command Code (0x24) followed by 1 bytes channel value. ... ... @@ -1098,6 +1098,7 @@ 1098 1098 1099 1099 1100 1100 1082 + 1101 1101 == 7.20 Get or Set RXwindows1 timeout == 1102 1102 1103 1103 ... ... @@ -1148,6 +1148,7 @@ 1148 1148 |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK 1149 1149 1150 1150 1133 + 1151 1151 == 7.22 Setting up uplinkdwelltime (as923, au915) == 1152 1152 1153 1153 ... ... @@ -1164,6 +1164,7 @@ 1164 1164 ))) 1165 1165 |(% style="width:183px" %)AT+DWELLT=0|(% style="width:179px" %)Set uplinkdwelltime|(% style="width:131px" %)OK 1166 1166 1150 + 1167 1167 (% style="color:blue" %)**Downlink Command: 0x25** 1168 1168 1169 1169 Format: Command Code (0x25) followed by 1 bytes state value. ... ... @@ -1175,6 +1175,7 @@ 1175 1175 1176 1176 1177 1177 1162 + 1178 1178 == 7.23 Set Packet Receiving Response Level == 1179 1179 1180 1180 ... ... @@ -1190,6 +1190,7 @@ 1190 1190 * **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. 1191 1191 1192 1192 1178 + 1193 1193 Case Analyes: 1194 1194 1195 1195 * For Class A devices, AT+RPL=0 is ok. that is defaut settings in software. ... ... @@ -1197,6 +1197,7 @@ 1197 1197 * 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. 1198 1198 1199 1199 1186 + 1200 1200 (% style="color:blue" %)**AT Command: AT+RPL** 1201 1201 1202 1202 (% border="1" style="background-color:#ffffcc; color:green; width:536.222px" %) ... ... @@ -1207,6 +1207,7 @@ 1207 1207 ))) 1208 1208 |(% style="width:160px" %)AT+RPL=0|(% style="width:263px" %)Set packet receiving response level|(% style="width:109px" %)OK 1209 1209 1197 + 1210 1210 (% style="color:blue" %)**Downlink Command: 0x21** 1211 1211 1212 1212 Format: Command Code (0x21) followed by 1 bytes level value. ... ... @@ -1218,6 +1218,7 @@ 1218 1218 1219 1219 1220 1220 1209 + 1221 1221 == 7.24 Controls NBTrans in unconfirmed uplink mode(LWS007 NBTrans:Set retransmission packets) == 1222 1222 1223 1223 ... ... @@ -1235,6 +1235,7 @@ 1235 1235 OK 1236 1236 ))) 1237 1237 1227 + 1238 1238 (% style="color:blue" %)**Downlink Command: 0x33** 1239 1239 1240 1240 Format: Command Code (0x33) followed by 2 bytes mode value. ... ... @@ -1246,6 +1246,7 @@ 1246 1246 1247 1247 1248 1248 1239 + 1249 1249 == 7.25 Device offline rejoining (LWS007) == 1250 1250 1251 1251 ... ... @@ -1282,6 +1282,7 @@ 1282 1282 OK 1283 1283 ))) 1284 1284 1276 + 1285 1285 (% style="color:blue" %)**Downlink Command: 0x33** 1286 1286 1287 1287 Format: Command Code (0x32) followed by 2 bytes mode value. ... ... @@ -1292,6 +1292,7 @@ 1292 1292 1293 1293 1294 1294 1287 + 1295 1295 == 7.26 Request the server to send an ACK == 1296 1296 1297 1297 ... ... @@ -1310,6 +1310,7 @@ 1310 1310 ))) 1311 1311 1312 1312 1306 + 1313 1313 == 7.27 Adjust network rejoining interval == 1314 1314 1315 1315 ... ... @@ -1327,6 +1327,7 @@ 1327 1327 Set the ReJoin data transmission interval to 60000ms = 60 seconds 1328 1328 ))) 1329 1329 1324 + 1330 1330 (% style="color:blue" %)**Downlink Command: 0x26** 1331 1331 1332 1332 Format: Command Code (0x26) followed by 2 bytes mode value. ... ... @@ -1338,6 +1338,7 @@ 1338 1338 1339 1339 1340 1340 1336 + 1341 1341 = 8. AT Commands Combination = 1342 1342 1343 1343 ... ... @@ -1344,11 +1344,12 @@ 1344 1344 == 8.1 Set a fix RX2DR for downlink window == 1345 1345 1346 1346 1347 -* **AT+ADR=0 1343 +* **AT+ADR=0 ** **~-~->** Disable ADR first 1348 1348 * **AT+RX2DR=xxxx** **~-~->** Set xxxx to your wanted DataRate 1349 1349 1350 1350 1351 1351 1348 + 1352 1352 == 8.2 Use Downlink Command to set a fix uplink DR == 1353 1353 1354 1354