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
-
... ... @@ -24,8 +24,6 @@ 24 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" %) ... ... @@ -100,7 +100,6 @@ 100 100 ))) 101 101 102 102 103 - 104 104 = 4. System Management Commands = 105 105 106 106 == 4.1 Change Uplink Interval == ... ... @@ -140,7 +140,6 @@ 140 140 * **Example 2**: Downlink Payload:** 0100003C** ~/~/ Set Transmit Interval (TDC) = 60 seconds 141 141 142 142 143 - 144 144 == 4.2 Reboot End Node == 145 145 146 146 Feature: Reboot End Node to perform a new OTAA or ABP Join. ... ... @@ -303,7 +303,6 @@ 303 303 ))) 304 304 305 305 306 - 307 307 = 5. Keys, IDs and EUIs management = 308 308 309 309 == 5.1 Application EUI == ... ... @@ -323,7 +323,6 @@ 323 323 |(% style="width:305px" %)AT+APPEUI=00 b3 d5 7e f0 00 4d 34|(% style="width:186px" %)Set the Application EUI|(% style="width:191px" %)OK 324 324 325 325 326 - 327 327 == 5.2 Application Key == 328 328 329 329 Feature: Get or Set the Application Key. ... ... @@ -340,8 +340,6 @@ 340 340 ))) 341 341 |(% 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 342 342 343 - 344 - 345 345 == 5.3 Application Session Key == 346 346 347 347 Feature: Get or Set the Application Session Key. ... ... @@ -418,6 +418,8 @@ 418 418 ))) 419 419 |(% style="width:191px" %)AT+NWKID=A8 40 41 FF|(% style="width:153px" %)Set the Network ID.|(% style="width:101px" %)OK 420 420 413 + 414 + 421 421 == 5.7 Network Session Key == 422 422 423 423 Feature: Get or Set the Network Session Key ... ... @@ -434,6 +434,8 @@ 434 434 ))) 435 435 |(% 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 436 436 431 + 432 + 437 437 = 6. Joining and sending date on LoRaWAN network = 438 438 439 439 == 6.1 Confirm Mode == ... ... @@ -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 461 + 462 + 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 478 + 479 + 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 497 + 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 526 + 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 542 + 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 558 + 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 574 + 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 594 + 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 613 + 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 645 + 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 664 + 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 683 + 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 712 + 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 733 + 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 752 + 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 771 + 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 790 + 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 811 + 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 830 + 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 849 + 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 868 + 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 887 + 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 913 + 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 929 + 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 945 + 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 973 + 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 990 + 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 1020 + 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 1065 + 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 1093 + 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 1135 + 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 1143 + 1114 1114 == 8.2 Use Downlink Command to set a fix uplink DR == 1115 1115 1116 1116 {{info}}