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
-
... ... @@ -25,7 +25,6 @@ 25 25 ** See use note for more serves [[Servers Note>>doc:Main.WebHome]](IoT LoRaWAN Server) 26 26 27 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,6 +100,7 @@ 100 100 ))) 101 101 102 102 102 + 103 103 = 4. System Management Commands = 104 104 105 105 == 4.1 Change Uplink Interval == ... ... @@ -139,6 +139,7 @@ 139 139 * **Example 2**: Downlink Payload:** 0100003C** ~/~/ Set Transmit Interval (TDC) = 60 seconds 140 140 141 141 142 + 142 142 == 4.2 Reboot End Node == 143 143 144 144 Feature: Reboot End Node to perform a new OTAA or ABP Join. ... ... @@ -300,7 +300,6 @@ 300 300 OK 301 301 ))) 302 302 303 - 304 304 = 5. Keys, IDs and EUIs management = 305 305 306 306 == 5.1 Application EUI == ... ... @@ -319,7 +319,6 @@ 319 319 ))) 320 320 |(% style="width:305px" %)AT+APPEUI=00 b3 d5 7e f0 00 4d 34|(% style="width:186px" %)Set the Application EUI|(% style="width:191px" %)OK 321 321 322 - 323 323 == 5.2 Application Key == 324 324 325 325 Feature: Get or Set the Application Key. ... ... @@ -337,7 +337,6 @@ 337 337 |(% 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 338 338 339 339 340 - 341 341 == 5.3 Application Session Key == 342 342 343 343 Feature: Get or Set the Application Session Key. ... ... @@ -357,7 +357,6 @@ 357 357 ))) 358 358 359 359 360 - 361 361 == 5.4 Device Address == 362 362 363 363 Feature: Get or Set the Device Address. ... ... @@ -377,7 +377,6 @@ 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 379 380 - 381 381 == 5.5 Device EUI == 382 382 383 383 Feature: Get or Set the Device EUI. ... ... @@ -397,7 +397,6 @@ 397 397 ))) 398 398 399 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) ... ... @@ -415,7 +415,6 @@ 415 415 |(% style="width:191px" %)AT+NWKID=A8 40 41 FF|(% style="width:153px" %)Set the Network ID.|(% style="width:101px" %)OK 416 416 417 417 418 - 419 419 == 5.7 Network Session Key == 420 420 421 421 Feature: Get or Set the Network Session Key ... ... @@ -433,7 +433,6 @@ 433 433 |(% 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 434 434 435 435 436 - 437 437 = 6. Joining and sending date on LoRaWAN network = 438 438 439 439 == 6.1 Confirm Mode == ... ... @@ -463,7 +463,6 @@ 463 463 * Example 2: Downlink Payload: 0500 ~/~/ Set AT+CFM=0 464 464 465 465 466 - 467 467 == 6.2 Confirm Status == 468 468 469 469 Feature: Get confirmation status of the last AT+SEND (0-1). ... ... @@ -480,7 +480,6 @@ 480 480 ))) 481 481 482 482 483 - 484 484 == 6.3 Join LoRa® Network == 485 485 486 486 Feature: Join network. ... ... @@ -498,7 +498,6 @@ 498 498 While Error in format, return AT_BUSY_ERROR 499 499 ))) 500 500 501 - 502 502 == 6.4 LoRa® Network Join Mode == 503 503 504 504 Feature: Get or Set the Network Join Mode. (0: ABP, 1: OTAA). ... ... @@ -527,7 +527,6 @@ 527 527 * **Example 1: **Downlink Payload: **2000** ~/~/ Set AT+NJM=O 528 528 * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1 529 529 530 - 531 531 == 6.5 LoRa® Network Join Status == 532 532 533 533 Feature: LoRa® Network Join Status. ... ... @@ -543,7 +543,6 @@ 543 543 OK 544 544 ))) 545 545 546 - 547 547 == 6.6 Print Last Received Data in Raw Format == 548 548 549 549 Feature: Print Last Received Data in Raw Format<port:data>. ... ... @@ -559,7 +559,6 @@ 559 559 OK 560 560 ))) 561 561 562 - 563 563 == 6.7 Print Last Received Data in Binary Format == 564 564 565 565 Feature: Print Last Received Data in Binary Format<port:data>. ... ... @@ -575,7 +575,6 @@ 575 575 OK 576 576 ))) 577 577 578 - 579 579 == 6.8 Send Text Data == 580 580 581 581 Feature: Send Text Data<port:data>. ... ... @@ -595,7 +595,6 @@ 595 595 596 596 ))) 597 597 598 - 599 599 == 6.9 Send Hexadecimal Data == 600 600 601 601 Feature: Send hexadecimal data along with the application port. ... ... @@ -614,7 +614,6 @@ 614 614 615 615 ))) 616 616 617 - 618 618 = 7. LoRaWAN network management = 619 619 620 620 == 7.1 Adaptive Data Rate == ... ... @@ -646,7 +646,6 @@ 646 646 * **Example 1**: Downlink Payload: **2201** ~/~/ Set AT+ADR=1. 647 647 * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0. 648 648 649 - 650 650 == 7.2 LoRa® Class == 651 651 652 652 Feature: Get or Set the Device Class(Currently only support class A, class C). ... ... @@ -665,7 +665,6 @@ 665 665 666 666 ))) 667 667 668 - 669 669 == 7.3 Duty Cycle Setting == 670 670 671 671 Feature: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing. ... ... @@ -684,7 +684,6 @@ 684 684 685 685 ))) 686 686 687 - 688 688 == 7.4 Data Rate == 689 689 690 690 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 ... ... @@ -713,7 +713,6 @@ 713 713 * **Example 1**: Downlink Payload: **220001FF** ~/~/ Set AT+DR=1. 714 714 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0. 715 715 716 - 717 717 == 7.5 Frame Counter Downlink == 718 718 719 719 Feature: Get or Set the Frame Counter Downlink. ... ... @@ -734,7 +734,6 @@ 734 734 735 735 ))) 736 736 737 - 738 738 == 7.6 Frame Counter Uplink == 739 739 740 740 Feature: Get or Set the Frame Counter Uplink. ... ... @@ -753,7 +753,6 @@ 753 753 754 754 ))) 755 755 756 - 757 757 == 7.7 Join Accept Delay1 == 758 758 759 759 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms. ... ... @@ -772,7 +772,6 @@ 772 772 773 773 ))) 774 774 775 - 776 776 == 7.8 Join Accept Delay2 == 777 777 778 778 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms. ... ... @@ -791,7 +791,6 @@ 791 791 792 792 ))) 793 793 794 - 795 795 == 7.9 Public Network Mode == 796 796 797 797 Feature: Get or Set the public network mode. (0: off, 1: on) ... ... @@ -812,7 +812,6 @@ 812 812 813 813 ))) 814 814 815 - 816 816 == 7.10 Receive Delay1 == 817 817 818 818 Feature: Get or Set the delay between the end of the Tx and the Rx Window 1 in ms ... ... @@ -831,7 +831,6 @@ 831 831 832 832 ))) 833 833 834 - 835 835 == 7.11 Receive Delay2 == 836 836 837 837 Feature: Get or Set the delay between the end of the Tx and the Rx Window 2 in ms ... ... @@ -850,7 +850,6 @@ 850 850 851 851 ))) 852 852 853 - 854 854 == 7.12 Rx2 Window Data Rate == 855 855 856 856 Feature: Get or Set the Rx2 window data rate (0-7 corresponding to DR_X) ... ... @@ -869,7 +869,6 @@ 869 869 870 870 ))) 871 871 872 - 873 873 == 7.13 Rx2 Window Frequency == 874 874 875 875 Feature: Get or Set the Rx2 window frequency ... ... @@ -888,7 +888,6 @@ 888 888 889 889 ))) 890 890 891 - 892 892 == 7.14 Transmit Power == 893 893 894 894 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. ) ... ... @@ -914,7 +914,6 @@ 914 914 * **Example 1**: Downlink Payload: **22000102** ~/~/ Set AT+TXP=2. 915 915 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+TXP=0. 916 916 917 - 918 918 == 7.15 RSSI of the Last Received Packet == 919 919 920 920 Feature: Get or Set the Rx2 window frequency ... ... @@ -930,7 +930,6 @@ 930 930 OK 931 931 ))) 932 932 933 - 934 934 == 7.16 SNR of the Last Received Packet == 935 935 936 936 Feature: Get the SNR of the last received packet ... ... @@ -946,7 +946,6 @@ 946 946 OK 947 947 ))) 948 948 949 - 950 950 == 7.17 Application Port == 951 951 952 952 Feature: Get or set the application port. ... ... @@ -974,7 +974,6 @@ 974 974 * **Example 1**: Downlink Payload: **2301** ~/~/ set the application port to 1 975 975 * **Example 2**: Downlink Payload:** 2305** ~/~/ set the application port to 5 976 976 977 - 978 978 == 7.18 Single Channel Mode == 979 979 980 980 Feature:Get or Set Frequency (Unit: Hz) for Single Channel Mode. ... ... @@ -991,7 +991,6 @@ 991 991 ))) 992 992 |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK 993 993 994 - 995 995 == 7.19 Eight Channel Mode == 996 996 997 997 Feature: Get or Set eight channels mode,Only for US915,AU915,CN470. ... ... @@ -1021,7 +1021,6 @@ 1021 1021 * **Example 1**: Downlink Payload: 2401 ~/~/ set channel mode to 1 1022 1022 * **Example 2**: Downlink Payload: 2405 ~/~/ set channel mode to 5 1023 1023 1024 - 1025 1025 == 7.20 Get or Set RXwindows1 timeout == 1026 1026 1027 1027 Feature:Get or Set the number of symbols to detect and timeout from RXwindow1(0 to 255). ... ... @@ -1066,7 +1066,6 @@ 1066 1066 ))) 1067 1067 |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK 1068 1068 1069 - 1070 1070 == 7.22 Setting up uplinkdwelltime (as923, au915) == 1071 1071 1072 1072 Feature: Get or Set uplinkdwelltime ... ... @@ -1094,7 +1094,6 @@ 1094 1094 * **Example 1**: Downlink Payload: **2501** ~/~/ set uplinkdwelltime to 1 1095 1095 * **Example 2**: Downlink Payload: **2500** ~/~/ set uplinkdwelltime to 0 1096 1096 1097 - 1098 1098 == 7.23 Set Packet Receiving Response Level == 1099 1099 1100 1100 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. ... ... @@ -1136,7 +1136,6 @@ 1136 1136 * **Example 1**: Downlink Payload: **2101** ~/~/ set packet receiving response level to 1 1137 1137 * **Example 2**: Downlink Payload: **2102** ~/~/ set packet receiving response level to 2 1138 1138 1139 - 1140 1140 = 8. AT Commands Combination = 1141 1141 1142 1142 == 8.1 Set a fix RX2DR for downlink window == ... ... @@ -1144,7 +1144,6 @@ 1144 1144 * **AT+ADR=0 **~-~-> Disable ADR first 1145 1145 * **AT+RX2DR=xxxx** ~-~-> Set xxxx to your wanted DataRate 1146 1146 1147 - 1148 1148 == 8.2 Use Downlink Command to set a fix uplink DR == 1149 1149 1150 1150 {{info}}