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
-
... ... @@ -31,15 +31,15 @@ 31 31 = 3. Support End Node and firmware version = 32 32 33 33 34 -(% border="1" style="background-color:# F2F2F2; width:966px" %)35 -|=(% colspan="3" style="width: 963px; background-color:#D9E2F3;color:#0070C0" %)(((34 +(% border="1" style="background-color:#ffffcc; color:green; width:966px" %) 35 +|=(% colspan="3" style="width: 963px;" %)((( 36 36 Dragino STM32 base hardware Firmware / LoRaWAN stack list 37 37 ))) 38 -|(% style="width:187px ;color:#0070C0" %)(((38 +|(% style="width:187px" %)((( 39 39 **Model** 40 -)))|(% style="width:330px ;color:#0070C0" %)(((40 +)))|(% style="width:330px" %)((( 41 41 **Description** 42 -)))|(% style="width:445px ;color:#0070C0" %)(((42 +)))|(% style="width:445px" %)((( 43 43 **Firmware Version <~-~-> Stack Version** 44 44 ))) 45 45 |(% style="width:187px" %)((( ... ... @@ -114,9 +114,9 @@ 114 114 115 115 (% style="color:blue" %)**AT Command: AT+TDC** 116 116 117 -(% border="1" style="background-color:# F2F2F2; width:727.222px" %)118 -|=(% colspan="3" style="width: 724px; background-color:#D9E2F3;color:#0070C0" %)AT+TDC119 -|(% style="width:165px ;color:#0070C0" %)**Command Example**|(% style="width:227px;color:#0070C0" %)**Function**|(% style="width:329px;color:#0070C0" %)**Response**117 +(% border="1" style="background-color:#ffffcc; color:green; width:727.222px" %) 118 +|=(% colspan="3" style="width: 724px;" %)AT+TDC 119 +|(% style="width:165px" %)**Command Example**|(% style="width:227px" %)**Function**|(% style="width:329px" %)**Response** 120 120 |(% style="width:165px" %)AT+TDC=?|(% style="width:227px" %)Show current transmit Interval|(% style="width:329px" %)30000((( 121 121 OK 122 122 ... ... @@ -151,9 +151,9 @@ 151 151 152 152 (% style="color:blue" %)**AT Command: ATZ** 153 153 154 -(% border="1" style="background-color:# F2F2F2; width:546px" %)155 -|=(% colspan="3" style="width: 543px; background-color:#D9E2F3;color:#0070C0" %)ATZ: Trig a reset of the MCU156 -|(% style="width:157px ;color:#0070C0" %)**Command Example**|(% style="width:92px;color:#0070C0" %)**Function**|(% style="width:294px;color:#0070C0" %)**Response**154 +(% border="1" style="background-color:#ffffcc; color:green; width:546px" %) 155 +|=(% colspan="3" style="width: 543px;" %)ATZ: Trig a reset of the MCU 156 +|(% style="width:157px" %)**Command Example**|(% style="width:92px" %)**Function**|(% style="width:294px" %)**Response** 157 157 |(% style="width:157px" %)ATZ|(% style="width:92px" %)Reset MCU|(% style="width:294px" %)((( 158 158 Device reset and show booting info 159 159 ... ... @@ -187,9 +187,9 @@ 187 187 188 188 (% style="color:blue" %)**AT Command: AT+FDR** 189 189 190 -(% border="1" style="background-color:# F2F2F2; width:789px" %)191 -|=(% colspan="3" style="width: 786px; background-color:#D9E2F3;color:#0070C0" %)Reset to factory default192 -|(% style="width:154px ;color:#0070C0" %)**Command Example**|(% style="width:175px;color:#0070C0" %)**Function**|(% style="width:456px;color:#0070C0" %)**Response**190 +(% border="1" style="background-color:#ffffcc; color:green; width:789px" %) 191 +|=(% colspan="3" style="width: 786px;" %)Reset to factory default 192 +|(% style="width:154px" %)**Command Example**|(% style="width:175px" %)**Function**|(% style="width:456px" %)**Response** 193 193 |(% style="width:154px" %)AT+FDR|(% style="width:175px" %)Reset to factory default|(% style="width:456px" %)((( 194 194 Device reset to factory default parameters and show booting info 195 195 ... ... @@ -223,9 +223,9 @@ 223 223 224 224 (% style="color:blue" %)**AT Command: AT+VER** 225 225 226 -(% border="1" style="background-color:#f 2f2f2; width:542px" %)227 -|=(% colspan="3" style="width: 539px; background-color:#D9E2F3;color:#0070C0" %)AT+VER: Image Version and Frequency Band228 -|(% style="width:157px ;color:#0070C0" %)**Command Example**|(% style="width:295px;color:#0070C0" %)**Function**|(% style="width:86px;color:#0070C0" %)**Response**226 +(% border="1" style="background-color:#ffffcc; color:green; width:542px" %) 227 +|=(% colspan="3" style="width: 539px;" %)AT+VER: Image Version and Frequency Band 228 +|(% style="width:157px" %)**Command Example**|(% style="width:295px" %)**Function**|(% style="width:86px" %)**Response** 229 229 |(% style="width:157px" %)AT+VER=?|(% style="width:295px" %)Show Image version and Frequency Band|(% style="width:86px" %)((( 230 230 1.3 EU868 231 231 ... ... @@ -286,20 +286,23 @@ 286 286 287 287 (% style="color:blue" %)**AT Command: AT+CFG** 288 288 289 -(% border="1" style="background-color:#f 2f2f2; width:599.222px" %)290 -|=(% colspan="3" style="width: 596px; background-color:#D9E2F3;color:#0070C0" %)AT+CFG: Print all configurations291 -|(% style="width:160px ;color:#0070C0" %)**Command Example**|(% style="width:154px;color:#0070C0" %)**Function**|(% style="width:280px;color:#0070C0" %)**Response**289 +(% border="1" style="background-color:#ffffcc; color:green; width:599.222px" %) 290 +|=(% colspan="3" style="width: 596px;" %)AT+CFG: Print all configurations 291 +|(% style="width:160px" %)**Command Example**|(% style="width:154px" %)**Function**|(% style="width:280px" %)**Response** 292 292 |(% style="width:160px" %)AT+CFG|(% style="width:154px" %)Show all configures|(% style="width:280px" %)((( 293 293 AT+DEUI = XX XX XX XX XX XX XX XX 294 + 294 294 AT+DADDR=XXXXXXXX 296 + 295 295 ………. 298 + 296 296 AT+RX2WTO=X 300 + 297 297 AT+CHS=868100000 302 + 298 298 OK 299 299 ))) 300 300 301 -(% style="display:none" %) (%%) 302 - 303 303 = 5. Keys, IDs and EUIs management = 304 304 305 305 == 5.1 Application EUI == ... ... @@ -310,9 +310,9 @@ 310 310 311 311 (% style="color:blue" %)**AT Command: AT+APPEUI** 312 312 313 -(% border="1" style="background-color:#f 2f2f2; width:686.222px" %)314 -|=(% colspan="3" style="width: 683px; background-color:#D9E2F3;color:#0070C0" %)AT+APPEUI315 -|(% style="width:305px ;color:#0070C0" %)**Command Example**|(% style="width:186px;color:#0070C0" %)**Function**|(% style="width:191px;color:#0070C0" %)**Response**316 +(% border="1" style="background-color:#ffffcc; color:green; width:686.222px" %) 317 +|=(% colspan="3" style="width: 683px;" %)AT+APPEUI 318 +|(% style="width:305px" %)**Command Example**|(% style="width:186px" %)**Function**|(% style="width:191px" %)**Response** 316 316 |(% style="width:305px" %)AT+APPEUI=?|(% style="width:186px" %)Get the Application EUI|(% style="width:191px" %)00 b3 d5 00 00 00 00 00((( 317 317 OK 318 318 ))) ... ... @@ -328,9 +328,9 @@ 328 328 329 329 (% style="color:blue" %)**AT Command: AT+APPKEY** 330 330 331 -(% border="1" style="background-color:#f 2f2f2; width:976.222px" %)332 -|=(% colspan="3" style="width: 973px; background-color:#D9E2F3;color:#0070C0" %)AT+APPKEY333 -|(% style="width:441px ;color:#0070C0" %)**Command Example**|(% style="width:180px;color:#0070C0" %)**Function**|(% style="width:350px;color:#0070C0" %)**Response**334 +(% border="1" style="background-color:#ffffcc; color:green; width:976.222px" %) 335 +|=(% colspan="3" style="width: 973px;" %)AT+APPKEY 336 +|(% style="width:441px" %)**Command Example**|(% style="width:180px" %)**Function**|(% style="width:350px" %)**Response** 334 334 |(% style="width:441px" %)AT+APPKEY=?|(% style="width:180px" %)Get the Application Key|(% style="width:350px" %)00 35 55 55 22 23 55 53 43 24 23 42 34 35 35 35((( 335 335 OK 336 336 ))) ... ... @@ -346,9 +346,9 @@ 346 346 347 347 (% style="color:blue" %)**AT Command: AT+APPSKEY** 348 348 349 -(% border="1" style="background-color:#f 2f2f2; width:1040.22px" %)350 -|=(% colspan="3" style="width: 1037px; background-color:#D9E2F3;color:#0070C0" %)AT+APPSKEY351 -|(% style="width:451px ;color:#0070C0" %)**Command Example**|(% style="width:231px;color:#0070C0" %)**Function**|(% style="width:354px;color:#0070C0" %)**Response**352 +(% border="1" style="background-color:#ffffcc; color:green; width:1040.22px" %) 353 +|=(% colspan="3" style="width: 1037px;" %)AT+APPSKEY 354 +|(% style="width:451px" %)**Command Example**|(% style="width:231px" %)**Function**|(% style="width:354px" %)**Response** 352 352 |(% style="width:451px" %)AT+APPSKEY=?|(% style="width:231px" %)Get the Application Session Key|(% style="width:354px" %)00 7d dc 73 33 d3 eb 9e 14 38 d5 a4 3e 62 5b e2((( 353 353 OK 354 354 ))) ... ... @@ -366,9 +366,9 @@ 366 366 367 367 (% style="color:blue" %)**AT Command: AT+DADDR** 368 368 369 -(% border="1" style="background-color:#f 2f2f2; width:795.222px" %)370 -|=(% colspan="3" style="width: 792px; background-color:#D9E2F3;color:#0070C0" %)AT+DADDR371 -|(% style="width:192px ;color:#0070C0" %)**Command Example**|(% style="width:241px;color:#0070C0" %)**Function**|(% style="width:359px;color:#0070C0" %)**Response**372 +(% border="1" style="background-color:#ffffcc; color:green; width:795.222px" %) 373 +|=(% colspan="3" style="width: 792px;" %)AT+DADDR 374 +|(% style="width:192px" %)**Command Example**|(% style="width:241px" %)**Function**|(% style="width:359px" %)**Response** 372 372 |(% style="width:192px" %)AT+DADDR=?|(% style="width:241px" %)Get the Application Session Key.|(% style="width:359px" %)(While Error in format, return AT_PARAM_ERROR)((( 373 373 A8 40 41 FF 374 374 ... ... @@ -386,9 +386,9 @@ 386 386 387 387 (% style="color:blue" %)**AT Command: AT+DEUI** 388 388 389 -(% border="1" style="background-color:#f 2f2f2; width:1035.22px" %)390 -|=(% colspan="3" style="width: 1032px; background-color:#D9E2F3;color:#0070C0" %)AT+DEUI391 -|(% style="width:250px ;color:#0070C0" %)**Command Example**|(% style="width:147px;color:#0070C0" %)**Function**|(% style="width:634px;color:#0070C0" %)**Response**392 +(% border="1" style="background-color:#ffffcc; color:green; width:1035.22px" %) 393 +|=(% colspan="3" style="width: 1032px;" %)AT+DEUI 394 +|(% style="width:250px" %)**Command Example**|(% style="width:147px" %)**Function**|(% style="width:634px" %)**Response** 392 392 |(% style="width:250px" %)AT+DEUI=?|(% style="width:147px" %)Get the Device EUI.|(% style="width:634px" %)00 44 34 22 33 45 55 55((( 393 393 OK 394 394 ))) ... ... @@ -406,9 +406,9 @@ 406 406 407 407 (% style="color:blue" %)**AT Command: AT+NWKID** 408 408 409 -(% border="1" style="background-color:#f 2f2f2; width:448.222px" %)410 -|=(% colspan="3" style="width: 445px; background-color:#D9E2F3;color:#0070C0" %)AT+NWKID411 -|(% style="width:191px ;color:#0070C0" %)**Command Example**|(% style="width:153px;color:#0070C0" %)**Function**|(% style="width:101px;color:#0070C0" %)**Response**412 +(% border="1" style="background-color:#ffffcc; color:green; width:448.222px" %) 413 +|=(% colspan="3" style="width: 445px;" %)AT+NWKID 414 +|(% style="width:191px" %)**Command Example**|(% style="width:153px" %)**Function**|(% style="width:101px" %)**Response** 412 412 |(% style="width:191px" %)AT+NWKID=?|(% style="width:153px" %)Get the Network ID.|(% style="width:101px" %)a8 40 41 ff((( 413 413 OK 414 414 ))) ... ... @@ -424,9 +424,9 @@ 424 424 425 425 (% style="color:blue" %)**AT Command: AT+NWKSKEY** 426 426 427 -(% border="1" style="background-color:#f 2f2f2; width:1017.22px" %)428 -|=(% colspan="3" style="width: 1014px; background-color:#D9E2F3;;color:#0070C0" %)AT+NWKSKEY429 -|(% style="width:455px ;color:#0070C0" %)**Command Example**|(% style="width:215px;color:#0070C0" %)**Function**|(% style="width:343px;color:#0070C0" %)**Response**430 +(% border="1" style="background-color:#ffffcc; color:green; width:1017.22px" %) 431 +|=(% colspan="3" style="width: 1014px;" %)AT+NWKSKEY 432 +|(% style="width:455px" %)**Command Example**|(% style="width:215px" %)**Function**|(% style="width:343px" %)**Response** 430 430 |(% style="width:455px" %)AT+NWKSKEY=?|(% style="width:215px" %)Get the Network Session Key.|(% style="width:343px" %)00 4f 19 25 52 ce 97 09 d7 fa 84 71 db 51 02 92((( 431 431 OK 432 432 ))) ... ... @@ -446,9 +446,9 @@ 446 446 447 447 (% style="color:blue" %)**AT Command: AT+CFM** 448 448 449 -(% border="1" style="background-color:#f 2f2f2; width:710.222px" %)450 -|=(% colspan="3" style="width: 707px; background-color:#D9E2F3;color:#0070C0" %)AT+CFM451 -|(% style="width:155px ;color:#0070C0" %)**Command Example**|(% style="width:205px;color:#0070C0" %)**Function**|(% style="width:346px;color:#0070C0" %)**Response**452 +(% border="1" style="background-color:#ffffcc; color:green; width:710.222px" %) 453 +|=(% colspan="3" style="width: 707px;" %)AT+CFM 454 +|(% style="width:155px" %)**Command Example**|(% style="width:205px" %)**Function**|(% style="width:346px" %)**Response** 452 452 |(% style="width:155px" %)AT+CFM=?|(% style="width:205px" %)Get the confirmation mode|(% style="width:346px" %)0((( 453 453 OK 454 454 ))) ... ... @@ -471,9 +471,9 @@ 471 471 472 472 (% style="color:blue" %)**AT Command: AT+CFM** 473 473 474 -(% border="1" style="background-color:#f 2f2f2; width:710.222px" %)475 -|=(% colspan="3" style="width: 707px; background-color:#D9E2F3;color:#0070C0" %)AT+CFM476 -|(% style="width:160px ;color:#0070C0" %)**Command Example**|(% style="width:198px;color:#0070C0" %)**Function**|(% style="width:349px;color:#0070C0" %)**Response**477 +(% border="1" style="background-color:#ffffcc; color:green; width:710.222px" %) 478 +|=(% colspan="3" style="width: 707px;" %)AT+CFM 479 +|(% style="width:160px" %)**Command Example**|(% style="width:198px" %)**Function**|(% style="width:349px" %)**Response** 477 477 |(% style="width:160px" %)((( 478 478 AT+CFM=1,0,0 479 479 ... ... @@ -528,8 +528,6 @@ 528 528 OK 529 529 ))) 530 530 531 -(% style="display:none" %) (%%) 532 - 533 533 == 6.3 Join LoRa® Network == 534 534 535 535 ... ... @@ -543,11 +543,10 @@ 543 543 |(% style="width:163px" %)**Command Example**|(% style="width:147px" %)**Function**|(% style="width:334px" %)**Response** 544 544 |(% style="width:163px" %)AT+JOIN ?|(% style="width:147px" %)Get imformation.|(% style="width:334px" %)AT+JOIN: Join network((( 545 545 OK 547 + 546 546 While Error in format, return AT_BUSY_ERROR 547 547 ))) 548 548 549 -(% style="display:none" %) (%%) 550 - 551 551 == 6.4 LoRa® Network Join Mode == 552 552 553 553 ... ... @@ -708,16 +708,10 @@ 708 708 OK 709 709 ))) 710 710 |(% style="width:163px" %)AT+CLASS=C|(% style="width:166px" %)Set the Device Class.|(% style="width:175px" %)OK((( 711 - 712 712 ))) 713 713 714 -(% style="display:none" %) 713 +(% style="display:none" %) (%%) 715 715 716 -(% style="color:red" %)**Notice:** 717 - 718 -* Run AT+FDR before running AT+CLASS=C 719 -* After change to Class=C, Before OTAA Join Successfule, the end node will still shows to use CLASS=A for OTAA Joined. It will use CLASS=C after OTAA Join Succeccful. 720 - 721 721 == 7.3 Duty Cycle Setting == 722 722 723 723 ... ... @@ -733,7 +733,6 @@ 733 733 OK 734 734 ))) 735 735 |(% style="width:165px" %)AT+DCS=1|(% style="width:239px" %)Set the ETSI Duty Cycle setting.|(% style="width:107px" %)OK((( 736 - 737 737 ))) 738 738 739 739 (% style="display:none" %) (%%) ... ... @@ -788,8 +788,6 @@ 788 788 OK 789 789 ))) 790 790 791 -(% style="display:none" %) (%%) 792 - 793 793 == 7.6 Frame Counter Uplink == 794 794 795 795 Feature: Get or Set the Frame Counter Uplink. ... ... @@ -804,7 +804,6 @@ 804 804 OK 805 805 ))) 806 806 |(% style="width:177px" %)AT+FCU=10|(% style="width:239px" %)Set the Frame Counter Uplink.|(% style="width:113px" %)OK((( 807 - 808 808 ))) 809 809 810 810 (% style="display:none" %) (%%) ... ... @@ -824,7 +824,6 @@ 824 824 OK 825 825 ))) 826 826 |(% style="width:164px" %)AT+JN1DL=10000|(% style="width:229px" %)Set the Join Accept Delay.|(% style="width:140px" %)OK((( 827 - 828 828 ))) 829 829 830 830 (% style="display:none" %) (%%) ... ... @@ -844,7 +844,6 @@ 844 844 OK 845 845 ))) 846 846 |(% style="width:160px" %)AT+JN2DL=20000|(% style="width:228px" %)Set the Join Accept Delay.|(% style="width:146px" %)OK((( 847 - 848 848 ))) 849 849 850 850 (% style="display:none" %) (%%) ... ... @@ -893,7 +893,6 @@ 893 893 OK 894 894 ))) 895 895 |(% style="width:155px" %)AT+RX1DL=1500|(% style="width:128px" %)Set the delay.|(% style="width:122px" %)OK((( 896 - 897 897 ))) 898 898 899 899 (% style="display:none" %) (%%) ... ... @@ -913,7 +913,6 @@ 913 913 OK 914 914 ))) 915 915 |(% style="width:175px" %)AT+RX2DL=2500|(% style="width:152px" %)Set the delay.|(% style="width:150px" %)OK((( 916 - 917 917 ))) 918 918 919 919 (% style="display:none" %) (%%) ... ... @@ -933,7 +933,6 @@ 933 933 OK 934 934 ))) 935 935 |(% style="width:160px" %)AT+RX2DR=6|(% style="width:232px" %)Set the Rx2 window data rate.|(% style="width:130px" %)OK((( 936 - 937 937 ))) 938 938 939 939 (% style="display:none" %) (%%) ... ... @@ -953,7 +953,6 @@ 953 953 OK 954 954 ))) 955 955 |(% style="width:183px" %)AT+RX2FQ=434665000|(% style="width:240px" %)Set the Rx2 window frequency.|(% style="width:160px" %)OK((( 956 - 957 957 ))) 958 958 959 959 (% style="display:none" %) (%%) ... ... @@ -975,7 +975,6 @@ 975 975 OK 976 976 ))) 977 977 |(% style="width:161px" %)AT+TXP=1|(% style="width:189px" %)Set the Transmit Power.|(% style="width:112px" %)OK((( 978 - 979 979 ))) 980 980 981 981 Downlink Payload. The 4th byte of 0x22 downlink. ... ... @@ -983,7 +983,7 @@ 983 983 If the downlink payload=22000100, it means setting the TXP to 0. 984 984 985 985 * **Example 1**: Downlink Payload: **22000102** ~/~/ Set AT+TXP=2. 986 -* **Example 2**: Downlink Payload: **220000 00** ~/~/ Set AT+TXP=0.969 +* **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+TXP=0. 987 987 988 988 (% style="display:none" %) (%%) 989 989