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 == ... ... @@ -139,6 +139,7 @@ 139 139 * **Example 1**: Downlink Payload:** 0100001E** ~/~/ Set Transmit Interval (TDC) = 30 seconds 140 140 * **Example 2**: Downlink Payload:** 0100003C** ~/~/ Set Transmit Interval (TDC) = 60 seconds 141 141 139 + 142 142 == 4.2 Reboot End Node == 143 143 144 144 Feature: Reboot End Node to perform a new OTAA or ABP Join. ... ... @@ -300,6 +300,7 @@ 300 300 OK 301 301 ))) 302 302 301 + 303 303 = 5. Keys, IDs and EUIs management = 304 304 305 305 == 5.1 Application EUI == ... ... @@ -318,6 +318,7 @@ 318 318 ))) 319 319 |(% style="width:305px" %)AT+APPEUI=00 b3 d5 7e f0 00 4d 34|(% style="width:186px" %)Set the Application EUI|(% style="width:191px" %)OK 320 320 320 + 321 321 == 5.2 Application Key == 322 322 323 323 Feature: Get or Set the Application Key. ... ... @@ -334,6 +334,8 @@ 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 337 + 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) ... ... @@ -404,6 +404,8 @@ 404 404 ))) 405 405 |(% style="width:191px" %)AT+NWKID=A8 40 41 FF|(% style="width:153px" %)Set the Network ID.|(% style="width:101px" %)OK 406 406 415 + 416 + 407 407 == 5.7 Network Session Key == 408 408 409 409 Feature: Get or Set the Network Session Key ... ... @@ -420,6 +420,8 @@ 420 420 ))) 421 421 |(% 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 422 422 433 + 434 + 423 423 = 6. Joining and sending date on LoRaWAN network = 424 424 425 425 == 6.1 Confirm Mode == ... ... @@ -448,6 +448,8 @@ 448 448 * Example 1: Downlink Payload: 0501 ~/~/ Set AT+CFM=1 449 449 * Example 2: Downlink Payload: 0500 ~/~/ Set AT+CFM=0 450 450 463 + 464 + 451 451 == 6.2 Confirm Status == 452 452 453 453 Feature: Get confirmation status of the last AT+SEND (0-1). ... ... @@ -463,6 +463,8 @@ 463 463 OK 464 464 ))) 465 465 480 + 481 + 466 466 == 6.3 Join LoRa® Network == 467 467 468 468 Feature: Join network. ... ... @@ -480,6 +480,7 @@ 480 480 While Error in format, return AT_BUSY_ERROR 481 481 ))) 482 482 499 + 483 483 == 6.4 LoRa® Network Join Mode == 484 484 485 485 Feature: Get or Set the Network Join Mode. (0: ABP, 1: OTAA). ... ... @@ -508,6 +508,7 @@ 508 508 * **Example 1: **Downlink Payload: **2000** ~/~/ Set AT+NJM=O 509 509 * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1 510 510 528 + 511 511 == 6.5 LoRa® Network Join Status == 512 512 513 513 Feature: LoRa® Network Join Status. ... ... @@ -523,6 +523,7 @@ 523 523 OK 524 524 ))) 525 525 544 + 526 526 == 6.6 Print Last Received Data in Raw Format == 527 527 528 528 Feature: Print Last Received Data in Raw Format<port:data>. ... ... @@ -538,6 +538,7 @@ 538 538 OK 539 539 ))) 540 540 560 + 541 541 == 6.7 Print Last Received Data in Binary Format == 542 542 543 543 Feature: Print Last Received Data in Binary Format<port:data>. ... ... @@ -553,6 +553,7 @@ 553 553 OK 554 554 ))) 555 555 576 + 556 556 == 6.8 Send Text Data == 557 557 558 558 Feature: Send Text Data<port:data>. ... ... @@ -572,6 +572,7 @@ 572 572 573 573 ))) 574 574 596 + 575 575 == 6.9 Send Hexadecimal Data == 576 576 577 577 Feature: Send hexadecimal data along with the application port. ... ... @@ -590,6 +590,7 @@ 590 590 591 591 ))) 592 592 615 + 593 593 = 7. LoRaWAN network management = 594 594 595 595 == 7.1 Adaptive Data Rate == ... ... @@ -621,6 +621,7 @@ 621 621 * **Example 1**: Downlink Payload: **2201** ~/~/ Set AT+ADR=1. 622 622 * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0. 623 623 647 + 624 624 == 7.2 LoRa® Class == 625 625 626 626 Feature: Get or Set the Device Class(Currently only support class A, class C). ... ... @@ -639,6 +639,7 @@ 639 639 640 640 ))) 641 641 666 + 642 642 == 7.3 Duty Cycle Setting == 643 643 644 644 Feature: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing. ... ... @@ -657,6 +657,7 @@ 657 657 658 658 ))) 659 659 685 + 660 660 == 7.4 Data Rate == 661 661 662 662 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 ... ... @@ -685,6 +685,7 @@ 685 685 * **Example 1**: Downlink Payload: **220001FF** ~/~/ Set AT+DR=1. 686 686 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0. 687 687 714 + 688 688 == 7.5 Frame Counter Downlink == 689 689 690 690 Feature: Get or Set the Frame Counter Downlink. ... ... @@ -705,6 +705,7 @@ 705 705 706 706 ))) 707 707 735 + 708 708 == 7.6 Frame Counter Uplink == 709 709 710 710 Feature: Get or Set the Frame Counter Uplink. ... ... @@ -723,6 +723,7 @@ 723 723 724 724 ))) 725 725 754 + 726 726 == 7.7 Join Accept Delay1 == 727 727 728 728 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms. ... ... @@ -741,6 +741,7 @@ 741 741 742 742 ))) 743 743 773 + 744 744 == 7.8 Join Accept Delay2 == 745 745 746 746 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms. ... ... @@ -759,6 +759,7 @@ 759 759 760 760 ))) 761 761 792 + 762 762 == 7.9 Public Network Mode == 763 763 764 764 Feature: Get or Set the public network mode. (0: off, 1: on) ... ... @@ -779,6 +779,7 @@ 779 779 780 780 ))) 781 781 813 + 782 782 == 7.10 Receive Delay1 == 783 783 784 784 Feature: Get or Set the delay between the end of the Tx and the Rx Window 1 in ms ... ... @@ -797,6 +797,7 @@ 797 797 798 798 ))) 799 799 832 + 800 800 == 7.11 Receive Delay2 == 801 801 802 802 Feature: Get or Set the delay between the end of the Tx and the Rx Window 2 in ms ... ... @@ -815,6 +815,7 @@ 815 815 816 816 ))) 817 817 851 + 818 818 == 7.12 Rx2 Window Data Rate == 819 819 820 820 Feature: Get or Set the Rx2 window data rate (0-7 corresponding to DR_X) ... ... @@ -833,6 +833,7 @@ 833 833 834 834 ))) 835 835 870 + 836 836 == 7.13 Rx2 Window Frequency == 837 837 838 838 Feature: Get or Set the Rx2 window frequency ... ... @@ -851,6 +851,7 @@ 851 851 852 852 ))) 853 853 889 + 854 854 == 7.14 Transmit Power == 855 855 856 856 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. ) ... ... @@ -876,6 +876,7 @@ 876 876 * **Example 1**: Downlink Payload: **22000102** ~/~/ Set AT+TXP=2. 877 877 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+TXP=0. 878 878 915 + 879 879 == 7.15 RSSI of the Last Received Packet == 880 880 881 881 Feature: Get or Set the Rx2 window frequency ... ... @@ -891,6 +891,7 @@ 891 891 OK 892 892 ))) 893 893 931 + 894 894 == 7.16 SNR of the Last Received Packet == 895 895 896 896 Feature: Get the SNR of the last received packet ... ... @@ -906,6 +906,7 @@ 906 906 OK 907 907 ))) 908 908 947 + 909 909 == 7.17 Application Port == 910 910 911 911 Feature: Get or set the application port. ... ... @@ -933,6 +933,7 @@ 933 933 * **Example 1**: Downlink Payload: **2301** ~/~/ set the application port to 1 934 934 * **Example 2**: Downlink Payload:** 2305** ~/~/ set the application port to 5 935 935 975 + 936 936 == 7.18 Single Channel Mode == 937 937 938 938 Feature:Get or Set Frequency (Unit: Hz) for Single Channel Mode. ... ... @@ -949,6 +949,7 @@ 949 949 ))) 950 950 |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK 951 951 992 + 952 952 == 7.19 Eight Channel Mode == 953 953 954 954 Feature: Get or Set eight channels mode,Only for US915,AU915,CN470. ... ... @@ -978,6 +978,7 @@ 978 978 * **Example 1**: Downlink Payload: 2401 ~/~/ set channel mode to 1 979 979 * **Example 2**: Downlink Payload: 2405 ~/~/ set channel mode to 5 980 980 1022 + 981 981 == 7.20 Get or Set RXwindows1 timeout == 982 982 983 983 Feature:Get or Set the number of symbols to detect and timeout from RXwindow1(0 to 255). ... ... @@ -1022,6 +1022,7 @@ 1022 1022 ))) 1023 1023 |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK 1024 1024 1067 + 1025 1025 == 7.22 Setting up uplinkdwelltime (as923, au915) == 1026 1026 1027 1027 Feature: Get or Set uplinkdwelltime ... ... @@ -1049,6 +1049,7 @@ 1049 1049 * **Example 1**: Downlink Payload: **2501** ~/~/ set uplinkdwelltime to 1 1050 1050 * **Example 2**: Downlink Payload: **2500** ~/~/ set uplinkdwelltime to 0 1051 1051 1095 + 1052 1052 == 7.23 Set Packet Receiving Response Level == 1053 1053 1054 1054 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. ... ... @@ -1090,6 +1090,7 @@ 1090 1090 * **Example 1**: Downlink Payload: **2101** ~/~/ set packet receiving response level to 1 1091 1091 * **Example 2**: Downlink Payload: **2102** ~/~/ set packet receiving response level to 2 1092 1092 1137 + 1093 1093 = 8. AT Commands Combination = 1094 1094 1095 1095 == 8.1 Set a fix RX2DR for downlink window == ... ... @@ -1097,6 +1097,7 @@ 1097 1097 * **AT+ADR=0 **~-~-> Disable ADR first 1098 1098 * **AT+RX2DR=xxxx** ~-~-> Set xxxx to your wanted DataRate 1099 1099 1145 + 1100 1100 == 8.2 Use Downlink Command to set a fix uplink DR == 1101 1101 1102 1102 {{info}}