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. ... ... @@ -380,6 +380,8 @@ 380 380 ))) 381 381 |(% style="width:192px" %)AT+DADDR=A8 40 41 FF|(% style="width:241px" %)Set the Application Session Key.|(% style="width:359px" %)OK 382 382 377 + 378 + 383 383 == 5.5 Device EUI == 384 384 385 385 Feature: Get or Set the Device EUI. ... ... @@ -398,6 +398,8 @@ 398 398 OK 399 399 ))) 400 400 397 + 398 + 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) ... ... @@ -414,6 +414,8 @@ 414 414 ))) 415 415 |(% style="width:191px" %)AT+NWKID=A8 40 41 FF|(% style="width:153px" %)Set the Network ID.|(% style="width:101px" %)OK 416 416 415 + 416 + 417 417 == 5.7 Network Session Key == 418 418 419 419 Feature: Get or Set the Network Session Key ... ... @@ -430,6 +430,8 @@ 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 + 433 433 = 6. Joining and sending date on LoRaWAN network = 434 434 435 435 == 6.1 Confirm Mode == ... ... @@ -458,6 +458,8 @@ 458 458 * Example 1: Downlink Payload: 0501 ~/~/ Set AT+CFM=1 459 459 * Example 2: Downlink Payload: 0500 ~/~/ Set AT+CFM=0 460 460 463 + 464 + 461 461 == 6.2 Confirm Status == 462 462 463 463 Feature: Get confirmation status of the last AT+SEND (0-1). ... ... @@ -473,6 +473,8 @@ 473 473 OK 474 474 ))) 475 475 480 + 481 + 476 476 == 6.3 Join LoRa® Network == 477 477 478 478 Feature: Join network. ... ... @@ -490,6 +490,7 @@ 490 490 While Error in format, return AT_BUSY_ERROR 491 491 ))) 492 492 499 + 493 493 == 6.4 LoRa® Network Join Mode == 494 494 495 495 Feature: Get or Set the Network Join Mode. (0: ABP, 1: OTAA). ... ... @@ -518,6 +518,7 @@ 518 518 * **Example 1: **Downlink Payload: **2000** ~/~/ Set AT+NJM=O 519 519 * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1 520 520 528 + 521 521 == 6.5 LoRa® Network Join Status == 522 522 523 523 Feature: LoRa® Network Join Status. ... ... @@ -533,6 +533,7 @@ 533 533 OK 534 534 ))) 535 535 544 + 536 536 == 6.6 Print Last Received Data in Raw Format == 537 537 538 538 Feature: Print Last Received Data in Raw Format<port:data>. ... ... @@ -548,6 +548,7 @@ 548 548 OK 549 549 ))) 550 550 560 + 551 551 == 6.7 Print Last Received Data in Binary Format == 552 552 553 553 Feature: Print Last Received Data in Binary Format<port:data>. ... ... @@ -563,6 +563,7 @@ 563 563 OK 564 564 ))) 565 565 576 + 566 566 == 6.8 Send Text Data == 567 567 568 568 Feature: Send Text Data<port:data>. ... ... @@ -582,6 +582,7 @@ 582 582 583 583 ))) 584 584 596 + 585 585 == 6.9 Send Hexadecimal Data == 586 586 587 587 Feature: Send hexadecimal data along with the application port. ... ... @@ -600,6 +600,7 @@ 600 600 601 601 ))) 602 602 615 + 603 603 = 7. LoRaWAN network management = 604 604 605 605 == 7.1 Adaptive Data Rate == ... ... @@ -631,6 +631,7 @@ 631 631 * **Example 1**: Downlink Payload: **2201** ~/~/ Set AT+ADR=1. 632 632 * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0. 633 633 647 + 634 634 == 7.2 LoRa® Class == 635 635 636 636 Feature: Get or Set the Device Class(Currently only support class A, class C). ... ... @@ -649,6 +649,7 @@ 649 649 650 650 ))) 651 651 666 + 652 652 == 7.3 Duty Cycle Setting == 653 653 654 654 Feature: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing. ... ... @@ -667,6 +667,7 @@ 667 667 668 668 ))) 669 669 685 + 670 670 == 7.4 Data Rate == 671 671 672 672 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 ... ... @@ -695,6 +695,7 @@ 695 695 * **Example 1**: Downlink Payload: **220001FF** ~/~/ Set AT+DR=1. 696 696 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0. 697 697 714 + 698 698 == 7.5 Frame Counter Downlink == 699 699 700 700 Feature: Get or Set the Frame Counter Downlink. ... ... @@ -715,6 +715,7 @@ 715 715 716 716 ))) 717 717 735 + 718 718 == 7.6 Frame Counter Uplink == 719 719 720 720 Feature: Get or Set the Frame Counter Uplink. ... ... @@ -733,6 +733,7 @@ 733 733 734 734 ))) 735 735 754 + 736 736 == 7.7 Join Accept Delay1 == 737 737 738 738 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms. ... ... @@ -751,6 +751,7 @@ 751 751 752 752 ))) 753 753 773 + 754 754 == 7.8 Join Accept Delay2 == 755 755 756 756 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms. ... ... @@ -769,6 +769,7 @@ 769 769 770 770 ))) 771 771 792 + 772 772 == 7.9 Public Network Mode == 773 773 774 774 Feature: Get or Set the public network mode. (0: off, 1: on) ... ... @@ -789,6 +789,7 @@ 789 789 790 790 ))) 791 791 813 + 792 792 == 7.10 Receive Delay1 == 793 793 794 794 Feature: Get or Set the delay between the end of the Tx and the Rx Window 1 in ms ... ... @@ -807,6 +807,7 @@ 807 807 808 808 ))) 809 809 832 + 810 810 == 7.11 Receive Delay2 == 811 811 812 812 Feature: Get or Set the delay between the end of the Tx and the Rx Window 2 in ms ... ... @@ -825,6 +825,7 @@ 825 825 826 826 ))) 827 827 851 + 828 828 == 7.12 Rx2 Window Data Rate == 829 829 830 830 Feature: Get or Set the Rx2 window data rate (0-7 corresponding to DR_X) ... ... @@ -843,6 +843,7 @@ 843 843 844 844 ))) 845 845 870 + 846 846 == 7.13 Rx2 Window Frequency == 847 847 848 848 Feature: Get or Set the Rx2 window frequency ... ... @@ -861,6 +861,7 @@ 861 861 862 862 ))) 863 863 889 + 864 864 == 7.14 Transmit Power == 865 865 866 866 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. ) ... ... @@ -886,6 +886,7 @@ 886 886 * **Example 1**: Downlink Payload: **22000102** ~/~/ Set AT+TXP=2. 887 887 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+TXP=0. 888 888 915 + 889 889 == 7.15 RSSI of the Last Received Packet == 890 890 891 891 Feature: Get or Set the Rx2 window frequency ... ... @@ -901,6 +901,7 @@ 901 901 OK 902 902 ))) 903 903 931 + 904 904 == 7.16 SNR of the Last Received Packet == 905 905 906 906 Feature: Get the SNR of the last received packet ... ... @@ -916,6 +916,7 @@ 916 916 OK 917 917 ))) 918 918 947 + 919 919 == 7.17 Application Port == 920 920 921 921 Feature: Get or set the application port. ... ... @@ -943,6 +943,7 @@ 943 943 * **Example 1**: Downlink Payload: **2301** ~/~/ set the application port to 1 944 944 * **Example 2**: Downlink Payload:** 2305** ~/~/ set the application port to 5 945 945 975 + 946 946 == 7.18 Single Channel Mode == 947 947 948 948 Feature:Get or Set Frequency (Unit: Hz) for Single Channel Mode. ... ... @@ -959,6 +959,7 @@ 959 959 ))) 960 960 |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK 961 961 992 + 962 962 == 7.19 Eight Channel Mode == 963 963 964 964 Feature: Get or Set eight channels mode,Only for US915,AU915,CN470. ... ... @@ -988,6 +988,7 @@ 988 988 * **Example 1**: Downlink Payload: 2401 ~/~/ set channel mode to 1 989 989 * **Example 2**: Downlink Payload: 2405 ~/~/ set channel mode to 5 990 990 1022 + 991 991 == 7.20 Get or Set RXwindows1 timeout == 992 992 993 993 Feature:Get or Set the number of symbols to detect and timeout from RXwindow1(0 to 255). ... ... @@ -1032,6 +1032,7 @@ 1032 1032 ))) 1033 1033 |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK 1034 1034 1067 + 1035 1035 == 7.22 Setting up uplinkdwelltime (as923, au915) == 1036 1036 1037 1037 Feature: Get or Set uplinkdwelltime ... ... @@ -1059,6 +1059,7 @@ 1059 1059 * **Example 1**: Downlink Payload: **2501** ~/~/ set uplinkdwelltime to 1 1060 1060 * **Example 2**: Downlink Payload: **2500** ~/~/ set uplinkdwelltime to 0 1061 1061 1095 + 1062 1062 == 7.23 Set Packet Receiving Response Level == 1063 1063 1064 1064 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. ... ... @@ -1100,6 +1100,7 @@ 1100 1100 * **Example 1**: Downlink Payload: **2101** ~/~/ set packet receiving response level to 1 1101 1101 * **Example 2**: Downlink Payload: **2102** ~/~/ set packet receiving response level to 2 1102 1102 1137 + 1103 1103 = 8. AT Commands Combination = 1104 1104 1105 1105 == 8.1 Set a fix RX2DR for downlink window == ... ... @@ -1107,6 +1107,7 @@ 1107 1107 * **AT+ADR=0 **~-~-> Disable ADR first 1108 1108 * **AT+RX2DR=xxxx** ~-~-> Set xxxx to your wanted DataRate 1109 1109 1145 + 1110 1110 == 8.2 Use Downlink Command to set a fix uplink DR == 1111 1111 1112 1112 {{info}}