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 ... ... @@ -563,6 +563,7 @@ 563 563 While Error in format, return AT_BUSY_ERROR 564 564 ))) 565 565 550 + 566 566 == 6.4 LoRa® Network Join Mode == 567 567 568 568 ... ... @@ -590,6 +590,7 @@ 590 590 * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1 591 591 592 592 578 + 593 593 == 6.5 LoRa® Network Join Status == 594 594 595 595 ... ... @@ -605,6 +605,7 @@ 605 605 OK 606 606 ))) 607 607 594 + 608 608 == 6.6 Print Last Received Data in Raw Format == 609 609 610 610 ... ... @@ -620,6 +620,7 @@ 620 620 OK 621 621 ))) 622 622 610 + 623 623 == 6.7 Print Last Received Data in Binary Format == 624 624 625 625 ... ... @@ -635,6 +635,7 @@ 635 635 OK 636 636 ))) 637 637 626 + 638 638 == 6.8 Send Text Data == 639 639 640 640 ... ... @@ -654,6 +654,7 @@ 654 654 655 655 ))) 656 656 646 + 657 657 == 6.9 Send Hexadecimal Data == 658 658 659 659 ... ... @@ -672,6 +672,7 @@ 672 672 673 673 ))) 674 674 665 + 675 675 = 7. LoRaWAN network management = 676 676 677 677 ... ... @@ -702,6 +702,7 @@ 702 702 * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0. 703 703 704 704 696 + 705 705 == 7.2 LoRa® Class == 706 706 707 707 ... ... @@ -720,6 +720,7 @@ 720 720 721 721 ))) 722 722 715 + 723 723 == 7.3 Duty Cycle Setting == 724 724 725 725 ... ... @@ -738,6 +738,7 @@ 738 738 739 739 ))) 740 740 734 + 741 741 == 7.4 Data Rate == 742 742 743 743 ... ... @@ -764,6 +764,7 @@ 764 764 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0. 765 765 766 766 761 + 767 767 == 7.5 Frame Counter Downlink == 768 768 769 769 ... ... @@ -782,6 +782,7 @@ 782 782 OK 783 783 ))) 784 784 780 + 785 785 == 7.6 Frame Counter Uplink == 786 786 787 787 Feature: Get or Set the Frame Counter Uplink. ... ... @@ -799,6 +799,7 @@ 799 799 800 800 ))) 801 801 798 + 802 802 == 7.7 Join Accept Delay1 == 803 803 804 804 ... ... @@ -817,6 +817,7 @@ 817 817 818 818 ))) 819 819 817 + 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,7 @@ 834 834 835 835 ))) 836 836 835 + 837 837 == 7.9 Public Network Mode == 838 838 839 839 ... ... @@ -861,6 +861,7 @@ 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 863 + 864 864 == 7.10 Receive Delay1 == 865 865 866 866 ... ... @@ -880,6 +880,7 @@ 880 880 ))) 881 881 882 882 883 + 883 883 == 7.11 Receive Delay2 == 884 884 885 885 ... ... @@ -899,6 +899,7 @@ 899 899 ))) 900 900 901 901 903 + 902 902 == 7.12 Rx2 Window Data Rate == 903 903 904 904 ... ... @@ -918,6 +918,7 @@ 918 918 ))) 919 919 920 920 923 + 921 921 == 7.13 Rx2 Window Frequency == 922 922 923 923 ... ... @@ -937,6 +937,7 @@ 937 937 ))) 938 938 939 939 943 + 940 940 == 7.14 Transmit Power == 941 941 942 942 ... ... @@ -964,6 +964,7 @@ 964 964 965 965 966 966 971 + 967 967 == 7.15 RSSI of the Last Received Packet == 968 968 969 969 ... ... @@ -980,6 +980,7 @@ 980 980 ))) 981 981 982 982 988 + 983 983 == 7.16 SNR of the Last Received Packet == 984 984 985 985 ... ... @@ -996,6 +996,7 @@ 996 996 ))) 997 997 998 998 1005 + 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 1022 + 1015 1015 (% style="color:blue" %)**Downlink Command: 0x23** 1016 1016 1017 1017 Format: Command Code (0x23) followed by 1 bytes port value. ... ... @@ -1023,6 +1023,7 @@ 1023 1023 1024 1024 1025 1025 1034 + 1026 1026 == 7.18 Single Channel Mode == 1027 1027 1028 1028 ... ... @@ -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 1052 + 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 1070 + 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 1082 + 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 1133 + 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 1150 + 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 1162 + 1148 1148 == 7.23 Set Packet Receiving Response Level == 1149 1149 1150 1150 ... ... @@ -1160,6 +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 1178 + 1163 1163 Case Analyes: 1164 1164 1165 1165 * For Class A devices, AT+RPL=0 is ok. that is defaut settings in software. ... ... @@ -1167,6 +1167,7 @@ 1167 1167 * 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. 1168 1168 1169 1169 1186 + 1170 1170 (% style="color:blue" %)**AT Command: AT+RPL** 1171 1171 1172 1172 (% border="1" style="background-color:#ffffcc; color:green; width:536.222px" %) ... ... @@ -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 1197 + 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 1209 + 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 1227 + 1208 1208 (% style="color:blue" %)**Downlink Command: 0x33** 1209 1209 1210 1210 Format: Command Code (0x33) followed by 2 bytes mode value. ... ... @@ -1216,6 +1216,7 @@ 1216 1216 1217 1217 1218 1218 1239 + 1219 1219 == 7.25 Device offline rejoining (LWS007) == 1220 1220 1221 1221 ... ... @@ -1252,6 +1252,7 @@ 1252 1252 OK 1253 1253 ))) 1254 1254 1276 + 1255 1255 (% style="color:blue" %)**Downlink Command: 0x33** 1256 1256 1257 1257 Format: Command Code (0x32) followed by 2 bytes mode value. ... ... @@ -1262,6 +1262,7 @@ 1262 1262 1263 1263 1264 1264 1287 + 1265 1265 == 7.26 Request the server to send an ACK == 1266 1266 1267 1267 ... ... @@ -1280,6 +1280,7 @@ 1280 1280 ))) 1281 1281 1282 1282 1306 + 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 1324 + 1300 1300 (% style="color:blue" %)**Downlink Command: 0x26** 1301 1301 1302 1302 Format: Command Code (0x26) followed by 2 bytes mode value. ... ... @@ -1308,6 +1308,7 @@ 1308 1308 1309 1309 1310 1310 1336 + 1311 1311 = 8. AT Commands Combination = 1312 1312 1313 1313 ... ... @@ -1314,11 +1314,12 @@ 1314 1314 == 8.1 Set a fix RX2DR for downlink window == 1315 1315 1316 1316 1317 -* **AT+ADR=0 1343 +* **AT+ADR=0 ** **~-~->** Disable ADR first 1318 1318 * **AT+RX2DR=xxxx** **~-~->** Set xxxx to your wanted DataRate 1319 1319 1320 1320 1321 1321 1348 + 1322 1322 == 8.2 Use Downlink Command to set a fix uplink DR == 1323 1323 1324 1324