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,6 +3,7 @@ 3 3 {{toc/}} 4 4 5 5 6 + 6 6 = 1. Introduction = 7 7 8 8 Dragino LoRaWAN End Node support two types of AT Commands and Downlink Commands: ... ... @@ -19,11 +19,10 @@ 19 19 20 20 * 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/]] 21 21 * 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: 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]].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]] 24 24 ** See use note for more serves [[Servers Note>>doc:Main.WebHome]](IoT LoRaWAN Server) 25 25 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,7 +98,6 @@ 98 98 ))) 99 99 100 100 101 - 102 102 = 4. System Management Commands = 103 103 104 104 == 4.1 Change Uplink Interval == ... ... @@ -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. ... ... @@ -354,8 +354,6 @@ 354 354 OK 355 355 ))) 356 356 357 - 358 - 359 359 == 5.4 Device Address == 360 360 361 361 Feature: Get or Set the Device Address. ... ... @@ -374,8 +374,6 @@ 374 374 ))) 375 375 |(% style="width:192px" %)AT+DADDR=A8 40 41 FF|(% style="width:241px" %)Set the Application Session Key.|(% style="width:359px" %)OK 376 376 377 - 378 - 379 379 == 5.5 Device EUI == 380 380 381 381 Feature: Get or Set the Device EUI. ... ... @@ -394,8 +394,6 @@ 394 394 OK 395 395 ))) 396 396 397 - 398 - 399 399 == 5.6 Network ID == 400 400 401 401 Feature: Get or Set the Network ID.(You can enter this command change only after successful network connection) ... ... @@ -412,8 +412,6 @@ 412 412 ))) 413 413 |(% style="width:191px" %)AT+NWKID=A8 40 41 FF|(% style="width:153px" %)Set the Network ID.|(% style="width:101px" %)OK 414 414 415 - 416 - 417 417 == 5.7 Network Session Key == 418 418 419 419 Feature: Get or Set the Network Session Key ... ... @@ -430,8 +430,6 @@ 430 430 ))) 431 431 |(% style="width:455px" %)AT+NWKSKEY=A8 40 41 FF FF 12 34 56 00 01 02 04 05 06 06 07|(% style="width:215px" %)Set the Network Session Key.|(% style="width:343px" %)OK 432 432 433 - 434 - 435 435 = 6. Joining and sending date on LoRaWAN network = 436 436 437 437 == 6.1 Confirm Mode == ... ... @@ -497,7 +497,6 @@ 497 497 ))) 498 498 499 499 500 - 501 501 == 6.4 LoRa® Network Join Mode == 502 502 503 503 Feature: Get or Set the Network Join Mode. (0: ABP, 1: OTAA). ... ... @@ -527,7 +527,6 @@ 527 527 * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1 528 528 529 529 530 - 531 531 == 6.5 LoRa® Network Join Status == 532 532 533 533 Feature: LoRa® Network Join Status. ... ... @@ -544,7 +544,6 @@ 544 544 ))) 545 545 546 546 547 - 548 548 == 6.6 Print Last Received Data in Raw Format == 549 549 550 550 Feature: Print Last Received Data in Raw Format<port:data>. ... ... @@ -561,7 +561,6 @@ 561 561 ))) 562 562 563 563 564 - 565 565 == 6.7 Print Last Received Data in Binary Format == 566 566 567 567 Feature: Print Last Received Data in Binary Format<port:data>. ... ... @@ -578,7 +578,6 @@ 578 578 ))) 579 579 580 580 581 - 582 582 == 6.8 Send Text Data == 583 583 584 584 Feature: Send Text Data<port:data>. ... ... @@ -599,7 +599,6 @@ 599 599 ))) 600 600 601 601 602 - 603 603 == 6.9 Send Hexadecimal Data == 604 604 605 605 Feature: Send hexadecimal data along with the application port. ... ... @@ -619,7 +619,6 @@ 619 619 ))) 620 620 621 621 622 - 623 623 = 7. LoRaWAN network management = 624 624 625 625 == 7.1 Adaptive Data Rate == ... ... @@ -652,7 +652,6 @@ 652 652 * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0. 653 653 654 654 655 - 656 656 == 7.2 LoRa® Class == 657 657 658 658 Feature: Get or Set the Device Class(Currently only support class A, class C). ... ... @@ -672,7 +672,6 @@ 672 672 ))) 673 673 674 674 675 - 676 676 == 7.3 Duty Cycle Setting == 677 677 678 678 Feature: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing. ... ... @@ -692,7 +692,6 @@ 692 692 ))) 693 693 694 694 695 - 696 696 == 7.4 Data Rate == 697 697 698 698 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 ... ... @@ -722,7 +722,6 @@ 722 722 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0. 723 723 724 724 725 - 726 726 == 7.5 Frame Counter Downlink == 727 727 728 728 Feature: Get or Set the Frame Counter Downlink. ... ... @@ -744,7 +744,6 @@ 744 744 ))) 745 745 746 746 747 - 748 748 == 7.6 Frame Counter Uplink == 749 749 750 750 Feature: Get or Set the Frame Counter Uplink. ... ... @@ -764,7 +764,6 @@ 764 764 ))) 765 765 766 766 767 - 768 768 == 7.7 Join Accept Delay1 == 769 769 770 770 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms. ... ... @@ -784,7 +784,6 @@ 784 784 ))) 785 785 786 786 787 - 788 788 == 7.8 Join Accept Delay2 == 789 789 790 790 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms. ... ... @@ -804,7 +804,6 @@ 804 804 ))) 805 805 806 806 807 - 808 808 == 7.9 Public Network Mode == 809 809 810 810 Feature: Get or Set the public network mode. (0: off, 1: on) ... ... @@ -826,7 +826,6 @@ 826 826 ))) 827 827 828 828 829 - 830 830 == 7.10 Receive Delay1 == 831 831 832 832 Feature: Get or Set the delay between the end of the Tx and the Rx Window 1 in ms ... ... @@ -846,7 +846,6 @@ 846 846 ))) 847 847 848 848 849 - 850 850 == 7.11 Receive Delay2 == 851 851 852 852 Feature: Get or Set the delay between the end of the Tx and the Rx Window 2 in ms ... ... @@ -866,7 +866,6 @@ 866 866 ))) 867 867 868 868 869 - 870 870 == 7.12 Rx2 Window Data Rate == 871 871 872 872 Feature: Get or Set the Rx2 window data rate (0-7 corresponding to DR_X) ... ... @@ -886,7 +886,6 @@ 886 886 ))) 887 887 888 888 889 - 890 890 == 7.13 Rx2 Window Frequency == 891 891 892 892 Feature: Get or Set the Rx2 window frequency ... ... @@ -906,7 +906,6 @@ 906 906 ))) 907 907 908 908 909 - 910 910 == 7.14 Transmit Power == 911 911 912 912 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. ) ... ... @@ -933,7 +933,6 @@ 933 933 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+TXP=0. 934 934 935 935 936 - 937 937 == 7.15 RSSI of the Last Received Packet == 938 938 939 939 Feature: Get or Set the Rx2 window frequency ... ... @@ -950,7 +950,6 @@ 950 950 ))) 951 951 952 952 953 - 954 954 == 7.16 SNR of the Last Received Packet == 955 955 956 956 Feature: Get the SNR of the last received packet ... ... @@ -967,7 +967,6 @@ 967 967 ))) 968 968 969 969 970 - 971 971 == 7.17 Application Port == 972 972 973 973 Feature: Get or set the application port. ... ... @@ -996,7 +996,6 @@ 996 996 * **Example 2**: Downlink Payload:** 2305** ~/~/ set the application port to 5 997 997 998 998 999 - 1000 1000 == 7.18 Single Channel Mode == 1001 1001 1002 1002 Feature:Get or Set Frequency (Unit: Hz) for Single Channel Mode. ... ... @@ -1014,7 +1014,6 @@ 1014 1014 |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK 1015 1015 1016 1016 1017 - 1018 1018 == 7.19 Eight Channel Mode == 1019 1019 1020 1020 Feature: Get or Set eight channels mode,Only for US915,AU915,CN470. ... ... @@ -1045,7 +1045,6 @@ 1045 1045 * **Example 2**: Downlink Payload: 2405 ~/~/ set channel mode to 5 1046 1046 1047 1047 1048 - 1049 1049 == 7.20 Get or Set RXwindows1 timeout == 1050 1050 1051 1051 Feature:Get or Set the number of symbols to detect and timeout from RXwindow1(0 to 255). ... ... @@ -1091,7 +1091,6 @@ 1091 1091 |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK 1092 1092 1093 1093 1094 - 1095 1095 == 7.22 Setting up uplinkdwelltime (as923, au915) == 1096 1096 1097 1097 Feature: Get or Set uplinkdwelltime ... ... @@ -1120,7 +1120,6 @@ 1120 1120 * **Example 2**: Downlink Payload: **2500** ~/~/ set uplinkdwelltime to 0 1121 1121 1122 1122 1123 - 1124 1124 == 7.23 Set Packet Receiving Response Level == 1125 1125 1126 1126 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. ... ... @@ -1163,7 +1163,6 @@ 1163 1163 * **Example 2**: Downlink Payload: **2102** ~/~/ set packet receiving response level to 2 1164 1164 1165 1165 1166 - 1167 1167 = 8. AT Commands Combination = 1168 1168 1169 1169 == 8.1 Set a fix RX2DR for downlink window == ... ... @@ -1172,7 +1172,6 @@ 1172 1172 * **AT+RX2DR=xxxx** ~-~-> Set xxxx to your wanted DataRate 1173 1173 1174 1174 1175 - 1176 1176 == 8.2 Use Downlink Command to set a fix uplink DR == 1177 1177 1178 1178 {{info}}