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,6 +27,8 @@ 27 27 ** See use note for more serves [[Servers Note>>doc:Main.WebHome]](IoT LoRaWAN Server) 28 28 29 29 30 + 31 + 30 30 = 3. Support End Node and firmware version = 31 31 32 32 ... ... @@ -101,6 +101,9 @@ 101 101 ))) 102 102 ))) 103 103 106 + 107 + 108 + 104 104 = 4. System Management Commands = 105 105 106 106 ... ... @@ -140,6 +140,8 @@ 140 140 * **Example 2**: Downlink Payload:** 0100003C** ~/~/ Set Transmit Interval (TDC) = 60 seconds 141 141 142 142 148 + 149 + 143 143 == 4.2 Reboot End Node == 144 144 145 145 ... ... @@ -254,7 +254,6 @@ 254 254 ((( 255 255 256 256 257 - 258 258 **yy: Frequency Band:** 259 259 ))) 260 260 ... ... @@ -272,7 +272,6 @@ 272 272 ((( 273 273 274 274 275 - 276 276 **zz: Subband** 277 277 ))) 278 278 ... ... @@ -305,6 +305,7 @@ 305 305 ))) 306 306 307 307 313 + 308 308 = 5. Keys, IDs and EUIs management = 309 309 310 310 ... ... @@ -325,6 +325,7 @@ 325 325 |(% style="width:305px" %)AT+APPEUI=00 b3 d5 7e f0 00 4d 34|(% style="width:186px" %)Set the Application EUI|(% style="width:191px" %)OK 326 326 327 327 334 + 328 328 == 5.2 Application Key == 329 329 330 330 ... ... @@ -342,6 +342,7 @@ 342 342 |(% 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 343 343 344 344 352 + 345 345 == 5.3 Application Session Key == 346 346 347 347 ... ... @@ -360,7 +360,6 @@ 360 360 OK 361 361 ))) 362 362 363 - 364 364 == 5.4 Device Address == 365 365 366 366 ... ... @@ -379,7 +379,6 @@ 379 379 ))) 380 380 |(% style="width:192px" %)AT+DADDR=A8 40 41 FF|(% style="width:241px" %)Set the Application Session Key.|(% style="width:359px" %)OK 381 381 382 - 383 383 == 5.5 Device EUI == 384 384 385 385 ... ... @@ -398,7 +398,6 @@ 398 398 OK 399 399 ))) 400 400 401 - 402 402 == 5.6 Network ID == 403 403 404 404 ... ... @@ -415,7 +415,6 @@ 415 415 ))) 416 416 |(% style="width:191px" %)AT+NWKID=A8 40 41 FF|(% style="width:153px" %)Set the Network ID.|(% style="width:101px" %)OK 417 417 418 - 419 419 == 5.7 Network Session Key == 420 420 421 421 ... ... @@ -432,7 +432,6 @@ 432 432 ))) 433 433 |(% 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 434 434 435 - 436 436 = 6. Joining and sending date on LoRaWAN network = 437 437 438 438 ... ... @@ -466,7 +466,6 @@ 466 466 * Example 2: Downlink Payload: 0500 ~/~/ Set AT+CFM=0 467 467 468 468 469 - 470 470 === 6.1.2 AT+CFM command since DR-LWS007 software stack === 471 471 472 472 ... ... @@ -513,7 +513,6 @@ 513 513 * Example 2: Downlink Payload: 05000700 ~/~/ Set AT+CFM=0,7,0 514 514 515 515 516 - 517 517 == 6.2 Confirm Status == 518 518 519 519 ... ... @@ -529,7 +529,6 @@ 529 529 OK 530 530 ))) 531 531 532 - 533 533 == 6.3 Join LoRa® Network == 534 534 535 535 ... ... @@ -547,7 +547,6 @@ 547 547 While Error in format, return AT_BUSY_ERROR 548 548 ))) 549 549 550 - 551 551 == 6.4 LoRa® Network Join Mode == 552 552 553 553 ... ... @@ -575,7 +575,6 @@ 575 575 * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1 576 576 577 577 578 - 579 579 == 6.5 LoRa® Network Join Status == 580 580 581 581 ... ... @@ -591,7 +591,6 @@ 591 591 OK 592 592 ))) 593 593 594 - 595 595 == 6.6 Print Last Received Data in Raw Format == 596 596 597 597 ... ... @@ -607,7 +607,6 @@ 607 607 OK 608 608 ))) 609 609 610 - 611 611 == 6.7 Print Last Received Data in Binary Format == 612 612 613 613 ... ... @@ -623,7 +623,6 @@ 623 623 OK 624 624 ))) 625 625 626 - 627 627 == 6.8 Send Text Data == 628 628 629 629 ... ... @@ -643,7 +643,6 @@ 643 643 644 644 ))) 645 645 646 - 647 647 == 6.9 Send Hexadecimal Data == 648 648 649 649 ... ... @@ -662,7 +662,6 @@ 662 662 663 663 ))) 664 664 665 - 666 666 = 7. LoRaWAN network management = 667 667 668 668 ... ... @@ -693,7 +693,6 @@ 693 693 * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0. 694 694 695 695 696 - 697 697 == 7.2 LoRa® Class == 698 698 699 699 ... ... @@ -712,7 +712,6 @@ 712 712 713 713 ))) 714 714 715 - 716 716 == 7.3 Duty Cycle Setting == 717 717 718 718 ... ... @@ -731,7 +731,6 @@ 731 731 732 732 ))) 733 733 734 - 735 735 == 7.4 Data Rate == 736 736 737 737 ... ... @@ -758,7 +758,6 @@ 758 758 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0. 759 759 760 760 761 - 762 762 == 7.5 Frame Counter Downlink == 763 763 764 764 ... ... @@ -777,7 +777,6 @@ 777 777 OK 778 778 ))) 779 779 780 - 781 781 == 7.6 Frame Counter Uplink == 782 782 783 783 Feature: Get or Set the Frame Counter Uplink. ... ... @@ -795,7 +795,6 @@ 795 795 796 796 ))) 797 797 798 - 799 799 == 7.7 Join Accept Delay1 == 800 800 801 801 ... ... @@ -814,7 +814,6 @@ 814 814 815 815 ))) 816 816 817 - 818 818 == 7.8 Join Accept Delay2 == 819 819 820 820 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms. ... ... @@ -832,7 +832,6 @@ 832 832 833 833 ))) 834 834 835 - 836 836 == 7.9 Public Network Mode == 837 837 838 838 ... ... @@ -860,7 +860,6 @@ 860 860 ))) 861 861 |(% style="width:166px" %)AT+PNM=0|(% style="width:225px" %)Set to use private network autoset syncword=0x12|(% style="width:272px" %) 862 862 863 - 864 864 == 7.10 Receive Delay1 == 865 865 866 866 ... ... @@ -880,7 +880,6 @@ 880 880 ))) 881 881 882 882 883 - 884 884 == 7.11 Receive Delay2 == 885 885 886 886 ... ... @@ -900,7 +900,6 @@ 900 900 ))) 901 901 902 902 903 - 904 904 == 7.12 Rx2 Window Data Rate == 905 905 906 906 ... ... @@ -920,7 +920,6 @@ 920 920 ))) 921 921 922 922 923 - 924 924 == 7.13 Rx2 Window Frequency == 925 925 926 926 ... ... @@ -940,7 +940,6 @@ 940 940 ))) 941 941 942 942 943 - 944 944 == 7.14 Transmit Power == 945 945 946 946 ... ... @@ -968,7 +968,6 @@ 968 968 969 969 970 970 971 - 972 972 == 7.15 RSSI of the Last Received Packet == 973 973 974 974 ... ... @@ -985,7 +985,6 @@ 985 985 ))) 986 986 987 987 988 - 989 989 == 7.16 SNR of the Last Received Packet == 990 990 991 991 ... ... @@ -1002,7 +1002,6 @@ 1002 1002 ))) 1003 1003 1004 1004 1005 - 1006 1006 == 7.17 Application Port == 1007 1007 1008 1008 ... ... @@ -1019,7 +1019,6 @@ 1019 1019 ))) 1020 1020 |(% style="width:157px" %)AT+PORT=21|(% style="width:204px" %)Set the application port|(% style="width:135px" %)OK 1021 1021 1022 - 1023 1023 (% style="color:blue" %)**Downlink Command: 0x23** 1024 1024 1025 1025 Format: Command Code (0x23) followed by 1 bytes port value. ... ... @@ -1031,7 +1031,6 @@ 1031 1031 1032 1032 1033 1033 1034 - 1035 1035 == 7.18 Single Channel Mode == 1036 1036 1037 1037 ... ... @@ -1049,7 +1049,6 @@ 1049 1049 |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK 1050 1050 1051 1051 1052 - 1053 1053 == 7.19 Eight Channel Mode == 1054 1054 1055 1055 Feature: Get or Set eight channels mode,Only for US915,AU915,CN470. ... ... @@ -1067,7 +1067,6 @@ 1067 1067 ))) 1068 1068 |(% style="width:160px" %)AT+CHE=1|(% style="width:198px" %)Set eight channels mode|(% style="width:349px" %)OK 1069 1069 1070 - 1071 1071 (% style="color:blue" %)**Downlink Command: 0x24** 1072 1072 1073 1073 Format: Command Code (0x24) followed by 1 bytes channel value. ... ... @@ -1079,7 +1079,6 @@ 1079 1079 1080 1080 1081 1081 1082 - 1083 1083 == 7.20 Get or Set RXwindows1 timeout == 1084 1084 1085 1085 ... ... @@ -1130,7 +1130,6 @@ 1130 1130 |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK 1131 1131 1132 1132 1133 - 1134 1134 == 7.22 Setting up uplinkdwelltime (as923, au915) == 1135 1135 1136 1136 ... ... @@ -1147,7 +1147,6 @@ 1147 1147 ))) 1148 1148 |(% style="width:183px" %)AT+DWELLT=0|(% style="width:179px" %)Set uplinkdwelltime|(% style="width:131px" %)OK 1149 1149 1150 - 1151 1151 (% style="color:blue" %)**Downlink Command: 0x25** 1152 1152 1153 1153 Format: Command Code (0x25) followed by 1 bytes state value. ... ... @@ -1159,7 +1159,6 @@ 1159 1159 1160 1160 1161 1161 1162 - 1163 1163 == 7.23 Set Packet Receiving Response Level == 1164 1164 1165 1165 ... ... @@ -1175,7 +1175,6 @@ 1175 1175 * **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. 1176 1176 1177 1177 1178 - 1179 1179 Case Analyes: 1180 1180 1181 1181 * For Class A devices, AT+RPL=0 is ok. that is defaut settings in software. ... ... @@ -1183,7 +1183,6 @@ 1183 1183 * 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. 1184 1184 1185 1185 1186 - 1187 1187 (% style="color:blue" %)**AT Command: AT+RPL** 1188 1188 1189 1189 (% border="1" style="background-color:#ffffcc; color:green; width:536.222px" %) ... ... @@ -1194,7 +1194,6 @@ 1194 1194 ))) 1195 1195 |(% style="width:160px" %)AT+RPL=0|(% style="width:263px" %)Set packet receiving response level|(% style="width:109px" %)OK 1196 1196 1197 - 1198 1198 (% style="color:blue" %)**Downlink Command: 0x21** 1199 1199 1200 1200 Format: Command Code (0x21) followed by 1 bytes level value. ... ... @@ -1206,7 +1206,6 @@ 1206 1206 1207 1207 1208 1208 1209 - 1210 1210 == 7.24 Controls NBTrans in unconfirmed uplink mode(LWS007 NBTrans:Set retransmission packets) == 1211 1211 1212 1212 ... ... @@ -1224,7 +1224,6 @@ 1224 1224 OK 1225 1225 ))) 1226 1226 1227 - 1228 1228 (% style="color:blue" %)**Downlink Command: 0x33** 1229 1229 1230 1230 Format: Command Code (0x33) followed by 2 bytes mode value. ... ... @@ -1236,7 +1236,6 @@ 1236 1236 1237 1237 1238 1238 1239 - 1240 1240 == 7.25 Device offline rejoining (LWS007) == 1241 1241 1242 1242 ... ... @@ -1273,7 +1273,6 @@ 1273 1273 OK 1274 1274 ))) 1275 1275 1276 - 1277 1277 (% style="color:blue" %)**Downlink Command: 0x33** 1278 1278 1279 1279 Format: Command Code (0x32) followed by 2 bytes mode value. ... ... @@ -1284,7 +1284,6 @@ 1284 1284 1285 1285 1286 1286 1287 - 1288 1288 == 7.26 Request the server to send an ACK == 1289 1289 1290 1290 ... ... @@ -1303,7 +1303,6 @@ 1303 1303 ))) 1304 1304 1305 1305 1306 - 1307 1307 == 7.27 Adjust network rejoining interval == 1308 1308 1309 1309 ... ... @@ -1321,7 +1321,6 @@ 1321 1321 Set the ReJoin data transmission interval to 60000ms = 60 seconds 1322 1322 ))) 1323 1323 1324 - 1325 1325 (% style="color:blue" %)**Downlink Command: 0x26** 1326 1326 1327 1327 Format: Command Code (0x26) followed by 2 bytes mode value. ... ... @@ -1333,7 +1333,6 @@ 1333 1333 1334 1334 1335 1335 1336 - 1337 1337 = 8. AT Commands Combination = 1338 1338 1339 1339 ... ... @@ -1340,12 +1340,11 @@ 1340 1340 == 8.1 Set a fix RX2DR for downlink window == 1341 1341 1342 1342 1343 -* **AT+ADR=0 1301 +* **AT+ADR=0 ** **~-~->** Disable ADR first 1344 1344 * **AT+RX2DR=xxxx** **~-~->** Set xxxx to your wanted DataRate 1345 1345 1346 1346 1347 1347 1348 - 1349 1349 == 8.2 Use Downlink Command to set a fix uplink DR == 1350 1350 1351 1351