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. ... ... @@ -499,6 +499,7 @@ 499 499 ))) 500 500 501 501 500 + 502 502 == 6.4 LoRa® Network Join Mode == 503 503 504 504 Feature: Get or Set the Network Join Mode. (0: ABP, 1: OTAA). ... ... @@ -528,6 +528,7 @@ 528 528 * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1 529 529 530 530 530 + 531 531 == 6.5 LoRa® Network Join Status == 532 532 533 533 Feature: LoRa® Network Join Status. ... ... @@ -544,6 +544,7 @@ 544 544 ))) 545 545 546 546 547 + 547 547 == 6.6 Print Last Received Data in Raw Format == 548 548 549 549 Feature: Print Last Received Data in Raw Format<port:data>. ... ... @@ -560,6 +560,7 @@ 560 560 ))) 561 561 562 562 564 + 563 563 == 6.7 Print Last Received Data in Binary Format == 564 564 565 565 Feature: Print Last Received Data in Binary Format<port:data>. ... ... @@ -576,6 +576,7 @@ 576 576 ))) 577 577 578 578 581 + 579 579 == 6.8 Send Text Data == 580 580 581 581 Feature: Send Text Data<port:data>. ... ... @@ -596,6 +596,7 @@ 596 596 ))) 597 597 598 598 602 + 599 599 == 6.9 Send Hexadecimal Data == 600 600 601 601 Feature: Send hexadecimal data along with the application port. ... ... @@ -615,6 +615,7 @@ 615 615 ))) 616 616 617 617 622 + 618 618 = 7. LoRaWAN network management = 619 619 620 620 == 7.1 Adaptive Data Rate == ... ... @@ -647,6 +647,7 @@ 647 647 * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0. 648 648 649 649 655 + 650 650 == 7.2 LoRa® Class == 651 651 652 652 Feature: Get or Set the Device Class(Currently only support class A, class C). ... ... @@ -666,6 +666,7 @@ 666 666 ))) 667 667 668 668 675 + 669 669 == 7.3 Duty Cycle Setting == 670 670 671 671 Feature: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing. ... ... @@ -685,6 +685,7 @@ 685 685 ))) 686 686 687 687 695 + 688 688 == 7.4 Data Rate == 689 689 690 690 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 ... ... @@ -714,6 +714,7 @@ 714 714 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0. 715 715 716 716 725 + 717 717 == 7.5 Frame Counter Downlink == 718 718 719 719 Feature: Get or Set the Frame Counter Downlink. ... ... @@ -735,6 +735,7 @@ 735 735 ))) 736 736 737 737 747 + 738 738 == 7.6 Frame Counter Uplink == 739 739 740 740 Feature: Get or Set the Frame Counter Uplink. ... ... @@ -754,6 +754,7 @@ 754 754 ))) 755 755 756 756 767 + 757 757 == 7.7 Join Accept Delay1 == 758 758 759 759 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms. ... ... @@ -773,6 +773,7 @@ 773 773 ))) 774 774 775 775 787 + 776 776 == 7.8 Join Accept Delay2 == 777 777 778 778 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms. ... ... @@ -792,6 +792,7 @@ 792 792 ))) 793 793 794 794 807 + 795 795 == 7.9 Public Network Mode == 796 796 797 797 Feature: Get or Set the public network mode. (0: off, 1: on) ... ... @@ -813,6 +813,7 @@ 813 813 ))) 814 814 815 815 829 + 816 816 == 7.10 Receive Delay1 == 817 817 818 818 Feature: Get or Set the delay between the end of the Tx and the Rx Window 1 in ms ... ... @@ -832,6 +832,7 @@ 832 832 ))) 833 833 834 834 849 + 835 835 == 7.11 Receive Delay2 == 836 836 837 837 Feature: Get or Set the delay between the end of the Tx and the Rx Window 2 in ms ... ... @@ -851,6 +851,7 @@ 851 851 ))) 852 852 853 853 869 + 854 854 == 7.12 Rx2 Window Data Rate == 855 855 856 856 Feature: Get or Set the Rx2 window data rate (0-7 corresponding to DR_X) ... ... @@ -870,6 +870,7 @@ 870 870 ))) 871 871 872 872 889 + 873 873 == 7.13 Rx2 Window Frequency == 874 874 875 875 Feature: Get or Set the Rx2 window frequency ... ... @@ -889,6 +889,7 @@ 889 889 ))) 890 890 891 891 909 + 892 892 == 7.14 Transmit Power == 893 893 894 894 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. ) ... ... @@ -915,6 +915,7 @@ 915 915 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+TXP=0. 916 916 917 917 936 + 918 918 == 7.15 RSSI of the Last Received Packet == 919 919 920 920 Feature: Get or Set the Rx2 window frequency ... ... @@ -931,6 +931,7 @@ 931 931 ))) 932 932 933 933 953 + 934 934 == 7.16 SNR of the Last Received Packet == 935 935 936 936 Feature: Get the SNR of the last received packet ... ... @@ -947,6 +947,7 @@ 947 947 ))) 948 948 949 949 970 + 950 950 == 7.17 Application Port == 951 951 952 952 Feature: Get or set the application port. ... ... @@ -975,6 +975,7 @@ 975 975 * **Example 2**: Downlink Payload:** 2305** ~/~/ set the application port to 5 976 976 977 977 999 + 978 978 == 7.18 Single Channel Mode == 979 979 980 980 Feature:Get or Set Frequency (Unit: Hz) for Single Channel Mode. ... ... @@ -992,6 +992,7 @@ 992 992 |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK 993 993 994 994 1017 + 995 995 == 7.19 Eight Channel Mode == 996 996 997 997 Feature: Get or Set eight channels mode,Only for US915,AU915,CN470. ... ... @@ -1022,6 +1022,7 @@ 1022 1022 * **Example 2**: Downlink Payload: 2405 ~/~/ set channel mode to 5 1023 1023 1024 1024 1048 + 1025 1025 == 7.20 Get or Set RXwindows1 timeout == 1026 1026 1027 1027 Feature:Get or Set the number of symbols to detect and timeout from RXwindow1(0 to 255). ... ... @@ -1067,6 +1067,7 @@ 1067 1067 |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK 1068 1068 1069 1069 1094 + 1070 1070 == 7.22 Setting up uplinkdwelltime (as923, au915) == 1071 1071 1072 1072 Feature: Get or Set uplinkdwelltime ... ... @@ -1095,6 +1095,7 @@ 1095 1095 * **Example 2**: Downlink Payload: **2500** ~/~/ set uplinkdwelltime to 0 1096 1096 1097 1097 1123 + 1098 1098 == 7.23 Set Packet Receiving Response Level == 1099 1099 1100 1100 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. ... ... @@ -1137,6 +1137,7 @@ 1137 1137 * **Example 2**: Downlink Payload: **2102** ~/~/ set packet receiving response level to 2 1138 1138 1139 1139 1166 + 1140 1140 = 8. AT Commands Combination = 1141 1141 1142 1142 == 8.1 Set a fix RX2DR for downlink window == ... ... @@ -1145,6 +1145,7 @@ 1145 1145 * **AT+RX2DR=xxxx** ~-~-> Set xxxx to your wanted DataRate 1146 1146 1147 1147 1175 + 1148 1148 == 8.2 Use Downlink Command to set a fix uplink DR == 1149 1149 1150 1150 {{info}}