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" %) ... ... @@ -138,6 +138,7 @@ 138 138 * **Example 1**: Downlink Payload:** 0100001E** ~/~/ Set Transmit Interval (TDC) = 30 seconds 139 139 * **Example 2**: Downlink Payload:** 0100003C** ~/~/ Set Transmit Interval (TDC) = 60 seconds 140 140 139 + 141 141 == 4.2 Reboot End Node == 142 142 143 143 Feature: Reboot End Node to perform a new OTAA or ABP Join. ... ... @@ -299,6 +299,7 @@ 299 299 OK 300 300 ))) 301 301 301 + 302 302 = 5. Keys, IDs and EUIs management = 303 303 304 304 == 5.1 Application EUI == ... ... @@ -317,6 +317,7 @@ 317 317 ))) 318 318 |(% style="width:305px" %)AT+APPEUI=00 b3 d5 7e f0 00 4d 34|(% style="width:186px" %)Set the Application EUI|(% style="width:191px" %)OK 319 319 320 + 320 320 == 5.2 Application Key == 321 321 322 322 Feature: Get or Set the Application Key. ... ... @@ -369,6 +369,8 @@ 369 369 ))) 370 370 |(% style="width:192px" %)AT+DADDR=A8 40 41 FF|(% style="width:241px" %)Set the Application Session Key.|(% style="width:359px" %)OK 371 371 373 + 374 + 372 372 == 5.5 Device EUI == 373 373 374 374 Feature: Get or Set the Device EUI. ... ... @@ -387,6 +387,8 @@ 387 387 OK 388 388 ))) 389 389 393 + 394 + 390 390 == 5.6 Network ID == 391 391 392 392 Feature: Get or Set the Network ID.(You can enter this command change only after successful network connection) ... ... @@ -403,6 +403,8 @@ 403 403 ))) 404 404 |(% style="width:191px" %)AT+NWKID=A8 40 41 FF|(% style="width:153px" %)Set the Network ID.|(% style="width:101px" %)OK 405 405 411 + 412 + 406 406 == 5.7 Network Session Key == 407 407 408 408 Feature: Get or Set the Network Session Key ... ... @@ -419,6 +419,8 @@ 419 419 ))) 420 420 |(% 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 421 421 429 + 430 + 422 422 = 6. Joining and sending date on LoRaWAN network = 423 423 424 424 == 6.1 Confirm Mode == ... ... @@ -447,6 +447,8 @@ 447 447 * Example 1: Downlink Payload: 0501 ~/~/ Set AT+CFM=1 448 448 * Example 2: Downlink Payload: 0500 ~/~/ Set AT+CFM=0 449 449 459 + 460 + 450 450 == 6.2 Confirm Status == 451 451 452 452 Feature: Get confirmation status of the last AT+SEND (0-1). ... ... @@ -462,6 +462,8 @@ 462 462 OK 463 463 ))) 464 464 476 + 477 + 465 465 == 6.3 Join LoRa® Network == 466 466 467 467 Feature: Join network. ... ... @@ -479,6 +479,7 @@ 479 479 While Error in format, return AT_BUSY_ERROR 480 480 ))) 481 481 495 + 482 482 == 6.4 LoRa® Network Join Mode == 483 483 484 484 Feature: Get or Set the Network Join Mode. (0: ABP, 1: OTAA). ... ... @@ -507,6 +507,7 @@ 507 507 * **Example 1: **Downlink Payload: **2000** ~/~/ Set AT+NJM=O 508 508 * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1 509 509 524 + 510 510 == 6.5 LoRa® Network Join Status == 511 511 512 512 Feature: LoRa® Network Join Status. ... ... @@ -522,6 +522,7 @@ 522 522 OK 523 523 ))) 524 524 540 + 525 525 == 6.6 Print Last Received Data in Raw Format == 526 526 527 527 Feature: Print Last Received Data in Raw Format<port:data>. ... ... @@ -537,6 +537,7 @@ 537 537 OK 538 538 ))) 539 539 556 + 540 540 == 6.7 Print Last Received Data in Binary Format == 541 541 542 542 Feature: Print Last Received Data in Binary Format<port:data>. ... ... @@ -552,6 +552,7 @@ 552 552 OK 553 553 ))) 554 554 572 + 555 555 == 6.8 Send Text Data == 556 556 557 557 Feature: Send Text Data<port:data>. ... ... @@ -571,6 +571,7 @@ 571 571 572 572 ))) 573 573 592 + 574 574 == 6.9 Send Hexadecimal Data == 575 575 576 576 Feature: Send hexadecimal data along with the application port. ... ... @@ -589,6 +589,7 @@ 589 589 590 590 ))) 591 591 611 + 592 592 = 7. LoRaWAN network management = 593 593 594 594 == 7.1 Adaptive Data Rate == ... ... @@ -620,6 +620,7 @@ 620 620 * **Example 1**: Downlink Payload: **2201** ~/~/ Set AT+ADR=1. 621 621 * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0. 622 622 643 + 623 623 == 7.2 LoRa® Class == 624 624 625 625 Feature: Get or Set the Device Class(Currently only support class A, class C). ... ... @@ -638,6 +638,7 @@ 638 638 639 639 ))) 640 640 662 + 641 641 == 7.3 Duty Cycle Setting == 642 642 643 643 Feature: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing. ... ... @@ -656,6 +656,7 @@ 656 656 657 657 ))) 658 658 681 + 659 659 == 7.4 Data Rate == 660 660 661 661 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 ... ... @@ -684,6 +684,7 @@ 684 684 * **Example 1**: Downlink Payload: **220001FF** ~/~/ Set AT+DR=1. 685 685 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0. 686 686 710 + 687 687 == 7.5 Frame Counter Downlink == 688 688 689 689 Feature: Get or Set the Frame Counter Downlink. ... ... @@ -704,6 +704,7 @@ 704 704 705 705 ))) 706 706 731 + 707 707 == 7.6 Frame Counter Uplink == 708 708 709 709 Feature: Get or Set the Frame Counter Uplink. ... ... @@ -722,6 +722,7 @@ 722 722 723 723 ))) 724 724 750 + 725 725 == 7.7 Join Accept Delay1 == 726 726 727 727 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms. ... ... @@ -740,6 +740,7 @@ 740 740 741 741 ))) 742 742 769 + 743 743 == 7.8 Join Accept Delay2 == 744 744 745 745 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms. ... ... @@ -758,6 +758,7 @@ 758 758 759 759 ))) 760 760 788 + 761 761 == 7.9 Public Network Mode == 762 762 763 763 Feature: Get or Set the public network mode. (0: off, 1: on) ... ... @@ -778,6 +778,7 @@ 778 778 779 779 ))) 780 780 809 + 781 781 == 7.10 Receive Delay1 == 782 782 783 783 Feature: Get or Set the delay between the end of the Tx and the Rx Window 1 in ms ... ... @@ -796,6 +796,7 @@ 796 796 797 797 ))) 798 798 828 + 799 799 == 7.11 Receive Delay2 == 800 800 801 801 Feature: Get or Set the delay between the end of the Tx and the Rx Window 2 in ms ... ... @@ -814,6 +814,7 @@ 814 814 815 815 ))) 816 816 847 + 817 817 == 7.12 Rx2 Window Data Rate == 818 818 819 819 Feature: Get or Set the Rx2 window data rate (0-7 corresponding to DR_X) ... ... @@ -832,6 +832,7 @@ 832 832 833 833 ))) 834 834 866 + 835 835 == 7.13 Rx2 Window Frequency == 836 836 837 837 Feature: Get or Set the Rx2 window frequency ... ... @@ -850,6 +850,7 @@ 850 850 851 851 ))) 852 852 885 + 853 853 == 7.14 Transmit Power == 854 854 855 855 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. ) ... ... @@ -875,6 +875,7 @@ 875 875 * **Example 1**: Downlink Payload: **22000102** ~/~/ Set AT+TXP=2. 876 876 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+TXP=0. 877 877 911 + 878 878 == 7.15 RSSI of the Last Received Packet == 879 879 880 880 Feature: Get or Set the Rx2 window frequency ... ... @@ -890,6 +890,7 @@ 890 890 OK 891 891 ))) 892 892 927 + 893 893 == 7.16 SNR of the Last Received Packet == 894 894 895 895 Feature: Get the SNR of the last received packet ... ... @@ -905,6 +905,7 @@ 905 905 OK 906 906 ))) 907 907 943 + 908 908 == 7.17 Application Port == 909 909 910 910 Feature: Get or set the application port. ... ... @@ -932,6 +932,7 @@ 932 932 * **Example 1**: Downlink Payload: **2301** ~/~/ set the application port to 1 933 933 * **Example 2**: Downlink Payload:** 2305** ~/~/ set the application port to 5 934 934 971 + 935 935 == 7.18 Single Channel Mode == 936 936 937 937 Feature:Get or Set Frequency (Unit: Hz) for Single Channel Mode. ... ... @@ -948,6 +948,7 @@ 948 948 ))) 949 949 |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK 950 950 988 + 951 951 == 7.19 Eight Channel Mode == 952 952 953 953 Feature: Get or Set eight channels mode,Only for US915,AU915,CN470. ... ... @@ -977,6 +977,7 @@ 977 977 * **Example 1**: Downlink Payload: 2401 ~/~/ set channel mode to 1 978 978 * **Example 2**: Downlink Payload: 2405 ~/~/ set channel mode to 5 979 979 1018 + 980 980 == 7.20 Get or Set RXwindows1 timeout == 981 981 982 982 Feature:Get or Set the number of symbols to detect and timeout from RXwindow1(0 to 255). ... ... @@ -1021,6 +1021,7 @@ 1021 1021 ))) 1022 1022 |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK 1023 1023 1063 + 1024 1024 == 7.22 Setting up uplinkdwelltime (as923, au915) == 1025 1025 1026 1026 Feature: Get or Set uplinkdwelltime ... ... @@ -1048,6 +1048,7 @@ 1048 1048 * **Example 1**: Downlink Payload: **2501** ~/~/ set uplinkdwelltime to 1 1049 1049 * **Example 2**: Downlink Payload: **2500** ~/~/ set uplinkdwelltime to 0 1050 1050 1091 + 1051 1051 == 7.23 Set Packet Receiving Response Level == 1052 1052 1053 1053 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. ... ... @@ -1089,6 +1089,7 @@ 1089 1089 * **Example 1**: Downlink Payload: **2101** ~/~/ set packet receiving response level to 1 1090 1090 * **Example 2**: Downlink Payload: **2102** ~/~/ set packet receiving response level to 2 1091 1091 1133 + 1092 1092 = 8. AT Commands Combination = 1093 1093 1094 1094 == 8.1 Set a fix RX2DR for downlink window == ... ... @@ -1096,6 +1096,7 @@ 1096 1096 * **AT+ADR=0 **~-~-> Disable ADR first 1097 1097 * **AT+RX2DR=xxxx** ~-~-> Set xxxx to your wanted DataRate 1098 1098 1141 + 1099 1099 == 8.2 Use Downlink Command to set a fix uplink DR == 1100 1100 1101 1101 {{info}}