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
-
... ... @@ -20,11 +20,12 @@ 20 20 21 21 * For AT Command , See Devices User Manual for Device. The user manual can be found in each product page of [[Dragino Official Website>>url:http://www.dragino.com/]] 22 22 * For LoRaWAN Downlink: The gateway transfer downlink command in HEX format. This page shows the HEX format downlink code for each command. but some servers use base64 as downlink code. Below are reference for how to use downlink command: 23 -** Use HEX format to send a downlink: [[TTN v3>>Notes for TTN]] 24 -** Use Base64 format to send a downlink: [[Chirpstack>>Notes for ChirpStack]] 23 +** Use HEX format to send a downlink: [[TTN v3>>doc:Main.Notes for TTN.WebHome]] 24 +** Use Base64 format to send a downlink: [[Chirpstack>>doc:Main.Notes for ChirpStack.WebHome]]. 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,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,8 @@ 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 141 + 142 + 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,8 @@ 299 299 OK 300 300 ))) 301 301 304 + 305 + 302 302 = 5. Keys, IDs and EUIs management = 303 303 304 304 == 5.1 Application EUI == ... ... @@ -317,6 +317,8 @@ 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 324 + 325 + 320 320 == 5.2 Application Key == 321 321 322 322 Feature: Get or Set the Application Key. ... ... @@ -334,6 +334,7 @@ 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 336 343 + 337 337 == 5.3 Application Session Key == 338 338 339 339 Feature: Get or Set the Application Session Key. ... ... @@ -487,6 +487,7 @@ 487 487 While Error in format, return AT_BUSY_ERROR 488 488 ))) 489 489 497 + 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 526 + 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 542 + 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 558 + 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 574 + 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 594 + 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 613 + 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 645 + 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 664 + 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 683 + 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 712 + 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 733 + 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 752 + 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 771 + 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 790 + 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 811 + 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 830 + 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 849 + 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 868 + 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 887 + 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 913 + 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 929 + 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 945 + 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 973 + 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 990 + 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 1020 + 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 1065 + 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 1093 + 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 1135 + 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 1143 + 1107 1107 == 8.2 Use Downlink Command to set a fix uplink DR == 1108 1108 1109 1109 {{info}}