Changes for page End Device AT Commands and Downlink Command
Last modified by kai on 2024/09/06 10:00
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -28,7 +28,6 @@ 28 28 ** Use Base64 format to send a downlink: [[Chirpstack>>Notes for ChirpStack]], [[How to Convert>>http://wiki.dragino.com/xwiki/bin/view/Main/Notes%20for%20ChirpStack/#H4.1ConvertHEXtoBase64]]? 29 29 ** See use note for more serves [[Servers Note>>doc:Main.WebHome]](IoT LoRaWAN Server) 30 30 31 - 32 32 = 3. Support End Node and firmware version = 33 33 34 34 ... ... @@ -103,7 +103,6 @@ 103 103 ))) 104 104 ))) 105 105 106 - 107 107 = 4. System Management Commands = 108 108 109 109 == 4.1 Change Uplink Interval == ... ... @@ -141,7 +141,6 @@ 141 141 * **Example 1**: Downlink Payload:** 0100001E** ~/~/ Set Transmit Interval (TDC) = 30 seconds 142 142 * **Example 2**: Downlink Payload:** 0100003C** ~/~/ Set Transmit Interval (TDC) = 60 seconds 143 143 144 - 145 145 == 4.2 Reboot End Node == 146 146 147 147 ... ... @@ -307,7 +307,6 @@ 307 307 OK 308 308 ))) 309 309 310 - 311 311 = 5. Keys, IDs and EUIs management = 312 312 313 313 == 5.1 Application EUI == ... ... @@ -326,7 +326,6 @@ 326 326 ))) 327 327 |(% style="width:305px" %)AT+APPEUI=00 b3 d5 7e f0 00 4d 34|(% style="width:186px" %)Set the Application EUI|(% style="width:191px" %)OK 328 328 329 - 330 330 == 5.2 Application Key == 331 331 332 332 ... ... @@ -343,7 +343,6 @@ 343 343 ))) 344 344 |(% 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 345 345 346 - 347 347 == 5.3 Application Session Key == 348 348 349 349 ... ... @@ -362,7 +362,6 @@ 362 362 OK 363 363 ))) 364 364 365 - 366 366 == 5.4 Device Address == 367 367 368 368 ... ... @@ -381,7 +381,6 @@ 381 381 ))) 382 382 |(% style="width:192px" %)AT+DADDR=A8 40 41 FF|(% style="width:241px" %)Set the Application Session Key.|(% style="width:359px" %)OK 383 383 384 - 385 385 == 5.5 Device EUI == 386 386 387 387 ... ... @@ -400,7 +400,6 @@ 400 400 OK 401 401 ))) 402 402 403 - 404 404 == 5.6 Network ID == 405 405 406 406 ... ... @@ -417,7 +417,6 @@ 417 417 ))) 418 418 |(% style="width:191px" %)AT+NWKID=A8 40 41 FF|(% style="width:153px" %)Set the Network ID.|(% style="width:101px" %)OK 419 419 420 - 421 421 == 5.7 Network Session Key == 422 422 423 423 ... ... @@ -434,7 +434,6 @@ 434 434 ))) 435 435 |(% 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 436 436 437 - 438 438 = 6. Joining and sending date on LoRaWAN network = 439 439 440 440 == 6.1 Confirm Mode == ... ... @@ -465,7 +465,6 @@ 465 465 * **Example 1:** Downlink Payload: 0501 ~/~/ Set AT+CFM=1 466 466 * **Example 2:** Downlink Payload: 0500 ~/~/ Set AT+CFM=0 467 467 468 - 469 469 === 6.1.2 AT+CFM command since DR-LWS007 software stack === 470 470 471 471 ... ... @@ -511,7 +511,6 @@ 511 511 * **Example 1:** Downlink Payload: 05010101 ~/~/ Set AT+CFM=1,1,1 512 512 * **Example 2:** Downlink Payload: 05000700 ~/~/ Set AT+CFM=0,7,0 513 513 514 - 515 515 == 6.2 Confirm Status == 516 516 517 517 ... ... @@ -527,7 +527,6 @@ 527 527 OK 528 528 ))) 529 529 530 - 531 531 == 6.3 Join LoRa® Network == 532 532 533 533 ... ... @@ -545,7 +545,6 @@ 545 545 While Error in format, return AT_BUSY_ERROR 546 546 ))) 547 547 548 - 549 549 == 6.4 LoRa® Network Join Mode == 550 550 551 551 ... ... @@ -572,7 +572,6 @@ 572 572 * **Example 1: **Downlink Payload: **2000 ** ~/~/ Set AT+NJM=0 573 573 * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1 574 574 575 - 576 576 == 6.5 LoRa® Network Join Status == 577 577 578 578 ... ... @@ -588,7 +588,6 @@ 588 588 OK 589 589 ))) 590 590 591 - 592 592 == 6.6 Print Last Received Data in Raw Format == 593 593 594 594 ... ... @@ -604,7 +604,6 @@ 604 604 OK 605 605 ))) 606 606 607 - 608 608 == 6.7 Print Last Received Data in Binary Format == 609 609 610 610 ... ... @@ -620,7 +620,6 @@ 620 620 OK 621 621 ))) 622 622 623 - 624 624 == 6.8 Send Text Data == 625 625 626 626 ... ... @@ -640,7 +640,6 @@ 640 640 641 641 ))) 642 642 643 - 644 644 == 6.9 Send Hexadecimal Data == 645 645 646 646 ... ... @@ -659,7 +659,6 @@ 659 659 660 660 ))) 661 661 662 - 663 663 = 7. LoRaWAN network management = 664 664 665 665 == 7.1 Adaptive Data Rate == ... ... @@ -707,7 +707,6 @@ 707 707 708 708 ))) 709 709 710 - 711 711 == 7.3 Duty Cycle Setting == 712 712 713 713 ... ... @@ -726,7 +726,6 @@ 726 726 727 727 ))) 728 728 729 - 730 730 == 7.4 Data Rate == 731 731 732 732 ... ... @@ -736,9 +736,8 @@ 736 736 **Notice:** 737 737 738 738 * User need to set Adaptive Data Rate(ADR)=0 first. otherwise device will respond to server's ADR command and change the DR according to server auto-adjustment. 739 -* Data Rate specifies Spreading Factor. The mapping vari ous in different frequency band. User can check this link for detail. [[rp2-1.0.3-lorawan-regional-parameters.pdf>>https://lora-alliance.org/resource_hub/rp2-1-0-3-lorawan-regional-parameters/]]716 +* Data Rate specifies Spreading Factor. The mapping varies in different frequency bands. User can check this link for detail. [[rp2-1.0.3-lorawan-regional-parameters.pdf>>https://lora-alliance.org/resource_hub/rp2-1-0-3-lorawan-regional-parameters/]] 740 740 741 - 742 742 (% style="color:blue" %)**AT Command: AT+DR** 743 743 744 744 (% border="1" style="background-color:#ffffcc; color:green; width:466.222px" %) ... ... @@ -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 ... ... @@ -833,7 +833,6 @@ 833 833 834 834 ))) 835 835 836 - 837 837 == 7.9 Public Network Mode == 838 838 839 839 ... ... @@ -861,7 +861,6 @@ 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 864 - 865 865 == 7.10 Receive Delay1 == 866 866 867 867 ... ... @@ -880,7 +880,6 @@ 880 880 881 881 ))) 882 882 883 - 884 884 == 7.11 Receive Delay2 == 885 885 886 886 ... ... @@ -899,7 +899,6 @@ 899 899 900 900 ))) 901 901 902 - 903 903 == 7.12 Rx2 Window Data Rate == 904 904 905 905 ... ... @@ -918,7 +918,6 @@ 918 918 919 919 ))) 920 920 921 - 922 922 == 7.13 Rx2 Window Frequency == 923 923 924 924 ... ... @@ -937,7 +937,6 @@ 937 937 938 938 ))) 939 939 940 - 941 941 == 7.14 Transmit Power == 942 942 943 943 ... ... @@ -965,7 +965,6 @@ 965 965 * **Example 1**: Downlink Payload: **22000102** ~/~/ Set AT+TXP=2. 966 966 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+TXP=0. 967 967 968 - 969 969 == 7.15 RSSI of the Last Received Packet == 970 970 971 971 ... ... @@ -981,7 +981,6 @@ 981 981 OK 982 982 ))) 983 983 984 - 985 985 == 7.16 SNR of the Last Received Packet == 986 986 987 987 ... ... @@ -997,7 +997,6 @@ 997 997 OK 998 998 ))) 999 999 1000 - 1001 1001 == 7.17 Application Port == 1002 1002 1003 1003 ... ... @@ -1023,7 +1023,6 @@ 1023 1023 * **Example 1**: Downlink Payload: **2301** ~/~/ set the application port to 1 1024 1024 * **Example 2**: Downlink Payload:** 2305** ~/~/ set the application port to 5 1025 1025 1026 - 1027 1027 == 7.18 Single Channel Mode == 1028 1028 1029 1029 ... ... @@ -1040,7 +1040,6 @@ 1040 1040 ))) 1041 1041 |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK 1042 1042 1043 - 1044 1044 == 7.19 Eight Channel Mode == 1045 1045 1046 1046 ... ... @@ -1068,7 +1068,6 @@ 1068 1068 * **Example 1**: Downlink Payload: 2401 ~/~/ set channel mode to 1 1069 1069 * **Example 2**: Downlink Payload: 2405 ~/~/ set channel mode to 5 1070 1070 1071 - 1072 1072 == 7.20 Get or Set RXwindows1 timeout == 1073 1073 1074 1074 ... ... @@ -1120,7 +1120,6 @@ 1120 1120 ))) 1121 1121 |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK 1122 1122 1123 - 1124 1124 == 7.22 Setting up uplinkdwelltime (as923, au915) == 1125 1125 1126 1126 ... ... @@ -1146,7 +1146,6 @@ 1146 1146 * **Example 1**: Downlink Payload: **2501** ~/~/ set uplinkdwelltime to 1 1147 1147 * **Example 2**: Downlink Payload: **2500** ~/~/ set uplinkdwelltime to 0 1148 1148 1149 - 1150 1150 == 7.23 Set Packet Receiving Response Level == 1151 1151 1152 1152 ... ... @@ -1186,7 +1186,6 @@ 1186 1186 * **Example 1**: Downlink Payload: **2101** ~/~/ set packet receiving response level to 1 1187 1187 * **Example 2**: Downlink Payload: **2102** ~/~/ set packet receiving response level to 2 1188 1188 1189 - 1190 1190 == 7.24 Controls NBTrans in unconfirmed uplink mode(LWS007 NBTrans:Set retransmission packets) == 1191 1191 1192 1192 ... ... @@ -1217,7 +1217,6 @@ 1217 1217 * Example 1: Downlink Payload: 330100 ~/~/ Set AT+SETMAXNBTRANS=1,0 1218 1218 * Example 2: Downlink Payload: 330201 ~/~/ Set AT+SETMAXNBTRANS=2,1 1219 1219 1220 - 1221 1221 == 7.25 Device offline rejoining (LWS007) == 1222 1222 1223 1223 ... ... @@ -1262,7 +1262,6 @@ 1262 1262 1263 1263 * **Example 1:** Downlink Payload: 320105A00B40 ~/~/ Set AT+DDETECT=1,1440,2880 1264 1264 1265 - 1266 1266 == 7.26 Request the server to send an ACK == 1267 1267 1268 1268 ... ... @@ -1280,7 +1280,6 @@ 1280 1280 OK 1281 1281 ))) 1282 1282 1283 - 1284 1284 == 7.27 Adjust network rejoining interval == 1285 1285 1286 1286 ... ... @@ -1307,7 +1307,6 @@ 1307 1307 * **Example 1:** Downlink Payload: 26000A ~/~/ Set AT+RJTDC=10 1308 1308 * **Example 2: **Downlink Payload: 260002 ~/~/ Set AT+RJTDC=2 1309 1309 1310 - 1311 1311 = 8. AT Commands Combination = 1312 1312 1313 1313 == 8.1 Set a fix RX2DR for downlink window == ... ... @@ -1316,7 +1316,6 @@ 1316 1316 * (% style="color:blue" %)**AT+ADR=0 **(%%) **~-~->** Disable ADR first 1317 1317 * (% style="color:blue" %)**AT+RX2DR=xxxx** (%%) **~-~->** Set xxxx to your wanted DataRate 1318 1318 1319 - 1320 1320 == 8.2 Use Downlink Command to set a fix uplink DR == 1321 1321 1322 1322