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. ... ... @@ -356,8 +356,6 @@ 356 356 OK 357 357 ))) 358 358 359 - 360 - 361 361 == 5.4 Device Address == 362 362 363 363 Feature: Get or Set the Device Address. ... ... @@ -376,8 +376,6 @@ 376 376 ))) 377 377 |(% style="width:192px" %)AT+DADDR=A8 40 41 FF|(% style="width:241px" %)Set the Application Session Key.|(% style="width:359px" %)OK 378 378 379 - 380 - 381 381 == 5.5 Device EUI == 382 382 383 383 Feature: Get or Set the Device EUI. ... ... @@ -396,8 +396,6 @@ 396 396 OK 397 397 ))) 398 398 399 - 400 - 401 401 == 5.6 Network ID == 402 402 403 403 Feature: Get or Set the Network ID.(You can enter this command change only after successful network connection) ... ... @@ -462,6 +462,8 @@ 462 462 * Example 1: Downlink Payload: 0501 ~/~/ Set AT+CFM=1 463 463 * Example 2: Downlink Payload: 0500 ~/~/ Set AT+CFM=0 464 464 455 + 456 + 465 465 == 6.2 Confirm Status == 466 466 467 467 Feature: Get confirmation status of the last AT+SEND (0-1). ... ... @@ -477,6 +477,8 @@ 477 477 OK 478 478 ))) 479 479 472 + 473 + 480 480 == 6.3 Join LoRa® Network == 481 481 482 482 Feature: Join network. ... ... @@ -494,6 +494,7 @@ 494 494 While Error in format, return AT_BUSY_ERROR 495 495 ))) 496 496 491 + 497 497 == 6.4 LoRa® Network Join Mode == 498 498 499 499 Feature: Get or Set the Network Join Mode. (0: ABP, 1: OTAA). ... ... @@ -522,6 +522,7 @@ 522 522 * **Example 1: **Downlink Payload: **2000** ~/~/ Set AT+NJM=O 523 523 * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1 524 524 520 + 525 525 == 6.5 LoRa® Network Join Status == 526 526 527 527 Feature: LoRa® Network Join Status. ... ... @@ -537,6 +537,7 @@ 537 537 OK 538 538 ))) 539 539 536 + 540 540 == 6.6 Print Last Received Data in Raw Format == 541 541 542 542 Feature: Print Last Received Data in Raw Format<port:data>. ... ... @@ -552,6 +552,7 @@ 552 552 OK 553 553 ))) 554 554 552 + 555 555 == 6.7 Print Last Received Data in Binary Format == 556 556 557 557 Feature: Print Last Received Data in Binary Format<port:data>. ... ... @@ -567,6 +567,7 @@ 567 567 OK 568 568 ))) 569 569 568 + 570 570 == 6.8 Send Text Data == 571 571 572 572 Feature: Send Text Data<port:data>. ... ... @@ -586,6 +586,7 @@ 586 586 587 587 ))) 588 588 588 + 589 589 == 6.9 Send Hexadecimal Data == 590 590 591 591 Feature: Send hexadecimal data along with the application port. ... ... @@ -604,6 +604,7 @@ 604 604 605 605 ))) 606 606 607 + 607 607 = 7. LoRaWAN network management = 608 608 609 609 == 7.1 Adaptive Data Rate == ... ... @@ -635,6 +635,7 @@ 635 635 * **Example 1**: Downlink Payload: **2201** ~/~/ Set AT+ADR=1. 636 636 * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0. 637 637 639 + 638 638 == 7.2 LoRa® Class == 639 639 640 640 Feature: Get or Set the Device Class(Currently only support class A, class C). ... ... @@ -653,6 +653,7 @@ 653 653 654 654 ))) 655 655 658 + 656 656 == 7.3 Duty Cycle Setting == 657 657 658 658 Feature: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing. ... ... @@ -671,6 +671,7 @@ 671 671 672 672 ))) 673 673 677 + 674 674 == 7.4 Data Rate == 675 675 676 676 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 ... ... @@ -699,6 +699,7 @@ 699 699 * **Example 1**: Downlink Payload: **220001FF** ~/~/ Set AT+DR=1. 700 700 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0. 701 701 706 + 702 702 == 7.5 Frame Counter Downlink == 703 703 704 704 Feature: Get or Set the Frame Counter Downlink. ... ... @@ -719,6 +719,7 @@ 719 719 720 720 ))) 721 721 727 + 722 722 == 7.6 Frame Counter Uplink == 723 723 724 724 Feature: Get or Set the Frame Counter Uplink. ... ... @@ -737,6 +737,7 @@ 737 737 738 738 ))) 739 739 746 + 740 740 == 7.7 Join Accept Delay1 == 741 741 742 742 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms. ... ... @@ -755,6 +755,7 @@ 755 755 756 756 ))) 757 757 765 + 758 758 == 7.8 Join Accept Delay2 == 759 759 760 760 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms. ... ... @@ -773,6 +773,7 @@ 773 773 774 774 ))) 775 775 784 + 776 776 == 7.9 Public Network Mode == 777 777 778 778 Feature: Get or Set the public network mode. (0: off, 1: on) ... ... @@ -793,6 +793,7 @@ 793 793 794 794 ))) 795 795 805 + 796 796 == 7.10 Receive Delay1 == 797 797 798 798 Feature: Get or Set the delay between the end of the Tx and the Rx Window 1 in ms ... ... @@ -811,6 +811,7 @@ 811 811 812 812 ))) 813 813 824 + 814 814 == 7.11 Receive Delay2 == 815 815 816 816 Feature: Get or Set the delay between the end of the Tx and the Rx Window 2 in ms ... ... @@ -829,6 +829,7 @@ 829 829 830 830 ))) 831 831 843 + 832 832 == 7.12 Rx2 Window Data Rate == 833 833 834 834 Feature: Get or Set the Rx2 window data rate (0-7 corresponding to DR_X) ... ... @@ -847,6 +847,7 @@ 847 847 848 848 ))) 849 849 862 + 850 850 == 7.13 Rx2 Window Frequency == 851 851 852 852 Feature: Get or Set the Rx2 window frequency ... ... @@ -865,6 +865,7 @@ 865 865 866 866 ))) 867 867 881 + 868 868 == 7.14 Transmit Power == 869 869 870 870 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. ) ... ... @@ -890,6 +890,7 @@ 890 890 * **Example 1**: Downlink Payload: **22000102** ~/~/ Set AT+TXP=2. 891 891 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+TXP=0. 892 892 907 + 893 893 == 7.15 RSSI of the Last Received Packet == 894 894 895 895 Feature: Get or Set the Rx2 window frequency ... ... @@ -905,6 +905,7 @@ 905 905 OK 906 906 ))) 907 907 923 + 908 908 == 7.16 SNR of the Last Received Packet == 909 909 910 910 Feature: Get the SNR of the last received packet ... ... @@ -920,6 +920,7 @@ 920 920 OK 921 921 ))) 922 922 939 + 923 923 == 7.17 Application Port == 924 924 925 925 Feature: Get or set the application port. ... ... @@ -947,6 +947,7 @@ 947 947 * **Example 1**: Downlink Payload: **2301** ~/~/ set the application port to 1 948 948 * **Example 2**: Downlink Payload:** 2305** ~/~/ set the application port to 5 949 949 967 + 950 950 == 7.18 Single Channel Mode == 951 951 952 952 Feature:Get or Set Frequency (Unit: Hz) for Single Channel Mode. ... ... @@ -963,6 +963,7 @@ 963 963 ))) 964 964 |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK 965 965 984 + 966 966 == 7.19 Eight Channel Mode == 967 967 968 968 Feature: Get or Set eight channels mode,Only for US915,AU915,CN470. ... ... @@ -992,6 +992,7 @@ 992 992 * **Example 1**: Downlink Payload: 2401 ~/~/ set channel mode to 1 993 993 * **Example 2**: Downlink Payload: 2405 ~/~/ set channel mode to 5 994 994 1014 + 995 995 == 7.20 Get or Set RXwindows1 timeout == 996 996 997 997 Feature:Get or Set the number of symbols to detect and timeout from RXwindow1(0 to 255). ... ... @@ -1036,6 +1036,7 @@ 1036 1036 ))) 1037 1037 |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK 1038 1038 1059 + 1039 1039 == 7.22 Setting up uplinkdwelltime (as923, au915) == 1040 1040 1041 1041 Feature: Get or Set uplinkdwelltime ... ... @@ -1063,6 +1063,7 @@ 1063 1063 * **Example 1**: Downlink Payload: **2501** ~/~/ set uplinkdwelltime to 1 1064 1064 * **Example 2**: Downlink Payload: **2500** ~/~/ set uplinkdwelltime to 0 1065 1065 1087 + 1066 1066 == 7.23 Set Packet Receiving Response Level == 1067 1067 1068 1068 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. ... ... @@ -1104,6 +1104,7 @@ 1104 1104 * **Example 1**: Downlink Payload: **2101** ~/~/ set packet receiving response level to 1 1105 1105 * **Example 2**: Downlink Payload: **2102** ~/~/ set packet receiving response level to 2 1106 1106 1129 + 1107 1107 = 8. AT Commands Combination = 1108 1108 1109 1109 == 8.1 Set a fix RX2DR for downlink window == ... ... @@ -1111,6 +1111,7 @@ 1111 1111 * **AT+ADR=0 **~-~-> Disable ADR first 1112 1112 * **AT+RX2DR=xxxx** ~-~-> Set xxxx to your wanted DataRate 1113 1113 1137 + 1114 1114 == 8.2 Use Downlink Command to set a fix uplink DR == 1115 1115 1116 1116 {{info}}