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 ... ... @@ -527,6 +527,7 @@ 527 527 * Example 2: Downlink Payload: 05000700 ~/~/ Set AT+CFM=0,7,0 528 528 529 529 516 + 530 530 == 6.2 Confirm Status == 531 531 532 532 ... ... @@ -542,6 +542,7 @@ 542 542 OK 543 543 ))) 544 544 532 + 545 545 == 6.3 Join LoRa® Network == 546 546 547 547 ... ... @@ -559,6 +559,7 @@ 559 559 While Error in format, return AT_BUSY_ERROR 560 560 ))) 561 561 550 + 562 562 == 6.4 LoRa® Network Join Mode == 563 563 564 564 ... ... @@ -586,6 +586,7 @@ 586 586 * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1 587 587 588 588 578 + 589 589 == 6.5 LoRa® Network Join Status == 590 590 591 591 ... ... @@ -601,6 +601,7 @@ 601 601 OK 602 602 ))) 603 603 594 + 604 604 == 6.6 Print Last Received Data in Raw Format == 605 605 606 606 ... ... @@ -616,6 +616,7 @@ 616 616 OK 617 617 ))) 618 618 610 + 619 619 == 6.7 Print Last Received Data in Binary Format == 620 620 621 621 ... ... @@ -631,6 +631,7 @@ 631 631 OK 632 632 ))) 633 633 626 + 634 634 == 6.8 Send Text Data == 635 635 636 636 ... ... @@ -650,6 +650,7 @@ 650 650 651 651 ))) 652 652 646 + 653 653 == 6.9 Send Hexadecimal Data == 654 654 655 655 ... ... @@ -668,6 +668,7 @@ 668 668 669 669 ))) 670 670 665 + 671 671 = 7. LoRaWAN network management = 672 672 673 673 ... ... @@ -698,6 +698,7 @@ 698 698 * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0. 699 699 700 700 696 + 701 701 == 7.2 LoRa® Class == 702 702 703 703 ... ... @@ -716,6 +716,7 @@ 716 716 717 717 ))) 718 718 715 + 719 719 == 7.3 Duty Cycle Setting == 720 720 721 721 ... ... @@ -734,6 +734,7 @@ 734 734 735 735 ))) 736 736 734 + 737 737 == 7.4 Data Rate == 738 738 739 739 ... ... @@ -760,6 +760,7 @@ 760 760 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0. 761 761 762 762 761 + 763 763 == 7.5 Frame Counter Downlink == 764 764 765 765 ... ... @@ -778,6 +778,7 @@ 778 778 OK 779 779 ))) 780 780 780 + 781 781 == 7.6 Frame Counter Uplink == 782 782 783 783 Feature: Get or Set the Frame Counter Uplink. ... ... @@ -795,6 +795,7 @@ 795 795 796 796 ))) 797 797 798 + 798 798 == 7.7 Join Accept Delay1 == 799 799 800 800 ... ... @@ -813,6 +813,7 @@ 813 813 814 814 ))) 815 815 817 + 816 816 == 7.8 Join Accept Delay2 == 817 817 818 818 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms. ... ... @@ -830,6 +830,7 @@ 830 830 831 831 ))) 832 832 835 + 833 833 == 7.9 Public Network Mode == 834 834 835 835 ... ... @@ -857,6 +857,7 @@ 857 857 ))) 858 858 |(% style="width:166px" %)AT+PNM=0|(% style="width:225px" %)Set to use private network autoset syncword=0x12|(% style="width:272px" %) 859 859 863 + 860 860 == 7.10 Receive Delay1 == 861 861 862 862 ... ... @@ -876,6 +876,7 @@ 876 876 ))) 877 877 878 878 883 + 879 879 == 7.11 Receive Delay2 == 880 880 881 881 ... ... @@ -895,6 +895,7 @@ 895 895 ))) 896 896 897 897 903 + 898 898 == 7.12 Rx2 Window Data Rate == 899 899 900 900 ... ... @@ -914,6 +914,7 @@ 914 914 ))) 915 915 916 916 923 + 917 917 == 7.13 Rx2 Window Frequency == 918 918 919 919 ... ... @@ -933,6 +933,7 @@ 933 933 ))) 934 934 935 935 943 + 936 936 == 7.14 Transmit Power == 937 937 938 938 ... ... @@ -960,6 +960,7 @@ 960 960 961 961 962 962 971 + 963 963 == 7.15 RSSI of the Last Received Packet == 964 964 965 965 ... ... @@ -976,6 +976,7 @@ 976 976 ))) 977 977 978 978 988 + 979 979 == 7.16 SNR of the Last Received Packet == 980 980 981 981 ... ... @@ -992,6 +992,7 @@ 992 992 ))) 993 993 994 994 1005 + 995 995 == 7.17 Application Port == 996 996 997 997 ... ... @@ -1008,6 +1008,7 @@ 1008 1008 ))) 1009 1009 |(% style="width:157px" %)AT+PORT=21|(% style="width:204px" %)Set the application port|(% style="width:135px" %)OK 1010 1010 1022 + 1011 1011 (% style="color:blue" %)**Downlink Command: 0x23** 1012 1012 1013 1013 Format: Command Code (0x23) followed by 1 bytes port value. ... ... @@ -1019,6 +1019,7 @@ 1019 1019 1020 1020 1021 1021 1034 + 1022 1022 == 7.18 Single Channel Mode == 1023 1023 1024 1024 ... ... @@ -1036,6 +1036,7 @@ 1036 1036 |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK 1037 1037 1038 1038 1052 + 1039 1039 == 7.19 Eight Channel Mode == 1040 1040 1041 1041 Feature: Get or Set eight channels mode,Only for US915,AU915,CN470. ... ... @@ -1053,6 +1053,7 @@ 1053 1053 ))) 1054 1054 |(% style="width:160px" %)AT+CHE=1|(% style="width:198px" %)Set eight channels mode|(% style="width:349px" %)OK 1055 1055 1070 + 1056 1056 (% style="color:blue" %)**Downlink Command: 0x24** 1057 1057 1058 1058 Format: Command Code (0x24) followed by 1 bytes channel value. ... ... @@ -1064,6 +1064,7 @@ 1064 1064 1065 1065 1066 1066 1082 + 1067 1067 == 7.20 Get or Set RXwindows1 timeout == 1068 1068 1069 1069 ... ... @@ -1114,6 +1114,7 @@ 1114 1114 |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK 1115 1115 1116 1116 1133 + 1117 1117 == 7.22 Setting up uplinkdwelltime (as923, au915) == 1118 1118 1119 1119 ... ... @@ -1130,6 +1130,7 @@ 1130 1130 ))) 1131 1131 |(% style="width:183px" %)AT+DWELLT=0|(% style="width:179px" %)Set uplinkdwelltime|(% style="width:131px" %)OK 1132 1132 1150 + 1133 1133 (% style="color:blue" %)**Downlink Command: 0x25** 1134 1134 1135 1135 Format: Command Code (0x25) followed by 1 bytes state value. ... ... @@ -1141,6 +1141,7 @@ 1141 1141 1142 1142 1143 1143 1162 + 1144 1144 == 7.23 Set Packet Receiving Response Level == 1145 1145 1146 1146 ... ... @@ -1156,6 +1156,7 @@ 1156 1156 * **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. 1157 1157 1158 1158 1178 + 1159 1159 Case Analyes: 1160 1160 1161 1161 * For Class A devices, AT+RPL=0 is ok. that is defaut settings in software. ... ... @@ -1163,6 +1163,7 @@ 1163 1163 * 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. 1164 1164 1165 1165 1186 + 1166 1166 (% style="color:blue" %)**AT Command: AT+RPL** 1167 1167 1168 1168 (% border="1" style="background-color:#ffffcc; color:green; width:536.222px" %) ... ... @@ -1173,6 +1173,7 @@ 1173 1173 ))) 1174 1174 |(% style="width:160px" %)AT+RPL=0|(% style="width:263px" %)Set packet receiving response level|(% style="width:109px" %)OK 1175 1175 1197 + 1176 1176 (% style="color:blue" %)**Downlink Command: 0x21** 1177 1177 1178 1178 Format: Command Code (0x21) followed by 1 bytes level value. ... ... @@ -1184,6 +1184,7 @@ 1184 1184 1185 1185 1186 1186 1209 + 1187 1187 == 7.24 Controls NBTrans in unconfirmed uplink mode(LWS007 NBTrans:Set retransmission packets) == 1188 1188 1189 1189 ... ... @@ -1201,6 +1201,7 @@ 1201 1201 OK 1202 1202 ))) 1203 1203 1227 + 1204 1204 (% style="color:blue" %)**Downlink Command: 0x33** 1205 1205 1206 1206 Format: Command Code (0x33) followed by 2 bytes mode value. ... ... @@ -1212,6 +1212,7 @@ 1212 1212 1213 1213 1214 1214 1239 + 1215 1215 == 7.25 Device offline rejoining (LWS007) == 1216 1216 1217 1217 ... ... @@ -1248,6 +1248,7 @@ 1248 1248 OK 1249 1249 ))) 1250 1250 1276 + 1251 1251 (% style="color:blue" %)**Downlink Command: 0x33** 1252 1252 1253 1253 Format: Command Code (0x32) followed by 2 bytes mode value. ... ... @@ -1258,6 +1258,7 @@ 1258 1258 1259 1259 1260 1260 1287 + 1261 1261 == 7.26 Request the server to send an ACK == 1262 1262 1263 1263 ... ... @@ -1276,6 +1276,7 @@ 1276 1276 ))) 1277 1277 1278 1278 1306 + 1279 1279 == 7.27 Adjust network rejoining interval == 1280 1280 1281 1281 ... ... @@ -1293,6 +1293,7 @@ 1293 1293 Set the ReJoin data transmission interval to 60000ms = 60 seconds 1294 1294 ))) 1295 1295 1324 + 1296 1296 (% style="color:blue" %)**Downlink Command: 0x26** 1297 1297 1298 1298 Format: Command Code (0x26) followed by 2 bytes mode value. ... ... @@ -1304,6 +1304,7 @@ 1304 1304 1305 1305 1306 1306 1336 + 1307 1307 = 8. AT Commands Combination = 1308 1308 1309 1309 ... ... @@ -1310,11 +1310,12 @@ 1310 1310 == 8.1 Set a fix RX2DR for downlink window == 1311 1311 1312 1312 1313 -* **AT+ADR=0 1343 +* **AT+ADR=0 ** **~-~->** Disable ADR first 1314 1314 * **AT+RX2DR=xxxx** **~-~->** Set xxxx to your wanted DataRate 1315 1315 1316 1316 1317 1317 1348 + 1318 1318 == 8.2 Use Downlink Command to set a fix uplink DR == 1319 1319 1320 1320