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 ... ... @@ -684,6 +684,7 @@ 684 684 685 685 ))) 686 686 665 + 687 687 = 7. LoRaWAN network management = 688 688 689 689 ... ... @@ -714,6 +714,7 @@ 714 714 * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0. 715 715 716 716 696 + 717 717 == 7.2 LoRa® Class == 718 718 719 719 ... ... @@ -732,6 +732,7 @@ 732 732 733 733 ))) 734 734 715 + 735 735 == 7.3 Duty Cycle Setting == 736 736 737 737 ... ... @@ -750,6 +750,7 @@ 750 750 751 751 ))) 752 752 734 + 753 753 == 7.4 Data Rate == 754 754 755 755 ... ... @@ -776,6 +776,7 @@ 776 776 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0. 777 777 778 778 761 + 779 779 == 7.5 Frame Counter Downlink == 780 780 781 781 ... ... @@ -794,6 +794,7 @@ 794 794 OK 795 795 ))) 796 796 780 + 797 797 == 7.6 Frame Counter Uplink == 798 798 799 799 Feature: Get or Set the Frame Counter Uplink. ... ... @@ -811,6 +811,7 @@ 811 811 812 812 ))) 813 813 798 + 814 814 == 7.7 Join Accept Delay1 == 815 815 816 816 ... ... @@ -829,6 +829,7 @@ 829 829 830 830 ))) 831 831 817 + 832 832 == 7.8 Join Accept Delay2 == 833 833 834 834 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms. ... ... @@ -846,6 +846,7 @@ 846 846 847 847 ))) 848 848 835 + 849 849 == 7.9 Public Network Mode == 850 850 851 851 ... ... @@ -873,6 +873,7 @@ 873 873 ))) 874 874 |(% style="width:166px" %)AT+PNM=0|(% style="width:225px" %)Set to use private network autoset syncword=0x12|(% style="width:272px" %) 875 875 863 + 876 876 == 7.10 Receive Delay1 == 877 877 878 878 ... ... @@ -892,6 +892,7 @@ 892 892 ))) 893 893 894 894 883 + 895 895 == 7.11 Receive Delay2 == 896 896 897 897 ... ... @@ -911,6 +911,7 @@ 911 911 ))) 912 912 913 913 903 + 914 914 == 7.12 Rx2 Window Data Rate == 915 915 916 916 ... ... @@ -930,6 +930,7 @@ 930 930 ))) 931 931 932 932 923 + 933 933 == 7.13 Rx2 Window Frequency == 934 934 935 935 ... ... @@ -949,6 +949,7 @@ 949 949 ))) 950 950 951 951 943 + 952 952 == 7.14 Transmit Power == 953 953 954 954 ... ... @@ -976,6 +976,7 @@ 976 976 977 977 978 978 971 + 979 979 == 7.15 RSSI of the Last Received Packet == 980 980 981 981 ... ... @@ -992,6 +992,7 @@ 992 992 ))) 993 993 994 994 988 + 995 995 == 7.16 SNR of the Last Received Packet == 996 996 997 997 ... ... @@ -1008,6 +1008,7 @@ 1008 1008 ))) 1009 1009 1010 1010 1005 + 1011 1011 == 7.17 Application Port == 1012 1012 1013 1013 ... ... @@ -1024,6 +1024,7 @@ 1024 1024 ))) 1025 1025 |(% style="width:157px" %)AT+PORT=21|(% style="width:204px" %)Set the application port|(% style="width:135px" %)OK 1026 1026 1022 + 1027 1027 (% style="color:blue" %)**Downlink Command: 0x23** 1028 1028 1029 1029 Format: Command Code (0x23) followed by 1 bytes port value. ... ... @@ -1035,6 +1035,7 @@ 1035 1035 1036 1036 1037 1037 1034 + 1038 1038 == 7.18 Single Channel Mode == 1039 1039 1040 1040 ... ... @@ -1052,6 +1052,7 @@ 1052 1052 |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK 1053 1053 1054 1054 1052 + 1055 1055 == 7.19 Eight Channel Mode == 1056 1056 1057 1057 Feature: Get or Set eight channels mode,Only for US915,AU915,CN470. ... ... @@ -1069,6 +1069,7 @@ 1069 1069 ))) 1070 1070 |(% style="width:160px" %)AT+CHE=1|(% style="width:198px" %)Set eight channels mode|(% style="width:349px" %)OK 1071 1071 1070 + 1072 1072 (% style="color:blue" %)**Downlink Command: 0x24** 1073 1073 1074 1074 Format: Command Code (0x24) followed by 1 bytes channel value. ... ... @@ -1080,6 +1080,7 @@ 1080 1080 1081 1081 1082 1082 1082 + 1083 1083 == 7.20 Get or Set RXwindows1 timeout == 1084 1084 1085 1085 ... ... @@ -1130,6 +1130,7 @@ 1130 1130 |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK 1131 1131 1132 1132 1133 + 1133 1133 == 7.22 Setting up uplinkdwelltime (as923, au915) == 1134 1134 1135 1135 ... ... @@ -1146,6 +1146,7 @@ 1146 1146 ))) 1147 1147 |(% style="width:183px" %)AT+DWELLT=0|(% style="width:179px" %)Set uplinkdwelltime|(% style="width:131px" %)OK 1148 1148 1150 + 1149 1149 (% style="color:blue" %)**Downlink Command: 0x25** 1150 1150 1151 1151 Format: Command Code (0x25) followed by 1 bytes state value. ... ... @@ -1157,6 +1157,7 @@ 1157 1157 1158 1158 1159 1159 1162 + 1160 1160 == 7.23 Set Packet Receiving Response Level == 1161 1161 1162 1162 ... ... @@ -1172,6 +1172,7 @@ 1172 1172 * **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. 1173 1173 1174 1174 1178 + 1175 1175 Case Analyes: 1176 1176 1177 1177 * For Class A devices, AT+RPL=0 is ok. that is defaut settings in software. ... ... @@ -1179,6 +1179,7 @@ 1179 1179 * 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. 1180 1180 1181 1181 1186 + 1182 1182 (% style="color:blue" %)**AT Command: AT+RPL** 1183 1183 1184 1184 (% border="1" style="background-color:#ffffcc; color:green; width:536.222px" %) ... ... @@ -1189,6 +1189,7 @@ 1189 1189 ))) 1190 1190 |(% style="width:160px" %)AT+RPL=0|(% style="width:263px" %)Set packet receiving response level|(% style="width:109px" %)OK 1191 1191 1197 + 1192 1192 (% style="color:blue" %)**Downlink Command: 0x21** 1193 1193 1194 1194 Format: Command Code (0x21) followed by 1 bytes level value. ... ... @@ -1200,6 +1200,7 @@ 1200 1200 1201 1201 1202 1202 1209 + 1203 1203 == 7.24 Controls NBTrans in unconfirmed uplink mode(LWS007 NBTrans:Set retransmission packets) == 1204 1204 1205 1205 ... ... @@ -1217,6 +1217,7 @@ 1217 1217 OK 1218 1218 ))) 1219 1219 1227 + 1220 1220 (% style="color:blue" %)**Downlink Command: 0x33** 1221 1221 1222 1222 Format: Command Code (0x33) followed by 2 bytes mode value. ... ... @@ -1228,6 +1228,7 @@ 1228 1228 1229 1229 1230 1230 1239 + 1231 1231 == 7.25 Device offline rejoining (LWS007) == 1232 1232 1233 1233 ... ... @@ -1264,6 +1264,7 @@ 1264 1264 OK 1265 1265 ))) 1266 1266 1276 + 1267 1267 (% style="color:blue" %)**Downlink Command: 0x33** 1268 1268 1269 1269 Format: Command Code (0x32) followed by 2 bytes mode value. ... ... @@ -1274,6 +1274,7 @@ 1274 1274 1275 1275 1276 1276 1287 + 1277 1277 == 7.26 Request the server to send an ACK == 1278 1278 1279 1279 ... ... @@ -1292,6 +1292,7 @@ 1292 1292 ))) 1293 1293 1294 1294 1306 + 1295 1295 == 7.27 Adjust network rejoining interval == 1296 1296 1297 1297 ... ... @@ -1309,6 +1309,7 @@ 1309 1309 Set the ReJoin data transmission interval to 60000ms = 60 seconds 1310 1310 ))) 1311 1311 1324 + 1312 1312 (% style="color:blue" %)**Downlink Command: 0x26** 1313 1313 1314 1314 Format: Command Code (0x26) followed by 2 bytes mode value. ... ... @@ -1320,6 +1320,7 @@ 1320 1320 1321 1321 1322 1322 1336 + 1323 1323 = 8. AT Commands Combination = 1324 1324 1325 1325 ... ... @@ -1326,11 +1326,12 @@ 1326 1326 == 8.1 Set a fix RX2DR for downlink window == 1327 1327 1328 1328 1329 -* **AT+ADR=0 1343 +* **AT+ADR=0 ** **~-~->** Disable ADR first 1330 1330 * **AT+RX2DR=xxxx** **~-~->** Set xxxx to your wanted DataRate 1331 1331 1332 1332 1333 1333 1348 + 1334 1334 == 8.2 Use Downlink Command to set a fix uplink DR == 1335 1335 1336 1336