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,8 +20,8 @@ 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>> doc:Main.Notes for TTN.WebHome]]24 -** Use Base64 format to send a downlink: [[Chirpstack>> doc:Main.Notes for ChirpStack.WebHome]].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]] 25 25 ** See use note for more serves [[Servers Note>>doc:Main.WebHome]](IoT LoRaWAN Server) 26 26 27 27 = 3. Support End Node and firmware version = ... ... @@ -299,7 +299,6 @@ 299 299 ))) 300 300 301 301 302 - 303 303 = 5. Keys, IDs and EUIs management = 304 304 305 305 == 5.1 Application EUI == ... ... @@ -335,7 +335,6 @@ 335 335 ))) 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 - 339 339 == 5.3 Application Session Key == 340 340 341 341 Feature: Get or Set the Application Session Key. ... ... @@ -465,6 +465,8 @@ 465 465 OK 466 466 ))) 467 467 466 + 467 + 468 468 == 6.3 Join LoRa® Network == 469 469 470 470 Feature: Join network. ... ... @@ -482,6 +482,7 @@ 482 482 While Error in format, return AT_BUSY_ERROR 483 483 ))) 484 484 485 + 485 485 == 6.4 LoRa® Network Join Mode == 486 486 487 487 Feature: Get or Set the Network Join Mode. (0: ABP, 1: OTAA). ... ... @@ -510,6 +510,7 @@ 510 510 * **Example 1: **Downlink Payload: **2000** ~/~/ Set AT+NJM=O 511 511 * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1 512 512 514 + 513 513 == 6.5 LoRa® Network Join Status == 514 514 515 515 Feature: LoRa® Network Join Status. ... ... @@ -525,6 +525,7 @@ 525 525 OK 526 526 ))) 527 527 530 + 528 528 == 6.6 Print Last Received Data in Raw Format == 529 529 530 530 Feature: Print Last Received Data in Raw Format<port:data>. ... ... @@ -540,6 +540,7 @@ 540 540 OK 541 541 ))) 542 542 546 + 543 543 == 6.7 Print Last Received Data in Binary Format == 544 544 545 545 Feature: Print Last Received Data in Binary Format<port:data>. ... ... @@ -555,6 +555,7 @@ 555 555 OK 556 556 ))) 557 557 562 + 558 558 == 6.8 Send Text Data == 559 559 560 560 Feature: Send Text Data<port:data>. ... ... @@ -574,6 +574,7 @@ 574 574 575 575 ))) 576 576 582 + 577 577 == 6.9 Send Hexadecimal Data == 578 578 579 579 Feature: Send hexadecimal data along with the application port. ... ... @@ -592,6 +592,7 @@ 592 592 593 593 ))) 594 594 601 + 595 595 = 7. LoRaWAN network management = 596 596 597 597 == 7.1 Adaptive Data Rate == ... ... @@ -623,6 +623,7 @@ 623 623 * **Example 1**: Downlink Payload: **2201** ~/~/ Set AT+ADR=1. 624 624 * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0. 625 625 633 + 626 626 == 7.2 LoRa® Class == 627 627 628 628 Feature: Get or Set the Device Class(Currently only support class A, class C). ... ... @@ -641,6 +641,7 @@ 641 641 642 642 ))) 643 643 652 + 644 644 == 7.3 Duty Cycle Setting == 645 645 646 646 Feature: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing. ... ... @@ -659,6 +659,7 @@ 659 659 660 660 ))) 661 661 671 + 662 662 == 7.4 Data Rate == 663 663 664 664 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 ... ... @@ -687,6 +687,7 @@ 687 687 * **Example 1**: Downlink Payload: **220001FF** ~/~/ Set AT+DR=1. 688 688 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0. 689 689 700 + 690 690 == 7.5 Frame Counter Downlink == 691 691 692 692 Feature: Get or Set the Frame Counter Downlink. ... ... @@ -707,6 +707,7 @@ 707 707 708 708 ))) 709 709 721 + 710 710 == 7.6 Frame Counter Uplink == 711 711 712 712 Feature: Get or Set the Frame Counter Uplink. ... ... @@ -725,6 +725,7 @@ 725 725 726 726 ))) 727 727 740 + 728 728 == 7.7 Join Accept Delay1 == 729 729 730 730 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms. ... ... @@ -743,6 +743,7 @@ 743 743 744 744 ))) 745 745 759 + 746 746 == 7.8 Join Accept Delay2 == 747 747 748 748 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms. ... ... @@ -761,6 +761,7 @@ 761 761 762 762 ))) 763 763 778 + 764 764 == 7.9 Public Network Mode == 765 765 766 766 Feature: Get or Set the public network mode. (0: off, 1: on) ... ... @@ -781,6 +781,7 @@ 781 781 782 782 ))) 783 783 799 + 784 784 == 7.10 Receive Delay1 == 785 785 786 786 Feature: Get or Set the delay between the end of the Tx and the Rx Window 1 in ms ... ... @@ -799,6 +799,7 @@ 799 799 800 800 ))) 801 801 818 + 802 802 == 7.11 Receive Delay2 == 803 803 804 804 Feature: Get or Set the delay between the end of the Tx and the Rx Window 2 in ms ... ... @@ -817,6 +817,7 @@ 817 817 818 818 ))) 819 819 837 + 820 820 == 7.12 Rx2 Window Data Rate == 821 821 822 822 Feature: Get or Set the Rx2 window data rate (0-7 corresponding to DR_X) ... ... @@ -835,6 +835,7 @@ 835 835 836 836 ))) 837 837 856 + 838 838 == 7.13 Rx2 Window Frequency == 839 839 840 840 Feature: Get or Set the Rx2 window frequency ... ... @@ -853,6 +853,7 @@ 853 853 854 854 ))) 855 855 875 + 856 856 == 7.14 Transmit Power == 857 857 858 858 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. ) ... ... @@ -878,6 +878,7 @@ 878 878 * **Example 1**: Downlink Payload: **22000102** ~/~/ Set AT+TXP=2. 879 879 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+TXP=0. 880 880 901 + 881 881 == 7.15 RSSI of the Last Received Packet == 882 882 883 883 Feature: Get or Set the Rx2 window frequency ... ... @@ -893,6 +893,7 @@ 893 893 OK 894 894 ))) 895 895 917 + 896 896 == 7.16 SNR of the Last Received Packet == 897 897 898 898 Feature: Get the SNR of the last received packet ... ... @@ -908,6 +908,7 @@ 908 908 OK 909 909 ))) 910 910 933 + 911 911 == 7.17 Application Port == 912 912 913 913 Feature: Get or set the application port. ... ... @@ -935,6 +935,7 @@ 935 935 * **Example 1**: Downlink Payload: **2301** ~/~/ set the application port to 1 936 936 * **Example 2**: Downlink Payload:** 2305** ~/~/ set the application port to 5 937 937 961 + 938 938 == 7.18 Single Channel Mode == 939 939 940 940 Feature:Get or Set Frequency (Unit: Hz) for Single Channel Mode. ... ... @@ -951,6 +951,7 @@ 951 951 ))) 952 952 |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK 953 953 978 + 954 954 == 7.19 Eight Channel Mode == 955 955 956 956 Feature: Get or Set eight channels mode,Only for US915,AU915,CN470. ... ... @@ -980,6 +980,7 @@ 980 980 * **Example 1**: Downlink Payload: 2401 ~/~/ set channel mode to 1 981 981 * **Example 2**: Downlink Payload: 2405 ~/~/ set channel mode to 5 982 982 1008 + 983 983 == 7.20 Get or Set RXwindows1 timeout == 984 984 985 985 Feature:Get or Set the number of symbols to detect and timeout from RXwindow1(0 to 255). ... ... @@ -1024,6 +1024,7 @@ 1024 1024 ))) 1025 1025 |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK 1026 1026 1053 + 1027 1027 == 7.22 Setting up uplinkdwelltime (as923, au915) == 1028 1028 1029 1029 Feature: Get or Set uplinkdwelltime ... ... @@ -1051,6 +1051,7 @@ 1051 1051 * **Example 1**: Downlink Payload: **2501** ~/~/ set uplinkdwelltime to 1 1052 1052 * **Example 2**: Downlink Payload: **2500** ~/~/ set uplinkdwelltime to 0 1053 1053 1081 + 1054 1054 == 7.23 Set Packet Receiving Response Level == 1055 1055 1056 1056 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. ... ... @@ -1092,6 +1092,7 @@ 1092 1092 * **Example 1**: Downlink Payload: **2101** ~/~/ set packet receiving response level to 1 1093 1093 * **Example 2**: Downlink Payload: **2102** ~/~/ set packet receiving response level to 2 1094 1094 1123 + 1095 1095 = 8. AT Commands Combination = 1096 1096 1097 1097 == 8.1 Set a fix RX2DR for downlink window == ... ... @@ -1099,6 +1099,7 @@ 1099 1099 * **AT+ADR=0 **~-~-> Disable ADR first 1100 1100 * **AT+RX2DR=xxxx** ~-~-> Set xxxx to your wanted DataRate 1101 1101 1131 + 1102 1102 == 8.2 Use Downlink Command to set a fix uplink DR == 1103 1103 1104 1104 {{info}}