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
-
... ... @@ -3,7 +3,6 @@ 3 3 {{toc/}} 4 4 5 5 6 - 7 7 = 1. Introduction = 8 8 9 9 Dragino LoRaWAN End Node support two types of AT Commands and Downlink Commands: ... ... @@ -20,12 +20,11 @@ 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]] 22 +** Use HEX format to send a downlink: [[TTN v3>>doc:Main.Notes for TTN.WebHome]] 23 +** 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 - 29 29 = 3. Support End Node and firmware version = 30 30 31 31 (% border="1" style="background-color:#ffffcc; color:green; width:966px" %) ... ... @@ -100,6 +100,7 @@ 100 100 ))) 101 101 102 102 101 + 103 103 = 4. System Management Commands = 104 104 105 105 == 4.1 Change Uplink Interval == ... ... @@ -337,7 +337,6 @@ 337 337 |(% 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 338 338 339 339 340 - 341 341 == 5.3 Application Session Key == 342 342 343 343 Feature: Get or Set the Application Session Key. ... ... @@ -462,6 +462,8 @@ 462 462 * Example 1: Downlink Payload: 0501 ~/~/ Set AT+CFM=1 463 463 * Example 2: Downlink Payload: 0500 ~/~/ Set AT+CFM=0 464 464 463 + 464 + 465 465 == 6.2 Confirm Status == 466 466 467 467 Feature: Get confirmation status of the last AT+SEND (0-1). ... ... @@ -477,6 +477,8 @@ 477 477 OK 478 478 ))) 479 479 480 + 481 + 480 480 == 6.3 Join LoRa® Network == 481 481 482 482 Feature: Join network. ... ... @@ -494,6 +494,8 @@ 494 494 While Error in format, return AT_BUSY_ERROR 495 495 ))) 496 496 499 + 500 + 497 497 == 6.4 LoRa® Network Join Mode == 498 498 499 499 Feature: Get or Set the Network Join Mode. (0: ABP, 1: OTAA). ... ... @@ -522,6 +522,8 @@ 522 522 * **Example 1: **Downlink Payload: **2000** ~/~/ Set AT+NJM=O 523 523 * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1 524 524 529 + 530 + 525 525 == 6.5 LoRa® Network Join Status == 526 526 527 527 Feature: LoRa® Network Join Status. ... ... @@ -537,6 +537,8 @@ 537 537 OK 538 538 ))) 539 539 546 + 547 + 540 540 == 6.6 Print Last Received Data in Raw Format == 541 541 542 542 Feature: Print Last Received Data in Raw Format<port:data>. ... ... @@ -552,6 +552,8 @@ 552 552 OK 553 553 ))) 554 554 563 + 564 + 555 555 == 6.7 Print Last Received Data in Binary Format == 556 556 557 557 Feature: Print Last Received Data in Binary Format<port:data>. ... ... @@ -567,6 +567,8 @@ 567 567 OK 568 568 ))) 569 569 580 + 581 + 570 570 == 6.8 Send Text Data == 571 571 572 572 Feature: Send Text Data<port:data>. ... ... @@ -586,6 +586,8 @@ 586 586 587 587 ))) 588 588 601 + 602 + 589 589 == 6.9 Send Hexadecimal Data == 590 590 591 591 Feature: Send hexadecimal data along with the application port. ... ... @@ -604,6 +604,8 @@ 604 604 605 605 ))) 606 606 621 + 622 + 607 607 = 7. LoRaWAN network management = 608 608 609 609 == 7.1 Adaptive Data Rate == ... ... @@ -635,6 +635,8 @@ 635 635 * **Example 1**: Downlink Payload: **2201** ~/~/ Set AT+ADR=1. 636 636 * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0. 637 637 654 + 655 + 638 638 == 7.2 LoRa® Class == 639 639 640 640 Feature: Get or Set the Device Class(Currently only support class A, class C). ... ... @@ -653,6 +653,8 @@ 653 653 654 654 ))) 655 655 674 + 675 + 656 656 == 7.3 Duty Cycle Setting == 657 657 658 658 Feature: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing. ... ... @@ -671,6 +671,8 @@ 671 671 672 672 ))) 673 673 694 + 695 + 674 674 == 7.4 Data Rate == 675 675 676 676 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 ... ... @@ -699,6 +699,8 @@ 699 699 * **Example 1**: Downlink Payload: **220001FF** ~/~/ Set AT+DR=1. 700 700 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0. 701 701 724 + 725 + 702 702 == 7.5 Frame Counter Downlink == 703 703 704 704 Feature: Get or Set the Frame Counter Downlink. ... ... @@ -719,6 +719,8 @@ 719 719 720 720 ))) 721 721 746 + 747 + 722 722 == 7.6 Frame Counter Uplink == 723 723 724 724 Feature: Get or Set the Frame Counter Uplink. ... ... @@ -737,6 +737,8 @@ 737 737 738 738 ))) 739 739 766 + 767 + 740 740 == 7.7 Join Accept Delay1 == 741 741 742 742 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms. ... ... @@ -755,6 +755,8 @@ 755 755 756 756 ))) 757 757 786 + 787 + 758 758 == 7.8 Join Accept Delay2 == 759 759 760 760 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms. ... ... @@ -773,6 +773,8 @@ 773 773 774 774 ))) 775 775 806 + 807 + 776 776 == 7.9 Public Network Mode == 777 777 778 778 Feature: Get or Set the public network mode. (0: off, 1: on) ... ... @@ -793,6 +793,8 @@ 793 793 794 794 ))) 795 795 828 + 829 + 796 796 == 7.10 Receive Delay1 == 797 797 798 798 Feature: Get or Set the delay between the end of the Tx and the Rx Window 1 in ms ... ... @@ -811,6 +811,8 @@ 811 811 812 812 ))) 813 813 848 + 849 + 814 814 == 7.11 Receive Delay2 == 815 815 816 816 Feature: Get or Set the delay between the end of the Tx and the Rx Window 2 in ms ... ... @@ -829,6 +829,8 @@ 829 829 830 830 ))) 831 831 868 + 869 + 832 832 == 7.12 Rx2 Window Data Rate == 833 833 834 834 Feature: Get or Set the Rx2 window data rate (0-7 corresponding to DR_X) ... ... @@ -847,6 +847,8 @@ 847 847 848 848 ))) 849 849 888 + 889 + 850 850 == 7.13 Rx2 Window Frequency == 851 851 852 852 Feature: Get or Set the Rx2 window frequency ... ... @@ -865,6 +865,8 @@ 865 865 866 866 ))) 867 867 908 + 909 + 868 868 == 7.14 Transmit Power == 869 869 870 870 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. ) ... ... @@ -890,6 +890,8 @@ 890 890 * **Example 1**: Downlink Payload: **22000102** ~/~/ Set AT+TXP=2. 891 891 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+TXP=0. 892 892 935 + 936 + 893 893 == 7.15 RSSI of the Last Received Packet == 894 894 895 895 Feature: Get or Set the Rx2 window frequency ... ... @@ -905,6 +905,8 @@ 905 905 OK 906 906 ))) 907 907 952 + 953 + 908 908 == 7.16 SNR of the Last Received Packet == 909 909 910 910 Feature: Get the SNR of the last received packet ... ... @@ -920,6 +920,8 @@ 920 920 OK 921 921 ))) 922 922 969 + 970 + 923 923 == 7.17 Application Port == 924 924 925 925 Feature: Get or set the application port. ... ... @@ -947,6 +947,8 @@ 947 947 * **Example 1**: Downlink Payload: **2301** ~/~/ set the application port to 1 948 948 * **Example 2**: Downlink Payload:** 2305** ~/~/ set the application port to 5 949 949 998 + 999 + 950 950 == 7.18 Single Channel Mode == 951 951 952 952 Feature:Get or Set Frequency (Unit: Hz) for Single Channel Mode. ... ... @@ -963,6 +963,8 @@ 963 963 ))) 964 964 |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK 965 965 1016 + 1017 + 966 966 == 7.19 Eight Channel Mode == 967 967 968 968 Feature: Get or Set eight channels mode,Only for US915,AU915,CN470. ... ... @@ -992,6 +992,8 @@ 992 992 * **Example 1**: Downlink Payload: 2401 ~/~/ set channel mode to 1 993 993 * **Example 2**: Downlink Payload: 2405 ~/~/ set channel mode to 5 994 994 1047 + 1048 + 995 995 == 7.20 Get or Set RXwindows1 timeout == 996 996 997 997 Feature:Get or Set the number of symbols to detect and timeout from RXwindow1(0 to 255). ... ... @@ -1036,6 +1036,8 @@ 1036 1036 ))) 1037 1037 |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK 1038 1038 1093 + 1094 + 1039 1039 == 7.22 Setting up uplinkdwelltime (as923, au915) == 1040 1040 1041 1041 Feature: Get or Set uplinkdwelltime ... ... @@ -1063,6 +1063,8 @@ 1063 1063 * **Example 1**: Downlink Payload: **2501** ~/~/ set uplinkdwelltime to 1 1064 1064 * **Example 2**: Downlink Payload: **2500** ~/~/ set uplinkdwelltime to 0 1065 1065 1122 + 1123 + 1066 1066 == 7.23 Set Packet Receiving Response Level == 1067 1067 1068 1068 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. ... ... @@ -1104,6 +1104,8 @@ 1104 1104 * **Example 1**: Downlink Payload: **2101** ~/~/ set packet receiving response level to 1 1105 1105 * **Example 2**: Downlink Payload: **2102** ~/~/ set packet receiving response level to 2 1106 1106 1165 + 1166 + 1107 1107 = 8. AT Commands Combination = 1108 1108 1109 1109 == 8.1 Set a fix RX2DR for downlink window == ... ... @@ -1111,6 +1111,8 @@ 1111 1111 * **AT+ADR=0 **~-~-> Disable ADR first 1112 1112 * **AT+RX2DR=xxxx** ~-~-> Set xxxx to your wanted DataRate 1113 1113 1174 + 1175 + 1114 1114 == 8.2 Use Downlink Command to set a fix uplink DR == 1115 1115 1116 1116 {{info}}