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
-
... ... @@ -24,7 +24,6 @@ 24 24 ** Use Base64 format to send a downlink: [[Chirpstack>>Notes for ChirpStack]] 25 25 ** See use note for more serves [[Servers Note>>doc:Main.WebHome]](IoT LoRaWAN Server) 26 26 27 - 28 28 = 3. Support End Node and firmware version = 29 29 30 30 (% border="1" style="background-color:#ffffcc; color:green; width:966px" %) ... ... @@ -99,7 +99,6 @@ 99 99 ))) 100 100 101 101 102 - 103 103 = 4. System Management Commands = 104 104 105 105 == 4.1 Change Uplink Interval == ... ... @@ -138,6 +138,7 @@ 138 138 * **Example 1**: Downlink Payload:** 0100001E** ~/~/ Set Transmit Interval (TDC) = 30 seconds 139 139 * **Example 2**: Downlink Payload:** 0100003C** ~/~/ Set Transmit Interval (TDC) = 60 seconds 140 140 139 + 141 141 == 4.2 Reboot End Node == 142 142 143 143 Feature: Reboot End Node to perform a new OTAA or ABP Join. ... ... @@ -299,6 +299,7 @@ 299 299 OK 300 300 ))) 301 301 301 + 302 302 = 5. Keys, IDs and EUIs management = 303 303 304 304 == 5.1 Application EUI == ... ... @@ -317,6 +317,7 @@ 317 317 ))) 318 318 |(% style="width:305px" %)AT+APPEUI=00 b3 d5 7e f0 00 4d 34|(% style="width:186px" %)Set the Application EUI|(% style="width:191px" %)OK 319 319 320 + 320 320 == 5.2 Application Key == 321 321 322 322 Feature: Get or Set the Application Key. ... ... @@ -333,7 +333,6 @@ 333 333 ))) 334 334 |(% 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 335 335 336 - 337 337 == 5.3 Application Session Key == 338 338 339 339 Feature: Get or Set the Application Session Key. ... ... @@ -352,7 +352,6 @@ 352 352 OK 353 353 ))) 354 354 355 - 356 356 == 5.4 Device Address == 357 357 358 358 Feature: Get or Set the Device Address. ... ... @@ -371,7 +371,6 @@ 371 371 ))) 372 372 |(% style="width:192px" %)AT+DADDR=A8 40 41 FF|(% style="width:241px" %)Set the Application Session Key.|(% style="width:359px" %)OK 373 373 374 - 375 375 == 5.5 Device EUI == 376 376 377 377 Feature: Get or Set the Device EUI. ... ... @@ -390,7 +390,6 @@ 390 390 OK 391 391 ))) 392 392 393 - 394 394 == 5.6 Network ID == 395 395 396 396 Feature: Get or Set the Network ID.(You can enter this command change only after successful network connection) ... ... @@ -407,7 +407,6 @@ 407 407 ))) 408 408 |(% style="width:191px" %)AT+NWKID=A8 40 41 FF|(% style="width:153px" %)Set the Network ID.|(% style="width:101px" %)OK 409 409 410 - 411 411 == 5.7 Network Session Key == 412 412 413 413 Feature: Get or Set the Network Session Key ... ... @@ -424,7 +424,6 @@ 424 424 ))) 425 425 |(% 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 426 426 427 - 428 428 = 6. Joining and sending date on LoRaWAN network = 429 429 430 430 == 6.1 Confirm Mode == ... ... @@ -454,6 +454,7 @@ 454 454 * Example 2: Downlink Payload: 0500 ~/~/ Set AT+CFM=0 455 455 456 456 452 + 457 457 == 6.2 Confirm Status == 458 458 459 459 Feature: Get confirmation status of the last AT+SEND (0-1). ... ... @@ -470,6 +470,7 @@ 470 470 ))) 471 471 472 472 469 + 473 473 == 6.3 Join LoRa® Network == 474 474 475 475 Feature: Join network. ... ... @@ -487,6 +487,7 @@ 487 487 While Error in format, return AT_BUSY_ERROR 488 488 ))) 489 489 487 + 490 490 == 6.4 LoRa® Network Join Mode == 491 491 492 492 Feature: Get or Set the Network Join Mode. (0: ABP, 1: OTAA). ... ... @@ -515,6 +515,7 @@ 515 515 * **Example 1: **Downlink Payload: **2000** ~/~/ Set AT+NJM=O 516 516 * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1 517 517 516 + 518 518 == 6.5 LoRa® Network Join Status == 519 519 520 520 Feature: LoRa® Network Join Status. ... ... @@ -530,6 +530,7 @@ 530 530 OK 531 531 ))) 532 532 532 + 533 533 == 6.6 Print Last Received Data in Raw Format == 534 534 535 535 Feature: Print Last Received Data in Raw Format<port:data>. ... ... @@ -545,6 +545,7 @@ 545 545 OK 546 546 ))) 547 547 548 + 548 548 == 6.7 Print Last Received Data in Binary Format == 549 549 550 550 Feature: Print Last Received Data in Binary Format<port:data>. ... ... @@ -560,6 +560,7 @@ 560 560 OK 561 561 ))) 562 562 564 + 563 563 == 6.8 Send Text Data == 564 564 565 565 Feature: Send Text Data<port:data>. ... ... @@ -579,6 +579,7 @@ 579 579 580 580 ))) 581 581 584 + 582 582 == 6.9 Send Hexadecimal Data == 583 583 584 584 Feature: Send hexadecimal data along with the application port. ... ... @@ -597,6 +597,7 @@ 597 597 598 598 ))) 599 599 603 + 600 600 = 7. LoRaWAN network management = 601 601 602 602 == 7.1 Adaptive Data Rate == ... ... @@ -628,6 +628,7 @@ 628 628 * **Example 1**: Downlink Payload: **2201** ~/~/ Set AT+ADR=1. 629 629 * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0. 630 630 635 + 631 631 == 7.2 LoRa® Class == 632 632 633 633 Feature: Get or Set the Device Class(Currently only support class A, class C). ... ... @@ -646,6 +646,7 @@ 646 646 647 647 ))) 648 648 654 + 649 649 == 7.3 Duty Cycle Setting == 650 650 651 651 Feature: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing. ... ... @@ -664,6 +664,7 @@ 664 664 665 665 ))) 666 666 673 + 667 667 == 7.4 Data Rate == 668 668 669 669 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 ... ... @@ -692,6 +692,7 @@ 692 692 * **Example 1**: Downlink Payload: **220001FF** ~/~/ Set AT+DR=1. 693 693 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0. 694 694 702 + 695 695 == 7.5 Frame Counter Downlink == 696 696 697 697 Feature: Get or Set the Frame Counter Downlink. ... ... @@ -712,6 +712,7 @@ 712 712 713 713 ))) 714 714 723 + 715 715 == 7.6 Frame Counter Uplink == 716 716 717 717 Feature: Get or Set the Frame Counter Uplink. ... ... @@ -730,6 +730,7 @@ 730 730 731 731 ))) 732 732 742 + 733 733 == 7.7 Join Accept Delay1 == 734 734 735 735 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms. ... ... @@ -748,6 +748,7 @@ 748 748 749 749 ))) 750 750 761 + 751 751 == 7.8 Join Accept Delay2 == 752 752 753 753 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms. ... ... @@ -766,6 +766,7 @@ 766 766 767 767 ))) 768 768 780 + 769 769 == 7.9 Public Network Mode == 770 770 771 771 Feature: Get or Set the public network mode. (0: off, 1: on) ... ... @@ -786,6 +786,7 @@ 786 786 787 787 ))) 788 788 801 + 789 789 == 7.10 Receive Delay1 == 790 790 791 791 Feature: Get or Set the delay between the end of the Tx and the Rx Window 1 in ms ... ... @@ -804,6 +804,7 @@ 804 804 805 805 ))) 806 806 820 + 807 807 == 7.11 Receive Delay2 == 808 808 809 809 Feature: Get or Set the delay between the end of the Tx and the Rx Window 2 in ms ... ... @@ -822,6 +822,7 @@ 822 822 823 823 ))) 824 824 839 + 825 825 == 7.12 Rx2 Window Data Rate == 826 826 827 827 Feature: Get or Set the Rx2 window data rate (0-7 corresponding to DR_X) ... ... @@ -840,6 +840,7 @@ 840 840 841 841 ))) 842 842 858 + 843 843 == 7.13 Rx2 Window Frequency == 844 844 845 845 Feature: Get or Set the Rx2 window frequency ... ... @@ -858,6 +858,7 @@ 858 858 859 859 ))) 860 860 877 + 861 861 == 7.14 Transmit Power == 862 862 863 863 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. ) ... ... @@ -883,6 +883,7 @@ 883 883 * **Example 1**: Downlink Payload: **22000102** ~/~/ Set AT+TXP=2. 884 884 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+TXP=0. 885 885 903 + 886 886 == 7.15 RSSI of the Last Received Packet == 887 887 888 888 Feature: Get or Set the Rx2 window frequency ... ... @@ -898,6 +898,7 @@ 898 898 OK 899 899 ))) 900 900 919 + 901 901 == 7.16 SNR of the Last Received Packet == 902 902 903 903 Feature: Get the SNR of the last received packet ... ... @@ -913,6 +913,7 @@ 913 913 OK 914 914 ))) 915 915 935 + 916 916 == 7.17 Application Port == 917 917 918 918 Feature: Get or set the application port. ... ... @@ -940,6 +940,7 @@ 940 940 * **Example 1**: Downlink Payload: **2301** ~/~/ set the application port to 1 941 941 * **Example 2**: Downlink Payload:** 2305** ~/~/ set the application port to 5 942 942 963 + 943 943 == 7.18 Single Channel Mode == 944 944 945 945 Feature:Get or Set Frequency (Unit: Hz) for Single Channel Mode. ... ... @@ -956,6 +956,7 @@ 956 956 ))) 957 957 |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK 958 958 980 + 959 959 == 7.19 Eight Channel Mode == 960 960 961 961 Feature: Get or Set eight channels mode,Only for US915,AU915,CN470. ... ... @@ -985,6 +985,7 @@ 985 985 * **Example 1**: Downlink Payload: 2401 ~/~/ set channel mode to 1 986 986 * **Example 2**: Downlink Payload: 2405 ~/~/ set channel mode to 5 987 987 1010 + 988 988 == 7.20 Get or Set RXwindows1 timeout == 989 989 990 990 Feature:Get or Set the number of symbols to detect and timeout from RXwindow1(0 to 255). ... ... @@ -1029,6 +1029,7 @@ 1029 1029 ))) 1030 1030 |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK 1031 1031 1055 + 1032 1032 == 7.22 Setting up uplinkdwelltime (as923, au915) == 1033 1033 1034 1034 Feature: Get or Set uplinkdwelltime ... ... @@ -1056,6 +1056,7 @@ 1056 1056 * **Example 1**: Downlink Payload: **2501** ~/~/ set uplinkdwelltime to 1 1057 1057 * **Example 2**: Downlink Payload: **2500** ~/~/ set uplinkdwelltime to 0 1058 1058 1083 + 1059 1059 == 7.23 Set Packet Receiving Response Level == 1060 1060 1061 1061 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. ... ... @@ -1097,6 +1097,7 @@ 1097 1097 * **Example 1**: Downlink Payload: **2101** ~/~/ set packet receiving response level to 1 1098 1098 * **Example 2**: Downlink Payload: **2102** ~/~/ set packet receiving response level to 2 1099 1099 1125 + 1100 1100 = 8. AT Commands Combination = 1101 1101 1102 1102 == 8.1 Set a fix RX2DR for downlink window == ... ... @@ -1104,6 +1104,7 @@ 1104 1104 * **AT+ADR=0 **~-~-> Disable ADR first 1105 1105 * **AT+RX2DR=xxxx** ~-~-> Set xxxx to your wanted DataRate 1106 1106 1133 + 1107 1107 == 8.2 Use Downlink Command to set a fix uplink DR == 1108 1108 1109 1109 {{info}}