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,12 +20,10 @@ 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 - 28 - 29 29 = 3. Support End Node and firmware version = 30 30 31 31 (% border="1" style="background-color:#ffffcc; color:green; width:966px" %) ... ... @@ -301,7 +301,6 @@ 301 301 ))) 302 302 303 303 304 - 305 305 = 5. Keys, IDs and EUIs management = 306 306 307 307 == 5.1 Application EUI == ... ... @@ -337,7 +337,6 @@ 337 337 ))) 338 338 |(% 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 339 339 340 - 341 341 == 5.3 Application Session Key == 342 342 343 343 Feature: Get or Set the Application Session Key. ... ... @@ -467,6 +467,8 @@ 467 467 OK 468 468 ))) 469 469 466 + 467 + 470 470 == 6.3 Join LoRa® Network == 471 471 472 472 Feature: Join network. ... ... @@ -484,6 +484,7 @@ 484 484 While Error in format, return AT_BUSY_ERROR 485 485 ))) 486 486 485 + 487 487 == 6.4 LoRa® Network Join Mode == 488 488 489 489 Feature: Get or Set the Network Join Mode. (0: ABP, 1: OTAA). ... ... @@ -512,6 +512,7 @@ 512 512 * **Example 1: **Downlink Payload: **2000** ~/~/ Set AT+NJM=O 513 513 * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1 514 514 514 + 515 515 == 6.5 LoRa® Network Join Status == 516 516 517 517 Feature: LoRa® Network Join Status. ... ... @@ -527,6 +527,7 @@ 527 527 OK 528 528 ))) 529 529 530 + 530 530 == 6.6 Print Last Received Data in Raw Format == 531 531 532 532 Feature: Print Last Received Data in Raw Format<port:data>. ... ... @@ -542,6 +542,7 @@ 542 542 OK 543 543 ))) 544 544 546 + 545 545 == 6.7 Print Last Received Data in Binary Format == 546 546 547 547 Feature: Print Last Received Data in Binary Format<port:data>. ... ... @@ -557,6 +557,7 @@ 557 557 OK 558 558 ))) 559 559 562 + 560 560 == 6.8 Send Text Data == 561 561 562 562 Feature: Send Text Data<port:data>. ... ... @@ -576,6 +576,7 @@ 576 576 577 577 ))) 578 578 582 + 579 579 == 6.9 Send Hexadecimal Data == 580 580 581 581 Feature: Send hexadecimal data along with the application port. ... ... @@ -594,6 +594,7 @@ 594 594 595 595 ))) 596 596 601 + 597 597 = 7. LoRaWAN network management = 598 598 599 599 == 7.1 Adaptive Data Rate == ... ... @@ -625,6 +625,7 @@ 625 625 * **Example 1**: Downlink Payload: **2201** ~/~/ Set AT+ADR=1. 626 626 * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0. 627 627 633 + 628 628 == 7.2 LoRa® Class == 629 629 630 630 Feature: Get or Set the Device Class(Currently only support class A, class C). ... ... @@ -643,6 +643,7 @@ 643 643 644 644 ))) 645 645 652 + 646 646 == 7.3 Duty Cycle Setting == 647 647 648 648 Feature: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing. ... ... @@ -661,6 +661,7 @@ 661 661 662 662 ))) 663 663 671 + 664 664 == 7.4 Data Rate == 665 665 666 666 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 ... ... @@ -689,6 +689,7 @@ 689 689 * **Example 1**: Downlink Payload: **220001FF** ~/~/ Set AT+DR=1. 690 690 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0. 691 691 700 + 692 692 == 7.5 Frame Counter Downlink == 693 693 694 694 Feature: Get or Set the Frame Counter Downlink. ... ... @@ -709,6 +709,7 @@ 709 709 710 710 ))) 711 711 721 + 712 712 == 7.6 Frame Counter Uplink == 713 713 714 714 Feature: Get or Set the Frame Counter Uplink. ... ... @@ -727,6 +727,7 @@ 727 727 728 728 ))) 729 729 740 + 730 730 == 7.7 Join Accept Delay1 == 731 731 732 732 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms. ... ... @@ -745,6 +745,7 @@ 745 745 746 746 ))) 747 747 759 + 748 748 == 7.8 Join Accept Delay2 == 749 749 750 750 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms. ... ... @@ -763,6 +763,7 @@ 763 763 764 764 ))) 765 765 778 + 766 766 == 7.9 Public Network Mode == 767 767 768 768 Feature: Get or Set the public network mode. (0: off, 1: on) ... ... @@ -783,6 +783,7 @@ 783 783 784 784 ))) 785 785 799 + 786 786 == 7.10 Receive Delay1 == 787 787 788 788 Feature: Get or Set the delay between the end of the Tx and the Rx Window 1 in ms ... ... @@ -801,6 +801,7 @@ 801 801 802 802 ))) 803 803 818 + 804 804 == 7.11 Receive Delay2 == 805 805 806 806 Feature: Get or Set the delay between the end of the Tx and the Rx Window 2 in ms ... ... @@ -819,6 +819,7 @@ 819 819 820 820 ))) 821 821 837 + 822 822 == 7.12 Rx2 Window Data Rate == 823 823 824 824 Feature: Get or Set the Rx2 window data rate (0-7 corresponding to DR_X) ... ... @@ -837,6 +837,7 @@ 837 837 838 838 ))) 839 839 856 + 840 840 == 7.13 Rx2 Window Frequency == 841 841 842 842 Feature: Get or Set the Rx2 window frequency ... ... @@ -855,6 +855,7 @@ 855 855 856 856 ))) 857 857 875 + 858 858 == 7.14 Transmit Power == 859 859 860 860 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. ) ... ... @@ -880,6 +880,7 @@ 880 880 * **Example 1**: Downlink Payload: **22000102** ~/~/ Set AT+TXP=2. 881 881 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+TXP=0. 882 882 901 + 883 883 == 7.15 RSSI of the Last Received Packet == 884 884 885 885 Feature: Get or Set the Rx2 window frequency ... ... @@ -895,6 +895,7 @@ 895 895 OK 896 896 ))) 897 897 917 + 898 898 == 7.16 SNR of the Last Received Packet == 899 899 900 900 Feature: Get the SNR of the last received packet ... ... @@ -910,6 +910,7 @@ 910 910 OK 911 911 ))) 912 912 933 + 913 913 == 7.17 Application Port == 914 914 915 915 Feature: Get or set the application port. ... ... @@ -937,6 +937,7 @@ 937 937 * **Example 1**: Downlink Payload: **2301** ~/~/ set the application port to 1 938 938 * **Example 2**: Downlink Payload:** 2305** ~/~/ set the application port to 5 939 939 961 + 940 940 == 7.18 Single Channel Mode == 941 941 942 942 Feature:Get or Set Frequency (Unit: Hz) for Single Channel Mode. ... ... @@ -953,6 +953,7 @@ 953 953 ))) 954 954 |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK 955 955 978 + 956 956 == 7.19 Eight Channel Mode == 957 957 958 958 Feature: Get or Set eight channels mode,Only for US915,AU915,CN470. ... ... @@ -982,6 +982,7 @@ 982 982 * **Example 1**: Downlink Payload: 2401 ~/~/ set channel mode to 1 983 983 * **Example 2**: Downlink Payload: 2405 ~/~/ set channel mode to 5 984 984 1008 + 985 985 == 7.20 Get or Set RXwindows1 timeout == 986 986 987 987 Feature:Get or Set the number of symbols to detect and timeout from RXwindow1(0 to 255). ... ... @@ -1026,6 +1026,7 @@ 1026 1026 ))) 1027 1027 |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK 1028 1028 1053 + 1029 1029 == 7.22 Setting up uplinkdwelltime (as923, au915) == 1030 1030 1031 1031 Feature: Get or Set uplinkdwelltime ... ... @@ -1053,6 +1053,7 @@ 1053 1053 * **Example 1**: Downlink Payload: **2501** ~/~/ set uplinkdwelltime to 1 1054 1054 * **Example 2**: Downlink Payload: **2500** ~/~/ set uplinkdwelltime to 0 1055 1055 1081 + 1056 1056 == 7.23 Set Packet Receiving Response Level == 1057 1057 1058 1058 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. ... ... @@ -1094,6 +1094,7 @@ 1094 1094 * **Example 1**: Downlink Payload: **2101** ~/~/ set packet receiving response level to 1 1095 1095 * **Example 2**: Downlink Payload: **2102** ~/~/ set packet receiving response level to 2 1096 1096 1123 + 1097 1097 = 8. AT Commands Combination = 1098 1098 1099 1099 == 8.1 Set a fix RX2DR for downlink window == ... ... @@ -1101,6 +1101,7 @@ 1101 1101 * **AT+ADR=0 **~-~-> Disable ADR first 1102 1102 * **AT+RX2DR=xxxx** ~-~-> Set xxxx to your wanted DataRate 1103 1103 1131 + 1104 1104 == 8.2 Use Downlink Command to set a fix uplink DR == 1105 1105 1106 1106 {{info}}