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 (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Bei1 +XWiki.Xiaoling - Content
-
... ... @@ -25,6 +25,7 @@ 25 25 ** See use note for more serves [[Servers Note>>doc:Main.WebHome]](IoT LoRaWAN Server) 26 26 27 27 28 + 28 28 = 3. Support End Node and firmware version = 29 29 30 30 (% border="1" style="background-color:#ffffcc; color:green; width:966px" %) ... ... @@ -99,6 +99,7 @@ 99 99 ))) 100 100 101 101 103 + 102 102 = 4. System Management Commands = 103 103 104 104 == 4.1 Change Uplink Interval == ... ... @@ -138,6 +138,7 @@ 138 138 * **Example 2**: Downlink Payload:** 0100003C** ~/~/ Set Transmit Interval (TDC) = 60 seconds 139 139 140 140 143 + 141 141 == 4.2 Reboot End Node == 142 142 143 143 Feature: Reboot End Node to perform a new OTAA or ABP Join. ... ... @@ -300,6 +300,7 @@ 300 300 ))) 301 301 302 302 306 + 303 303 = 5. Keys, IDs and EUIs management = 304 304 305 305 == 5.1 Application EUI == ... ... @@ -319,6 +319,7 @@ 319 319 |(% style="width:305px" %)AT+APPEUI=00 b3 d5 7e f0 00 4d 34|(% style="width:186px" %)Set the Application EUI|(% style="width:191px" %)OK 320 320 321 321 326 + 322 322 == 5.2 Application Key == 323 323 324 324 Feature: Get or Set the Application Key. ... ... @@ -336,6 +336,7 @@ 336 336 |(% 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 337 337 338 338 344 + 339 339 == 5.3 Application Session Key == 340 340 341 341 Feature: Get or Set the Application Session Key. ... ... @@ -355,6 +355,7 @@ 355 355 ))) 356 356 357 357 364 + 358 358 == 5.4 Device Address == 359 359 360 360 Feature: Get or Set the Device Address. ... ... @@ -374,6 +374,7 @@ 374 374 |(% style="width:192px" %)AT+DADDR=A8 40 41 FF|(% style="width:241px" %)Set the Application Session Key.|(% style="width:359px" %)OK 375 375 376 376 384 + 377 377 == 5.5 Device EUI == 378 378 379 379 Feature: Get or Set the Device EUI. ... ... @@ -393,6 +393,7 @@ 393 393 ))) 394 394 395 395 404 + 396 396 == 5.6 Network ID == 397 397 398 398 Feature: Get or Set the Network ID.(You can enter this command change only after successful network connection) ... ... @@ -410,6 +410,7 @@ 410 410 |(% style="width:191px" %)AT+NWKID=A8 40 41 FF|(% style="width:153px" %)Set the Network ID.|(% style="width:101px" %)OK 411 411 412 412 422 + 413 413 == 5.7 Network Session Key == 414 414 415 415 Feature: Get or Set the Network Session Key ... ... @@ -427,6 +427,7 @@ 427 427 |(% 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 428 428 429 429 440 + 430 430 = 6. Joining and sending date on LoRaWAN network = 431 431 432 432 == 6.1 Confirm Mode == ... ... @@ -456,6 +456,7 @@ 456 456 * Example 2: Downlink Payload: 0500 ~/~/ Set AT+CFM=0 457 457 458 458 470 + 459 459 == 6.2 Confirm Status == 460 460 461 461 Feature: Get confirmation status of the last AT+SEND (0-1). ... ... @@ -472,6 +472,7 @@ 472 472 ))) 473 473 474 474 487 + 475 475 == 6.3 Join LoRa® Network == 476 476 477 477 Feature: Join network. ... ... @@ -490,6 +490,7 @@ 490 490 ))) 491 491 492 492 506 + 493 493 == 6.4 LoRa® Network Join Mode == 494 494 495 495 Feature: Get or Set the Network Join Mode. (0: ABP, 1: OTAA). ... ... @@ -519,6 +519,7 @@ 519 519 * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1 520 520 521 521 536 + 522 522 == 6.5 LoRa® Network Join Status == 523 523 524 524 Feature: LoRa® Network Join Status. ... ... @@ -535,6 +535,7 @@ 535 535 ))) 536 536 537 537 553 + 538 538 == 6.6 Print Last Received Data in Raw Format == 539 539 540 540 Feature: Print Last Received Data in Raw Format<port:data>. ... ... @@ -551,6 +551,7 @@ 551 551 ))) 552 552 553 553 570 + 554 554 == 6.7 Print Last Received Data in Binary Format == 555 555 556 556 Feature: Print Last Received Data in Binary Format<port:data>. ... ... @@ -567,6 +567,7 @@ 567 567 ))) 568 568 569 569 587 + 570 570 == 6.8 Send Text Data == 571 571 572 572 Feature: Send Text Data<port:data>. ... ... @@ -587,6 +587,7 @@ 587 587 ))) 588 588 589 589 608 + 590 590 == 6.9 Send Hexadecimal Data == 591 591 592 592 Feature: Send hexadecimal data along with the application port. ... ... @@ -606,6 +606,7 @@ 606 606 ))) 607 607 608 608 628 + 609 609 = 7. LoRaWAN network management = 610 610 611 611 == 7.1 Adaptive Data Rate == ... ... @@ -638,6 +638,7 @@ 638 638 * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0. 639 639 640 640 661 + 641 641 == 7.2 LoRa® Class == 642 642 643 643 Feature: Get or Set the Device Class(Currently only support class A, class C). ... ... @@ -657,6 +657,7 @@ 657 657 ))) 658 658 659 659 681 + 660 660 == 7.3 Duty Cycle Setting == 661 661 662 662 Feature: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing. ... ... @@ -676,6 +676,7 @@ 676 676 ))) 677 677 678 678 701 + 679 679 == 7.4 Data Rate == 680 680 681 681 Feature: Get or Set the Data Rate. (0-7 corresponding to DR_X) . Note: while set Data Rate, please use set Adptive Data Rate, ADR=0 first. otherwise device will response to server's ADR command and change the DR to the setting from server ... ... @@ -705,6 +705,7 @@ 705 705 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0. 706 706 707 707 731 + 708 708 == 7.5 Frame Counter Downlink == 709 709 710 710 Feature: Get or Set the Frame Counter Downlink. ... ... @@ -726,6 +726,7 @@ 726 726 ))) 727 727 728 728 753 + 729 729 == 7.6 Frame Counter Uplink == 730 730 731 731 Feature: Get or Set the Frame Counter Uplink. ... ... @@ -745,6 +745,7 @@ 745 745 ))) 746 746 747 747 773 + 748 748 == 7.7 Join Accept Delay1 == 749 749 750 750 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms. ... ... @@ -764,6 +764,7 @@ 764 764 ))) 765 765 766 766 793 + 767 767 == 7.8 Join Accept Delay2 == 768 768 769 769 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms. ... ... @@ -783,6 +783,7 @@ 783 783 ))) 784 784 785 785 813 + 786 786 == 7.9 Public Network Mode == 787 787 788 788 Feature: Get or Set the public network mode. (0: off, 1: on) ... ... @@ -804,6 +804,7 @@ 804 804 ))) 805 805 806 806 835 + 807 807 == 7.10 Receive Delay1 == 808 808 809 809 Feature: Get or Set the delay between the end of the Tx and the Rx Window 1 in ms ... ... @@ -823,6 +823,7 @@ 823 823 ))) 824 824 825 825 855 + 826 826 == 7.11 Receive Delay2 == 827 827 828 828 Feature: Get or Set the delay between the end of the Tx and the Rx Window 2 in ms ... ... @@ -842,6 +842,7 @@ 842 842 ))) 843 843 844 844 875 + 845 845 == 7.12 Rx2 Window Data Rate == 846 846 847 847 Feature: Get or Set the Rx2 window data rate (0-7 corresponding to DR_X) ... ... @@ -861,6 +861,7 @@ 861 861 ))) 862 862 863 863 895 + 864 864 == 7.13 Rx2 Window Frequency == 865 865 866 866 Feature: Get or Set the Rx2 window frequency ... ... @@ -880,6 +880,7 @@ 880 880 ))) 881 881 882 882 915 + 883 883 == 7.14 Transmit Power == 884 884 885 885 Feature: Get or Set the Transmit Power(0-5, MAX:0, MIN:5, according to LoRaWAN Spec, or 40=10dB, 41 = 11dB, …, 50 = 20dB which is out of LoRaWAN spec. ) ... ... @@ -906,6 +906,7 @@ 906 906 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+TXP=0. 907 907 908 908 942 + 909 909 == 7.15 RSSI of the Last Received Packet == 910 910 911 911 Feature: Get or Set the Rx2 window frequency ... ... @@ -922,6 +922,7 @@ 922 922 ))) 923 923 924 924 959 + 925 925 == 7.16 SNR of the Last Received Packet == 926 926 927 927 Feature: Get the SNR of the last received packet ... ... @@ -938,6 +938,7 @@ 938 938 ))) 939 939 940 940 976 + 941 941 == 7.17 Application Port == 942 942 943 943 Feature: Get or set the application port. ... ... @@ -966,6 +966,7 @@ 966 966 * **Example 2**: Downlink Payload:** 2305** ~/~/ set the application port to 5 967 967 968 968 1005 + 969 969 == 7.18 Single Channel Mode == 970 970 971 971 Feature:Get or Set Frequency (Unit: Hz) for Single Channel Mode. ... ... @@ -983,6 +983,7 @@ 983 983 |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK 984 984 985 985 1023 + 986 986 == 7.19 Eight Channel Mode == 987 987 988 988 Feature: Get or Set eight channels mode,Only for US915,AU915,CN470. ... ... @@ -1013,6 +1013,7 @@ 1013 1013 * **Example 2**: Downlink Payload: 2405 ~/~/ set channel mode to 5 1014 1014 1015 1015 1054 + 1016 1016 == 7.20 Get or Set RXwindows1 timeout == 1017 1017 1018 1018 Feature:Get or Set the number of symbols to detect and timeout from RXwindow1(0 to 255). ... ... @@ -1058,6 +1058,7 @@ 1058 1058 |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK 1059 1059 1060 1060 1100 + 1061 1061 == 7.22 Setting up uplinkdwelltime (as923, au915) == 1062 1062 1063 1063 Feature: Get or Set uplinkdwelltime ... ... @@ -1086,6 +1086,7 @@ 1086 1086 * **Example 2**: Downlink Payload: **2500** ~/~/ set uplinkdwelltime to 0 1087 1087 1088 1088 1129 + 1089 1089 == 7.23 Set Packet Receiving Response Level == 1090 1090 1091 1091 Feature: Get or Set packet receiving response level. This feature is used to set compatible with different LoRaWAN servers. If RPL doesn;t match , user will see strange message in the server portal. ... ... @@ -1127,23 +1127,8 @@ 1127 1127 * **Example 1**: Downlink Payload: **2101** ~/~/ set packet receiving response level to 1 1128 1128 * **Example 2**: Downlink Payload: **2102** ~/~/ set packet receiving response level to 2 1129 1129 1130 -== 7.24 Set retransmission packets == 1131 1131 1132 -(% border="1" style="background-color:#ffffcc; color:green; width:710.222px" %) 1133 -|=(% colspan="3" style="width: 707px;" %)AT+CFM 1134 -|(% style="width:160px" %)**Command Example**|(% style="width:198px" %)**Function**|(% style="width:349px" %)**Response** 1135 -|(% style="width:160px" %)value1|(% style="width:198px" %)confirmed uplink|(% style="width:349px" %)((( 1136 -|(% style="width:160px" %)value1|(% style="width:198px" %)confirmed uplink|(% style="width:349px" %)((( 1137 -1 1138 1138 1139 -OK 1140 -))) 1141 -|(% style="width:160px" %)value2|(% style="width:198px" %)set max retry , range: 0 ~~ 7|(% style="width:349px" %)((( 1142 - 1143 - 1144 -OK 1145 -))) 1146 - 1147 1147 = 8. AT Commands Combination = 1148 1148 1149 1149 == 8.1 Set a fix RX2DR for downlink window == ... ... @@ -1152,6 +1152,7 @@ 1152 1152 * **AT+RX2DR=xxxx** ~-~-> Set xxxx to your wanted DataRate 1153 1153 1154 1154 1181 + 1155 1155 == 8.2 Use Downlink Command to set a fix uplink DR == 1156 1156 1157 1157 {{info}}