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,10 +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 26 + 27 27 = 3. Support End Node and firmware version = 28 28 29 29 (% border="1" style="background-color:#ffffcc; color:green; width:966px" %) ... ... @@ -98,6 +98,7 @@ 98 98 ))) 99 99 100 100 101 + 101 101 = 4. System Management Commands = 102 102 103 103 == 4.1 Change Uplink Interval == ... ... @@ -334,6 +334,7 @@ 334 334 ))) 335 335 |(% 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 336 336 338 + 337 337 == 5.3 Application Session Key == 338 338 339 339 Feature: Get or Set the Application Session Key. ... ... @@ -352,6 +352,8 @@ 352 352 OK 353 353 ))) 354 354 357 + 358 + 355 355 == 5.4 Device Address == 356 356 357 357 Feature: Get or Set the Device Address. ... ... @@ -370,6 +370,8 @@ 370 370 ))) 371 371 |(% style="width:192px" %)AT+DADDR=A8 40 41 FF|(% style="width:241px" %)Set the Application Session Key.|(% style="width:359px" %)OK 372 372 377 + 378 + 373 373 == 5.5 Device EUI == 374 374 375 375 Feature: Get or Set the Device EUI. ... ... @@ -388,6 +388,8 @@ 388 388 OK 389 389 ))) 390 390 397 + 398 + 391 391 == 5.6 Network ID == 392 392 393 393 Feature: Get or Set the Network ID.(You can enter this command change only after successful network connection) ... ... @@ -489,6 +489,7 @@ 489 489 ))) 490 490 491 491 500 + 492 492 == 6.4 LoRa® Network Join Mode == 493 493 494 494 Feature: Get or Set the Network Join Mode. (0: ABP, 1: OTAA). ... ... @@ -518,6 +518,7 @@ 518 518 * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1 519 519 520 520 530 + 521 521 == 6.5 LoRa® Network Join Status == 522 522 523 523 Feature: LoRa® Network Join Status. ... ... @@ -534,6 +534,7 @@ 534 534 ))) 535 535 536 536 547 + 537 537 == 6.6 Print Last Received Data in Raw Format == 538 538 539 539 Feature: Print Last Received Data in Raw Format<port:data>. ... ... @@ -550,6 +550,7 @@ 550 550 ))) 551 551 552 552 564 + 553 553 == 6.7 Print Last Received Data in Binary Format == 554 554 555 555 Feature: Print Last Received Data in Binary Format<port:data>. ... ... @@ -566,6 +566,7 @@ 566 566 ))) 567 567 568 568 581 + 569 569 == 6.8 Send Text Data == 570 570 571 571 Feature: Send Text Data<port:data>. ... ... @@ -586,6 +586,7 @@ 586 586 ))) 587 587 588 588 602 + 589 589 == 6.9 Send Hexadecimal Data == 590 590 591 591 Feature: Send hexadecimal data along with the application port. ... ... @@ -605,6 +605,7 @@ 605 605 ))) 606 606 607 607 622 + 608 608 = 7. LoRaWAN network management = 609 609 610 610 == 7.1 Adaptive Data Rate == ... ... @@ -637,6 +637,7 @@ 637 637 * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0. 638 638 639 639 655 + 640 640 == 7.2 LoRa® Class == 641 641 642 642 Feature: Get or Set the Device Class(Currently only support class A, class C). ... ... @@ -656,6 +656,7 @@ 656 656 ))) 657 657 658 658 675 + 659 659 == 7.3 Duty Cycle Setting == 660 660 661 661 Feature: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing. ... ... @@ -675,6 +675,7 @@ 675 675 ))) 676 676 677 677 695 + 678 678 == 7.4 Data Rate == 679 679 680 680 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 ... ... @@ -704,6 +704,7 @@ 704 704 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0. 705 705 706 706 725 + 707 707 == 7.5 Frame Counter Downlink == 708 708 709 709 Feature: Get or Set the Frame Counter Downlink. ... ... @@ -725,6 +725,7 @@ 725 725 ))) 726 726 727 727 747 + 728 728 == 7.6 Frame Counter Uplink == 729 729 730 730 Feature: Get or Set the Frame Counter Uplink. ... ... @@ -744,6 +744,7 @@ 744 744 ))) 745 745 746 746 767 + 747 747 == 7.7 Join Accept Delay1 == 748 748 749 749 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms. ... ... @@ -763,6 +763,7 @@ 763 763 ))) 764 764 765 765 787 + 766 766 == 7.8 Join Accept Delay2 == 767 767 768 768 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms. ... ... @@ -782,6 +782,7 @@ 782 782 ))) 783 783 784 784 807 + 785 785 == 7.9 Public Network Mode == 786 786 787 787 Feature: Get or Set the public network mode. (0: off, 1: on) ... ... @@ -803,6 +803,7 @@ 803 803 ))) 804 804 805 805 829 + 806 806 == 7.10 Receive Delay1 == 807 807 808 808 Feature: Get or Set the delay between the end of the Tx and the Rx Window 1 in ms ... ... @@ -822,6 +822,7 @@ 822 822 ))) 823 823 824 824 849 + 825 825 == 7.11 Receive Delay2 == 826 826 827 827 Feature: Get or Set the delay between the end of the Tx and the Rx Window 2 in ms ... ... @@ -841,6 +841,7 @@ 841 841 ))) 842 842 843 843 869 + 844 844 == 7.12 Rx2 Window Data Rate == 845 845 846 846 Feature: Get or Set the Rx2 window data rate (0-7 corresponding to DR_X) ... ... @@ -860,6 +860,7 @@ 860 860 ))) 861 861 862 862 889 + 863 863 == 7.13 Rx2 Window Frequency == 864 864 865 865 Feature: Get or Set the Rx2 window frequency ... ... @@ -879,6 +879,7 @@ 879 879 ))) 880 880 881 881 909 + 882 882 == 7.14 Transmit Power == 883 883 884 884 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. ) ... ... @@ -905,6 +905,7 @@ 905 905 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+TXP=0. 906 906 907 907 936 + 908 908 == 7.15 RSSI of the Last Received Packet == 909 909 910 910 Feature: Get or Set the Rx2 window frequency ... ... @@ -921,6 +921,7 @@ 921 921 ))) 922 922 923 923 953 + 924 924 == 7.16 SNR of the Last Received Packet == 925 925 926 926 Feature: Get the SNR of the last received packet ... ... @@ -937,6 +937,7 @@ 937 937 ))) 938 938 939 939 970 + 940 940 == 7.17 Application Port == 941 941 942 942 Feature: Get or set the application port. ... ... @@ -965,6 +965,7 @@ 965 965 * **Example 2**: Downlink Payload:** 2305** ~/~/ set the application port to 5 966 966 967 967 999 + 968 968 == 7.18 Single Channel Mode == 969 969 970 970 Feature:Get or Set Frequency (Unit: Hz) for Single Channel Mode. ... ... @@ -982,6 +982,7 @@ 982 982 |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK 983 983 984 984 1017 + 985 985 == 7.19 Eight Channel Mode == 986 986 987 987 Feature: Get or Set eight channels mode,Only for US915,AU915,CN470. ... ... @@ -1012,6 +1012,7 @@ 1012 1012 * **Example 2**: Downlink Payload: 2405 ~/~/ set channel mode to 5 1013 1013 1014 1014 1048 + 1015 1015 == 7.20 Get or Set RXwindows1 timeout == 1016 1016 1017 1017 Feature:Get or Set the number of symbols to detect and timeout from RXwindow1(0 to 255). ... ... @@ -1057,6 +1057,7 @@ 1057 1057 |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK 1058 1058 1059 1059 1094 + 1060 1060 == 7.22 Setting up uplinkdwelltime (as923, au915) == 1061 1061 1062 1062 Feature: Get or Set uplinkdwelltime ... ... @@ -1085,6 +1085,7 @@ 1085 1085 * **Example 2**: Downlink Payload: **2500** ~/~/ set uplinkdwelltime to 0 1086 1086 1087 1087 1123 + 1088 1088 == 7.23 Set Packet Receiving Response Level == 1089 1089 1090 1090 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. ... ... @@ -1127,6 +1127,7 @@ 1127 1127 * **Example 2**: Downlink Payload: **2102** ~/~/ set packet receiving response level to 2 1128 1128 1129 1129 1166 + 1130 1130 = 8. AT Commands Combination = 1131 1131 1132 1132 == 8.1 Set a fix RX2DR for downlink window == ... ... @@ -1135,6 +1135,7 @@ 1135 1135 * **AT+RX2DR=xxxx** ~-~-> Set xxxx to your wanted DataRate 1136 1136 1137 1137 1175 + 1138 1138 == 8.2 Use Downlink Command to set a fix uplink DR == 1139 1139 1140 1140 {{info}}