Changes for page End Device AT Commands and Downlink Command
Last modified by kai on 2024/09/06 10:00
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Xiaoling1 +XWiki.Edwin - Content
-
... ... @@ -1,4 +1,4 @@ 1 - ** Table of** **Contents:**1 + **Contents:** 2 2 3 3 {{toc/}} 4 4 ... ... @@ -6,7 +6,6 @@ 6 6 7 7 = 1. Introduction = 8 8 9 - 10 10 Dragino LoRaWAN End Node support two types of AT Commands and Downlink Commands: 11 11 12 12 * **Common Commands:** They should be available for each sensor, such as: change uplink interval, reset device. ... ... @@ -19,7 +19,6 @@ 19 19 20 20 = 2. How to use AT Commands or Downlink command = 21 21 22 - 23 23 * For AT Command , See Devices User Manual for Device. The user manual can be found in each product page of [[Dragino Official Website>>url:http://www.dragino.com/]] 24 24 * For LoRaWAN Downlink: The gateway transfer downlink command in HEX format. This page shows the HEX format downlink code for each command. but some servers use base64 as downlink code. Below are reference for how to use downlink command: 25 25 ** Use HEX format to send a downlink: [[TTN v3>>Notes for TTN]] ... ... @@ -26,11 +26,8 @@ 26 26 ** Use Base64 format to send a downlink: [[Chirpstack>>Notes for ChirpStack]] 27 27 ** See use note for more serves [[Servers Note>>doc:Main.WebHome]](IoT LoRaWAN Server) 28 28 29 - 30 - 31 31 = 3. Support End Node and firmware version = 32 32 33 - 34 34 (% border="1" style="background-color:#ffffcc; color:green; width:966px" %) 35 35 |=(% colspan="3" style="width: 963px;" %)((( 36 36 Dragino STM32 base hardware Firmware / LoRaWAN stack list ... ... @@ -102,16 +102,16 @@ 102 102 ))) 103 103 ))) 104 104 105 - 106 106 = 4. System Management Commands = 107 107 108 - 109 109 == 4.1 Change Uplink Interval == 110 110 111 - 112 112 Feature: Change LoRaWAN End Node Transmit Interval. 113 113 114 -(% style="color:blue" %)**AT Command: AT+TDC** 106 +(% class="box infomessage" %) 107 +((( 108 +**AT Command: AT+TDC** 109 +))) 115 115 116 116 (% border="1" style="background-color:#ffffcc; color:green; width:727.222px" %) 117 117 |=(% colspan="3" style="width: 724px;" %)AT+TDC ... ... @@ -125,11 +125,11 @@ 125 125 Set transmit interval to 60000ms = 60 seconds 126 126 ))) 127 127 128 -((( 129 - 123 +{{info}} 124 +**Downlink Command: 0x01** 125 +{{/info}} 130 130 131 -(% style="color:blue" %)**Downlink Command: 0x01** 132 - 127 +((( 133 133 Format: Command Code (0x01) followed by 3 bytes time value. 134 134 ))) 135 135 ... ... @@ -140,17 +140,14 @@ 140 140 * **Example 1**: Downlink Payload:** 0100001E** ~/~/ Set Transmit Interval (TDC) = 30 seconds 141 141 * **Example 2**: Downlink Payload:** 0100003C** ~/~/ Set Transmit Interval (TDC) = 60 seconds 142 142 143 - 144 - 145 145 == 4.2 Reboot End Node == 146 146 147 - 148 148 Feature: Reboot End Node to perform a new OTAA or ABP Join. 149 149 142 +{{info}} 143 +**AT Command: ATZ** 144 +{{/info}} 150 150 151 -(% style="color:blue" %)**AT Command: ATZ** 152 - 153 - 154 154 (% border="1" style="background-color:#ffffcc; color:green; width:727.222px" %) 155 155 |=(% colspan="3" %)ATZ: Trig a reset of the MCU 156 156 |**Command Example**|**Function**|**Response** ... ... @@ -168,9 +168,10 @@ 168 168 <followed by the Tx and Rx information> 169 169 ))) 170 170 163 +{{info}} 164 +**Downlink Command: 0x04** 165 +{{/info}} 171 171 172 -(% style="color:blue" %)**Downlink Command: 0x04** 173 - 174 174 ((( 175 175 Format: Command Code (0x04) followed by FF. 176 176 ))) ... ... @@ -183,10 +183,11 @@ 183 183 184 184 == 4.3 Reset to factory Default == 185 185 186 - 187 187 Feature: Reset the parameters to Factory Default, factory default value depends on the firmware settings, the OTAA and ABP keys will reserve after this command. 188 188 189 -(% style="color:blue" %)**AT Command: AT+FDR** 181 +{{info}} 182 +**AT Command: AT+FDR** 183 +{{/info}} 190 190 191 191 (% border="1" style="background-color:#ffffcc; color:green; width:831.222px" %) 192 192 |=(% colspan="3" style="width: 828px;" %)Reset to factory default ... ... @@ -205,9 +205,10 @@ 205 205 Please set the parameters or reset Device to apply change 206 206 ))) 207 207 202 +{{info}} 203 +**Downlink Command: 0x04** 204 +{{/info}} 208 208 209 -(% style="color:blue" %)**Downlink Command: 0x04** 210 - 211 211 ((( 212 212 Format: Command Code (0x04) followed by FE. 213 213 ))) ... ... @@ -219,13 +219,12 @@ 219 219 220 220 == 4.4 Show Firmware Version == 221 221 222 - 223 223 Feature: Show firmware version. No downlink command yet. 224 224 219 +{{info}} 220 +**AT Command: AT+VER** 221 +{{/info}} 225 225 226 -(% style="color:blue" %)**AT Command: AT+VER** 227 - 228 - 229 229 (% border="1" style="background-color:#ffffcc; color:green; width:586px" %) 230 230 |=(% colspan="3" style="width: 583px;" %)AT+VER: Image Version and Frequency Band 231 231 |(% style="width:170px" %)**Command Example**|(% style="width:300px" %)**Function**|(% style="width:113px" %)**Response** ... ... @@ -235,9 +235,10 @@ 235 235 OK 236 236 ))) 237 237 232 +{{info}} 233 +**Downlink Command: 0x26 (Valid in 006 stack)** 234 +{{/info}} 238 238 239 -(% style="color:blue" %)**Downlink Command: 0x26 (Valid in 006 stack)** 240 - 241 241 ((( 242 242 Downlink Format: 0x26 243 243 ))) ... ... @@ -247,9 +247,6 @@ 247 247 ))) 248 248 249 249 ((( 250 - 251 - 252 - 253 253 **xx: Software Type:** 254 254 ))) 255 255 ... ... @@ -258,9 +258,6 @@ 258 258 * 0x00 03: LSE01/LDDS75/LDDS20/LSPH01/LLMS01/LSNPK01 259 259 260 260 ((( 261 - 262 - 263 - 264 264 **yy: Frequency Band:** 265 265 ))) 266 266 ... ... @@ -276,9 +276,6 @@ 276 276 * 0xa0: AS923-3 277 277 278 278 ((( 279 - 280 - 281 - 282 282 **zz: Subband** 283 283 ))) 284 284 ... ... @@ -289,10 +289,10 @@ 289 289 290 290 Feature: Show All configure. No downlink command yet. 291 291 278 +{{info}} 279 +**AT Command: AT+CFG** 280 +{{/info}} 292 292 293 -(% style="color:blue" %)**AT Command: AT+CFG** 294 - 295 - 296 296 (% border="1" style="background-color:#ffffcc; color:green; width:599.222px" %) 297 297 |=(% colspan="3" style="width: 596px;" %)AT+CFG: Print all configurations 298 298 |(% style="width:160px" %)**Command Example**|(% style="width:154px" %)**Function**|(% style="width:280px" %)**Response** ... ... @@ -316,10 +316,10 @@ 316 316 317 317 Feature: Get or Set the Application EUI. 318 318 305 +{{info}} 306 +**AT Command: AT+APPEUI** 307 +{{/info}} 319 319 320 -(% style="color:blue" %)**AT Command: AT+APPEUI** 321 - 322 - 323 323 (% border="1" style="background-color:#ffffcc; color:green; width:686.222px" %) 324 324 |=(% colspan="3" style="width: 683px;" %)AT+APPEUI 325 325 |(% style="width:305px" %)**Command Example**|(% style="width:186px" %)**Function**|(% style="width:191px" %)**Response** ... ... @@ -332,10 +332,10 @@ 332 332 333 333 Feature: Get or Set the Application Key. 334 334 321 +{{info}} 322 +**AT Command: AT+APPKEY** 323 +{{/info}} 335 335 336 -(% style="color:blue" %)**AT Command: AT+APPKEY** 337 - 338 - 339 339 (% border="1" style="background-color:#ffffcc; color:green; width:976.222px" %) 340 340 |=(% colspan="3" style="width: 973px;" %)AT+APPKEY 341 341 |(% style="width:441px" %)**Command Example**|(% style="width:180px" %)**Function**|(% style="width:350px" %)**Response** ... ... @@ -348,10 +348,10 @@ 348 348 349 349 Feature: Get or Set the Application Session Key. 350 350 337 +{{info}} 338 +**AT Command: AT+APPSKEY** 339 +{{/info}} 351 351 352 -(% style="color:blue" %)**AT Command: AT+APPSKEY** 353 - 354 - 355 355 (% border="1" style="background-color:#ffffcc; color:green; width:1040.22px" %) 356 356 |=(% colspan="3" style="width: 1037px;" %)AT+APPSKEY 357 357 |(% style="width:451px" %)**Command Example**|(% style="width:231px" %)**Function**|(% style="width:354px" %)**Response** ... ... @@ -366,10 +366,10 @@ 366 366 367 367 Feature: Get or Set the Device Address. 368 368 355 +{{info}} 356 +**AT Command: AT+DADDR** 357 +{{/info}} 369 369 370 -(% style="color:blue" %)**AT Command: AT+DADDR** 371 - 372 - 373 373 (% border="1" style="background-color:#ffffcc; color:green; width:795.222px" %) 374 374 |=(% colspan="3" style="width: 792px;" %)AT+DADDR 375 375 |(% style="width:192px" %)**Command Example**|(% style="width:241px" %)**Function**|(% style="width:359px" %)**Response** ... ... @@ -384,10 +384,10 @@ 384 384 385 385 Feature: Get or Set the Device EUI. 386 386 373 +{{info}} 374 +**AT Command: AT+DEUI** 375 +{{/info}} 387 387 388 -(% style="color:blue" %)**AT Command: AT+DEUI** 389 - 390 - 391 391 (% border="1" style="background-color:#ffffcc; color:green; width:1035.22px" %) 392 392 |=(% colspan="3" style="width: 1032px;" %)AT+DEUI 393 393 |(% style="width:250px" %)**Command Example**|(% style="width:147px" %)**Function**|(% style="width:634px" %)**Response** ... ... @@ -402,10 +402,10 @@ 402 402 403 403 Feature: Get or Set the Network ID.(You can enter this command change only after successful network connection) 404 404 391 +{{info}} 392 +**AT Command: AT+NWKID** 393 +{{/info}} 405 405 406 -(% style="color:blue" %)**AT Command: AT+NWKID** 407 - 408 - 409 409 (% border="1" style="background-color:#ffffcc; color:green; width:448.222px" %) 410 410 |=(% colspan="3" style="width: 445px;" %)AT+NWKID 411 411 |(% style="width:191px" %)**Command Example**|(% style="width:153px" %)**Function**|(% style="width:101px" %)**Response** ... ... @@ -418,10 +418,10 @@ 418 418 419 419 Feature: Get or Set the Network Session Key 420 420 407 +{{info}} 408 +**AT Command: AT+NWKSKEY** 409 +{{/info}} 421 421 422 -(% style="color:blue" %)**AT Command: AT+NWKSKEY** 423 - 424 - 425 425 (% border="1" style="background-color:#ffffcc; color:green; width:1017.22px" %) 426 426 |=(% colspan="3" style="width: 1014px;" %)AT+NWKSKEY 427 427 |(% style="width:455px" %)**Command Example**|(% style="width:215px" %)**Function**|(% style="width:343px" %)**Response** ... ... @@ -438,10 +438,10 @@ 438 438 439 439 Feature: Get or Set the confirmation mode (0-1). 440 440 427 +{{info}} 428 +**AT Command: AT+CFM** 429 +{{/info}} 441 441 442 -(% style="color:blue" %)**AT Command: AT+CFM** 443 - 444 - 445 445 (% border="1" style="background-color:#ffffcc; color:green; width:710.222px" %) 446 446 |=(% colspan="3" style="width: 707px;" %)AT+CFM 447 447 |(% style="width:155px" %)**Command Example**|(% style="width:205px" %)**Function**|(% style="width:346px" %)**Response** ... ... @@ -451,7 +451,7 @@ 451 451 |(% style="width:155px" %)AT+CFM=1|(% style="width:205px" %)Set the confirmation mode|(% style="width:346px" %)OK 452 452 |(% style="width:155px" %)AT+CFM=2|(% style="width:205px" %)Set the confirmation mode|(% style="width:346px" %)While Error in format, return AT_PARAM_ERROR 453 453 454 - (% style="color:blue" %)**Downlink Command: 0x05**440 +Downlink Command: 0x05 455 455 456 456 Format: Command Code (0x05) followed by 2 bytes mode value. 457 457 ... ... @@ -462,10 +462,10 @@ 462 462 463 463 === AT+CFM command since DR-LWS007 software stack === 464 464 451 +{{info}} 452 +**AT Command: AT+CFM** 453 +{{/info}} 465 465 466 -(% style="color:blue" %)**AT Command: AT+CFM** 467 - 468 - 469 469 (% border="1" style="background-color:#ffffcc; color:green; width:710.222px" %) 470 470 |=(% colspan="3" style="width: 707px;" %)AT+CFM 471 471 |(% style="width:160px" %)**Command Example**|(% style="width:198px" %)**Function**|(% style="width:349px" %)**Response** ... ... @@ -497,9 +497,10 @@ 497 497 OK 498 498 ))) 499 499 500 -(% style="color:blue" %)**Downlink Command: 0x05** 486 +{{info}} 487 +**Downlink Command: 0x05** 488 +{{/info}} 501 501 502 - 503 503 Format: Command Code (0x05) followed by 2 bytes mode value. 504 504 505 505 If the downlink payload=05010101, it means set end node to use confirm mode, while type code is 05. ... ... @@ -511,10 +511,10 @@ 511 511 512 512 Feature: Get confirmation status of the last AT+SEND (0-1). 513 513 501 +{{info}} 502 +**AT Command: AT+CFS** 503 +{{/info}} 514 514 515 -(% style="color:blue" %)**AT Command: AT+CFS** 516 - 517 - 518 518 (% border="1" style="background-color:#ffffcc; color:green; width:534.222px" %) 519 519 |=(% colspan="3" style="width: 531px;" %)AT+CFS 520 520 |(% style="width:156px" %)**Command Example**|(% style="width:193px" %)**Function**|(% style="width:178px" %)**Response** ... ... @@ -526,10 +526,10 @@ 526 526 527 527 Feature: Join network. 528 528 516 +{{info}} 517 +**AT Command: AT+JOIN** 518 +{{/info}} 529 529 530 -(% style="color:blue" %)**AT Command: AT+JOIN** 531 - 532 - 533 533 (% border="1" style="background-color:#ffffcc; color:green; width:647.222px" %) 534 534 |=(% colspan="3" style="width: 644px;" %)AT+JOIN 535 535 |(% style="width:163px" %)**Command Example**|(% style="width:147px" %)**Function**|(% style="width:334px" %)**Response** ... ... @@ -543,10 +543,10 @@ 543 543 544 544 Feature: Get or Set the Network Join Mode. (0: ABP, 1: OTAA). 545 545 533 +{{info}} 534 +**AT Command: AT+NJM** 535 +{{/info}} 546 546 547 -(% style="color:blue" %)**AT Command: AT+NJM** 548 - 549 - 550 550 (% border="1" style="background-color:#ffffcc; color:green; width:753.222px" %) 551 551 |=(% colspan="3" style="width: 750px;" %)AT+NJM 552 552 |(% style="width:162px" %)**Command Example**|(% style="width:227px" %)**Function**|(% style="width:361px" %)**Response** ... ... @@ -556,9 +556,10 @@ 556 556 |(% style="width:162px" %)AT+NJM=0|(% style="width:227px" %)Set the Network Join Mode|(% style="width:361px" %)OK 557 557 |(% style="width:162px" %)AT+NJM=2|(% style="width:227px" %)Set the Network Join Mode|(% style="width:361px" %)While Error in format, return AT_PARAM_ERROR 558 558 559 -(% style="color:blue" %)**Downlink Command: 0x20** 546 +{{info}} 547 +**Downlink Command: 0x20** 548 +{{/info}} 560 560 561 - 562 562 Format: Command Code (0x20) followed by 1 bytes mode value. 563 563 564 564 If the downlink payload=2000, it means set the Network Join Mode, while type code is 20. ... ... @@ -570,10 +570,10 @@ 570 570 571 571 Feature: LoRa® Network Join Status. 572 572 561 +{{info}} 562 +**AT Command: AT+NJS** 563 +{{/info}} 573 573 574 -(% style="color:blue" %)**AT Command: AT+NJS** 575 - 576 - 577 577 (% border="1" style="background-color:#ffffcc; color:green; width:498.222px" %) 578 578 |=(% colspan="3" style="width: 495px;" %)AT+NJS 579 579 |(% style="width:169px" %)**Command Example**|(% style="width:164px" %)**Function**|(% style="width:161px" %)**Response** ... ... @@ -585,10 +585,10 @@ 585 585 586 586 Feature: Print Last Received Data in Raw Format<port:data>. 587 587 576 +{{info}} 577 +**AT Command: AT+RECV** 578 +{{/info}} 588 588 589 -(% style="color:blue" %)**AT Command: AT+RECV** 590 - 591 - 592 592 (% border="1" style="background-color:#ffffcc; color:green; width:587.222px" %) 593 593 |=(% colspan="3" style="width: 584px;" %)AT+RECV 594 594 |(% style="width:161px" %)**Command Example**|(% style="width:272px" %)**Function**|(% style="width:150px" %)**Response** ... ... @@ -600,10 +600,10 @@ 600 600 601 601 Feature: Print Last Received Data in Binary Format<port:data>. 602 602 591 +{{info}} 592 +**AT Command: AT+RECVB** 593 +{{/info}} 603 603 604 -(% style="color:blue" %)**AT Command: AT+RECVB** 605 - 606 - 607 607 (% border="1" style="background-color:#ffffcc; color:green; width:793.222px" %) 608 608 |=(% colspan="3" style="width: 790px;" %)AT+RECVB 609 609 |(% style="width:173px" %)**Command Example**|(% style="width:497px" %)**Function**|(% style="width:120px" %)**Response** ... ... @@ -615,10 +615,10 @@ 615 615 616 616 Feature: Send Text Data<port:data>. 617 617 606 +{{info}} 607 +**AT Command: AT+SEND** 608 +{{/info}} 618 618 619 -(% style="color:blue" %)**AT Command: AT+SEND** 620 - 621 - 622 622 (% border="1" style="background-color:#ffffcc; color:green; width:991.222px" %) 623 623 |=(% colspan="3" style="width: 988px;" %)AT+SEND 624 624 |(% style="width:201px" %)**Command Example**|(% style="width:340px" %)**Function**|(% style="width:446px" %)**Response** ... ... @@ -634,10 +634,10 @@ 634 634 635 635 Feature: Send hexadecimal data along with the application port. 636 636 625 +{{info}} 626 +**AT Command: AT+SENDB** 627 +{{/info}} 637 637 638 -(% style="color:blue" %)**AT Command: AT+SENDB** 639 - 640 - 641 641 (% border="1" style="background-color:#ffffcc; color:green; width:1120.22px" %) 642 642 |=(% colspan="3" style="width: 1117px;" %)AT+SENDB 643 643 |(% style="width:257px" %)**Command Example**|(% style="width:406px" %)**Function**|(% style="width:453px" %)**Response** ... ... @@ -654,10 +654,10 @@ 654 654 655 655 Feature: Get or Set the Adaptive Data Rate setting. (0: off, 1: on). 656 656 645 +{{info}} 646 +**AT Command: AT+ADR** 647 +{{/info}} 657 657 658 -(% style="color:blue" %)**AT Command: AT+ADR** 659 - 660 - 661 661 (% border="1" style="background-color:#ffffcc; color:green; width:683.222px" %) 662 662 |=(% colspan="3" style="width: 680px;" %)AT+ADR 663 663 |(% style="width:162px" %)**Command Example**|(% style="width:266px" %)**Function**|(% style="width:250px" %)**Response** ... ... @@ -669,10 +669,11 @@ 669 669 AT_PARAM_ERROR 670 670 ))) 671 671 672 -(% style="color:blue" %)**Downlink Command: 0x22** 660 +{{info}} 661 +**Downlink Command: 0x22** 662 +{{/info}} 673 673 674 674 675 - 676 676 If the downlink payload=2201, it means setting the adaptive data rate to 1, while type code is 22. 677 677 678 678 * **Example 1**: Downlink Payload: **2201** ~/~/ Set AT+ADR=1. ... ... @@ -682,10 +682,10 @@ 682 682 683 683 Feature: Get or Set the Device Class(Currently only support class A, class C). 684 684 674 +{{info}} 675 +**AT Command:AT+CLASS** 676 +{{/info}} 685 685 686 -(% style="color:blue" %)**AT Command:AT+CLASS** 687 - 688 - 689 689 (% border="1" style="background-color:#ffffcc; color:green; width:507.222px" %) 690 690 |=(% colspan="3" style="width: 504px;" %)AT+CLASS 691 691 |(% style="width:163px" %)**Command Example**|(% style="width:166px" %)**Function**|(% style="width:175px" %)**Response** ... ... @@ -700,10 +700,10 @@ 700 700 701 701 Feature: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing. 702 702 692 +{{info}} 693 +**AT Command:AT+DCS** 694 +{{/info}} 703 703 704 -(% style="color:blue" %)**AT Command:AT+DCS** 705 - 706 - 707 707 (% border="1" style="background-color:#ffffcc; color:green; width:515.222px" %) 708 708 |=(% colspan="3" style="width: 512px;" %)AT+DCS 709 709 |(% style="width:165px" %)**Command Example**|(% style="width:239px" %)**Function**|(% style="width:107px" %)**Response** ... ... @@ -718,10 +718,10 @@ 718 718 719 719 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 720 720 710 +{{info}} 711 +**AT Command: AT+DR** 712 +{{/info}} 721 721 722 -(% style="color:blue" %)**AT Command: AT+DR** 723 - 724 - 725 725 (% border="1" style="background-color:#ffffcc; color:green; width:466.222px" %) 726 726 |=(% colspan="3" style="width: 463px;" %)AT+DR 727 727 |(% style="width:156px" %)**Command Example**|(% style="width:167px" %)**Function**|(% style="width:140px" %)**Response** ... ... @@ -732,10 +732,11 @@ 732 732 733 733 ))) 734 734 735 -(% style="color:blue" %)**Downlink Command: 0x2200aaFF** 724 +{{info}} 725 +**Downlink Command: 0x2200aaFF** 726 +{{/info}} 736 736 737 737 738 - 739 739 If the downlink payload=220001FF, it means setting the data rate to 1, while type code is 22 00 aa FF. 740 740 741 741 * **Example 1**: Downlink Payload: **220001FF** ~/~/ Set AT+DR=1. ... ... @@ -745,10 +745,10 @@ 745 745 746 746 Feature: Get or Set the Frame Counter Downlink. 747 747 738 +{{info}} 739 +**AT Command:AT+FCD** 740 +{{/info}} 748 748 749 -(% style="color:blue" %)**AT Command:AT+FCD** 750 - 751 - 752 752 (% border="1" style="background-color:#ffffcc; color:green; width:693.222px" %) 753 753 |=(% colspan="3" style="width: 690px;" %)AT+FCD 754 754 |(% style="width:162px" %)**Command Example**|(% style="width:258px" %)**Function**|(% style="width:269px" %)**Response** ... ... @@ -765,10 +765,10 @@ 765 765 766 766 Feature: Get or Set the Frame Counter Uplink. 767 767 758 +{{info}} 759 +**AT Command:AT+FCU** 760 +{{/info}} 768 768 769 -(% style="color:blue" %)**AT Command:AT+FCU** 770 - 771 - 772 772 (% border="1" style="background-color:#ffffcc; color:green; width:534.222px" %) 773 773 |=(% colspan="3" style="width: 531px;" %)AT+FCU 774 774 |(% style="width:177px" %)**Command Example**|(% style="width:239px" %)**Function**|(% style="width:113px" %)**Response** ... ... @@ -783,10 +783,10 @@ 783 783 784 784 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms. 785 785 776 +{{info}} 777 +**AT Command:AT+JN1DL** 778 +{{/info}} 786 786 787 -(% style="color:blue" %)**AT Command:AT+JN1DL** 788 - 789 - 790 790 (% border="1" style="background-color:#ffffcc; color:green; width:537.222px" %) 791 791 |=(% colspan="3" style="width: 534px;" %)AT+JN1DL 792 792 |(% style="width:164px" %)**Command Example**|(% style="width:229px" %)**Function**|(% style="width:140px" %)**Response** ... ... @@ -801,10 +801,10 @@ 801 801 802 802 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms. 803 803 794 +{{info}} 795 +**AT Command:AT+JN2DL** 796 +{{/info}} 804 804 805 -(% style="color:blue" %)**AT Command:AT+JN2DL** 806 - 807 - 808 808 (% border="1" style="background-color:#ffffcc; color:green; width:538.222px" %) 809 809 |=(% colspan="3" style="width: 535px;" %)AT+JN2DL 810 810 |(% style="width:160px" %)**Command Example**|(% style="width:228px" %)**Function**|(% style="width:146px" %)**Response** ... ... @@ -821,10 +821,10 @@ 821 821 822 822 Notice: If user build their own LoRaWAN server but still use syncword=0x34, this is still considered a public LoRaWAN network 823 823 814 +{{info}} 815 +**AT Command:AT+PNM** 816 +{{/info}} 824 824 825 -(% style="color:blue" %)**AT Command:AT+PNM** 826 - 827 - 828 828 (% border="1" style="background-color:#ffffcc; color:green; width:667.222px" %) 829 829 |=(% colspan="3" style="width: 664px;" %)AT+PNM 830 830 |(% style="width:166px" %)**Command Example**|(% style="width:225px" %)**Function**|(% style="width:272px" %)**Response** ... ... @@ -846,10 +846,10 @@ 846 846 847 847 Feature: Get or Set the delay between the end of the Tx and the Rx Window 1 in ms 848 848 839 +{{info}} 840 +**AT Command:AT+RX1DL** 841 +{{/info}} 849 849 850 -(% style="color:blue" %)**AT Command:AT+RX1DL** 851 - 852 - 853 853 (% border="1" style="background-color:#ffffcc; color:green; width:408.222px" %) 854 854 |=(% colspan="3" style="width: 405px;" %)AT+RX1DL 855 855 |(% style="width:155px" %)**Command Example**|(% style="width:128px" %)**Function**|(% style="width:122px" %)**Response** ... ... @@ -864,10 +864,10 @@ 864 864 865 865 Feature: Get or Set the delay between the end of the Tx and the Rx Window 2 in ms 866 866 857 +{{info}} 858 +**AT Command:AT+RX2DL** 859 +{{/info}} 867 867 868 -(% style="color:blue" %)**AT Command:AT+RX2DL** 869 - 870 - 871 871 (% border="1" style="background-color:#ffffcc; color:green; width:481.222px" %) 872 872 |=(% colspan="3" style="width: 478px;" %)AT+RX2DL 873 873 |(% style="width:175px" %)**Command Example**|(% style="width:152px" %)**Function**|(% style="width:150px" %)**Response** ... ... @@ -882,10 +882,10 @@ 882 882 883 883 Feature: Get or Set the Rx2 window data rate (0-7 corresponding to DR_X) 884 884 875 +{{info}} 876 +**AT Command:AT+RX2DR** 877 +{{/info}} 885 885 886 -(% style="color:blue" %)**AT Command:AT+RX2DR** 887 - 888 - 889 889 (% border="1" style="background-color:#ffffcc; color:green; width:525.222px" %) 890 890 |=(% colspan="3" style="width: 522px;" %)AT+RX2DR 891 891 |(% style="width:160px" %)**Command Example**|(% style="width:232px" %)**Function**|(% style="width:130px" %)**Response** ... ... @@ -900,10 +900,10 @@ 900 900 901 901 Feature: Get or Set the Rx2 window frequency 902 902 893 +{{info}} 894 +**AT Command:AT+RX2FQ** 895 +{{/info}} 903 903 904 -(% style="color:blue" %)**AT Command:AT+RX2FQ** 905 - 906 - 907 907 (% border="1" style="background-color:#ffffcc; color:green; width:587.222px" %) 908 908 |=(% colspan="3" style="width: 584px;" %)AT+RX2FQ 909 909 |(% style="width:183px" %)**Command Example**|(% style="width:240px" %)**Function**|(% style="width:160px" %)**Response** ... ... @@ -918,10 +918,10 @@ 918 918 919 919 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. ) 920 920 911 +{{info}} 912 +**AT Command:AT+TXP** 913 +{{/info}} 921 921 922 -(% style="color:blue" %)**AT Command:AT+TXP** 923 - 924 - 925 925 (% border="1" style="background-color:#ffffcc; color:green; width:465.222px" %) 926 926 |=(% colspan="3" style="width: 462px;" %)AT+TXP 927 927 |(% style="width:161px" %)**Command Example**|(% style="width:189px" %)**Function**|(% style="width:112px" %)**Response** ... ... @@ -943,10 +943,10 @@ 943 943 944 944 Feature: Get or Set the Rx2 window frequency 945 945 936 +{{info}} 937 +**AT Command:AT+RSSI** 938 +{{/info}} 946 946 947 -(% style="color:blue" %)**AT Command:AT+RSSI** 948 - 949 - 950 950 (% border="1" style="background-color:#ffffcc; color:green; width:557.222px" %) 951 951 |=(% colspan="3" style="width: 554px;" %)AT+RSSI 952 952 |(% style="width:164px" %)**Command Example**|(% style="width:289px" %)**Function**|(% style="width:100px" %)**Response** ... ... @@ -958,10 +958,10 @@ 958 958 959 959 Feature: Get the SNR of the last received packet 960 960 951 +{{info}} 952 +**AT Command:AT+SNR** 953 +{{/info}} 961 961 962 -(% style="color:blue" %)**AT Command:AT+SNR** 963 - 964 - 965 965 (% border="1" style="background-color:#ffffcc; color:green; width:571.222px" %) 966 966 |=(% colspan="3" style="width: 568px;" %)AT+SNR 967 967 |(% style="width:164px" %)**Command Example**|(% style="width:290px" %)**Function**|(% style="width:113px" %)**Response** ... ... @@ -973,10 +973,10 @@ 973 973 974 974 Feature: Get or set the application port. 975 975 966 +{{info}} 967 +**AT Command: AT+PORT** 968 +{{/info}} 976 976 977 -(% style="color:blue" %)**AT Command: AT+PORT** 978 - 979 - 980 980 (% border="1" style="background-color:#ffffcc; color:green; width:500.222px" %) 981 981 |=(% colspan="3" style="width: 497px;" %)AT+PORT 982 982 |(% style="width:157px" %)**Command Example**|(% style="width:204px" %)**Function**|(% style="width:135px" %)**Response** ... ... @@ -985,9 +985,10 @@ 985 985 ))) 986 986 |(% style="width:157px" %)AT+PORT=21|(% style="width:204px" %)Set the application port|(% style="width:135px" %)OK 987 987 988 -(% style="color:blue" %)**Downlink Command: 0x23** 978 +{{info}} 979 +**Downlink Command: 0x23** 980 +{{/info}} 989 989 990 - 991 991 Format: Command Code (0x23) followed by 1 bytes port value. 992 992 993 993 If the downlink payload=2301, it means set the application port to 1, while type code is 23. ... ... @@ -999,10 +999,10 @@ 999 999 1000 1000 Feature:Get or Set Frequency (Unit: Hz) for Single Channel Mode. 1001 1001 993 +{{info}} 994 +**AT Command: AT+CHS** 995 +{{/info}} 1002 1002 1003 -(% style="color:blue" %)**AT Command: AT+CHS** 1004 - 1005 - 1006 1006 (% border="1" style="background-color:#ffffcc; color:green; width:603.222px" %) 1007 1007 |=(% colspan="3" style="width: 600px;" %)AT+CHS 1008 1008 |(% style="width:182px" %)**Command Example**|(% style="width:295px" %)**Function**|(% style="width:122px" %)**Response** ... ... @@ -1015,10 +1015,10 @@ 1015 1015 1016 1016 Feature: Get or Set eight channels mode,Only for US915,AU915,CN470. 1017 1017 1009 +{{info}} 1010 +**AT Command: AT+CHE** 1011 +{{/info}} 1018 1018 1019 -(% style="color:blue" %)**AT Command: AT+CHE** 1020 - 1021 - 1022 1022 (% border="1" style="background-color:#ffffcc; color:green; width:710.222px" %) 1023 1023 |=(% colspan="3" style="width: 707px;" %)AT+CHE 1024 1024 |(% style="width:160px" %)**Command Example**|(% style="width:198px" %)**Function**|(% style="width:349px" %)**Response** ... ... @@ -1029,9 +1029,10 @@ 1029 1029 ))) 1030 1030 |(% style="width:160px" %)AT+CHE=1|(% style="width:198px" %)Set eight channels mode|(% style="width:349px" %)OK 1031 1031 1032 -(% style="color:blue" %)**Downlink Command: 0x24** 1023 +{{info}} 1024 +**Downlink Command: 0x24** 1025 +{{/info}} 1033 1033 1034 - 1035 1035 Format: Command Code (0x24) followed by 1 bytes channel value. 1036 1036 1037 1037 If the downlink payload=2401, it means set channel mode to 1, while type code is 24. ... ... @@ -1043,10 +1043,10 @@ 1043 1043 1044 1044 Feature:Get or Set the number of symbols to detect and timeout from RXwindow1(0 to 255). 1045 1045 1038 +{{info}} 1039 +**AT Command: AT+RX1WTO** 1040 +{{/info}} 1046 1046 1047 -(% style="color:blue" %)**AT Command: AT+RX1WTO** 1048 - 1049 - 1050 1050 (% border="1" style="background-color:#ffffcc; color:green; width:460.222px" %) 1051 1051 |=(% colspan="3" style="width: 457px;" %)AT+ RX1WTO 1052 1052 |(% style="width:163px" %)**Command Example**|(% style="width:201px" %)**Function**|(% style="width:93px" %)**Response** ... ... @@ -1071,10 +1071,10 @@ 1071 1071 1072 1072 Feature:Get or Set the number of symbols to detect and timeout from RXwindow2(0 to 255). 1073 1073 1066 +{{info}} 1067 +**AT Command: AT+RX2WTO** 1068 +{{/info}} 1074 1074 1075 -(% style="color:blue" %)**AT Command: AT+RX2WTO** 1076 - 1077 - 1078 1078 (% border="1" style="background-color:#ffffcc; color:green; width:497.222px" %) 1079 1079 |=(% colspan="3" style="width: 494px;" %)AT+ RX2WTO 1080 1080 |(% style="width:190px" %)**Command Example**|(% style="width:199px" %)**Function**|(% style="width:104px" %)**Response** ... ... @@ -1087,10 +1087,10 @@ 1087 1087 1088 1088 Feature: Get or Set uplinkdwelltime 1089 1089 1082 +{{info}} 1083 +**AT Command: AT+DWELLT** 1084 +{{/info}} 1090 1090 1091 -(% style="color:blue" %)**AT Command: AT+DWELLT** 1092 - 1093 - 1094 1094 (% border="1" style="background-color:#ffffcc; color:green; width:497.222px" %) 1095 1095 |=(% colspan="3" style="width: 494px;" %)AT+DWELLT 1096 1096 |(% style="width:183px" %)**Command Example**|(% style="width:179px" %)**Function**|(% style="width:131px" %)**Response** ... ... @@ -1099,9 +1099,10 @@ 1099 1099 ))) 1100 1100 |(% style="width:183px" %)AT+DWELLT=0|(% style="width:179px" %)Set uplinkdwelltime|(% style="width:131px" %)OK 1101 1101 1102 -(% style="color:blue" %)**Downlink Command: 0x25** 1094 +{{info}} 1095 +**Downlink Command: 0x25** 1096 +{{/info}} 1103 1103 1104 - 1105 1105 Format: Command Code (0x25) followed by 1 bytes state value. 1106 1106 1107 1107 If the downlink payload=2501, it means set uplinkdwelltime to 1, while type code is 25. ... ... @@ -1127,9 +1127,10 @@ 1127 1127 * For Class C devices used in ChirpStack, need to set AT+RPL=4 because Chirpstack require immedietely reply message to MAC Command. 1128 1128 * For Class C devices used in TTI, need to set AT+RPL=4 because TTI require immediately reply message to Confirmed Data Down & MAC Command. 1129 1129 1130 -(% style="color:blue" %)**AT Command: AT+RPL** 1123 +{{info}} 1124 +**AT Command: AT+RPL** 1125 +{{/info}} 1131 1131 1132 - 1133 1133 (% border="1" style="background-color:#ffffcc; color:green; width:536.222px" %) 1134 1134 |=(% colspan="3" style="width: 533px;" %)AT+RPL 1135 1135 |(% style="width:160px" %)**Command Example**|(% style="width:263px" %)**Function**|(% style="width:109px" %)**Response** ... ... @@ -1138,9 +1138,10 @@ 1138 1138 ))) 1139 1139 |(% style="width:160px" %)AT+RPL=0|(% style="width:263px" %)Set packet receiving response level|(% style="width:109px" %)OK 1140 1140 1141 -(% style="color:blue" %)**Downlink Command: 0x21** 1135 +{{info}} 1136 +**Downlink Command: 0x21** 1137 +{{/info}} 1142 1142 1143 - 1144 1144 Format: Command Code (0x21) followed by 1 bytes level value. 1145 1145 1146 1146 If the downlink payload=2101, it means set packet receiving response level to 1, while type code is 21. ... ... @@ -1150,10 +1150,10 @@ 1150 1150 1151 1151 == 7.24 Controls NBTrans in unconfirmed uplink mode(LWS007 NBTrans:Set retransmission packets) == 1152 1152 1148 +{{info}} 1149 +**AT Command: AT+SETMAXNBTRANS ** 1150 +{{/info}} 1153 1153 1154 -(% style="color:blue" %)**AT Command: AT+SETMAXNBTRANS ** 1155 - 1156 - 1157 1157 (% border="1" style="background-color:#ffffcc; color:green; width:536.222px" %) 1158 1158 |=(% colspan="3" style="width: 533px;" %)AT+**SETMAXNBTRANS** 1159 1159 |(% style="width:160px" %)**Command Example**|(% style="width:263px" %)**Function**|(% style="width:109px" %)**Response** ... ... @@ -1166,9 +1166,10 @@ 1166 1166 OK 1167 1167 ))) 1168 1168 1169 -(% style="color:blue" %)**Downlink Command: 0x33** 1164 +{{info}} 1165 +**Downlink Command: 0x33** 1166 +{{/info}} 1170 1170 1171 - 1172 1172 Format: Command Code (0x33) followed by 2 bytes mode value. 1173 1173 1174 1174 If the downlink payload=330100, it means set end node to use confirm mode, while type code is 33. ... ... @@ -1178,10 +1178,10 @@ 1178 1178 1179 1179 == 7.25 Device offline rejoining (LWS007) == 1180 1180 1177 +{{info}} 1178 +**AT Command: AT+DDETECT** 1179 +{{/info}} 1181 1181 1182 -(% style="color:blue" %)**AT Command: AT+DDETECT** 1183 - 1184 - 1185 1185 (% border="1" style="background-color:#ffffcc; color:green; width:710.222px" %) 1186 1186 |=(% colspan="3" style="width: 707px;" %)AT+**DDETECT** 1187 1187 |(% style="width:160px" %)**Command Example**|(% style="width:198px" %)**Function**|(% style="width:349px" %)**Response** ... ... @@ -1213,9 +1213,10 @@ 1213 1213 OK 1214 1214 ))) 1215 1215 1216 -(% style="color:blue" %)**Downlink Command: 0x33** 1212 +{{info}} 1213 +**Downlink Command: 0x33** 1214 +{{/info}} 1217 1217 1218 - 1219 1219 Format: Command Code (0x32) followed by 2 bytes mode value. 1220 1220 1221 1221 If the downlink payload=320105A00B40, it means set end node to use confirm mode, while type code is 33. ... ... @@ -1224,10 +1224,10 @@ 1224 1224 1225 1225 == 7.26 Request the server to send an ACK == 1226 1226 1224 +{{info}} 1225 +**AT Command: AT+PNACKMD** 1226 +{{/info}} 1227 1227 1228 -(% style="color:blue" %)**AT Command: AT+PNACKMD** 1229 - 1230 - 1231 1231 (% border="1" style="background-color:#ffffcc; color:green; width:536.222px" %) 1232 1232 |=(% colspan="3" style="width: 533px;" %)**AT+PNACKMD** 1233 1233 |(% style="width:160px" %)**Command Example**|(% style="width:263px" %)**Function**|(% style="width:109px" %)**Response** ... ... @@ -1242,10 +1242,10 @@ 1242 1242 1243 1243 == 7.27 Adjust network rejoining interval == 1244 1244 1242 +{{info}} 1243 +**AT Command: AT+RJTDC** 1244 +{{/info}} 1245 1245 1246 -(% style="color:blue" %)**AT Command: AT+RJTDC** 1247 - 1248 - 1249 1249 (% border="1" style="background-color:#ffffcc; color:green; width:727.222px" %) 1250 1250 |=(% colspan="3" style="width: 724px;" %)AT+RJTDC 1251 1251 |(% style="width:165px" %)**Command Example**|(% style="width:227px" %)**Function**|(% style="width:329px" %)**Response** ... ... @@ -1258,9 +1258,10 @@ 1258 1258 Set the ReJoin data transmission interval to 60000ms = 60 seconds 1259 1259 ))) 1260 1260 1261 -(% style="color:blue" %)**Downlink Command: 0x26** 1258 +{{info}} 1259 +**Downlink Command: 0x26** 1260 +{{/info}} 1262 1262 1263 - 1264 1264 Format: Command Code (0x26) followed by 2 bytes mode value. 1265 1265 1266 1266 If the downlink payload=26000A, it means set end node to use confirm mode, while type code is 26. ... ... @@ -1277,12 +1277,13 @@ 1277 1277 1278 1278 == 8.2 Use Downlink Command to set a fix uplink DR == 1279 1279 1278 +{{info}} 1279 +**Downlink Command: 0x22000500** 1280 +{{/info}} 1280 1280 1281 -(% style="color:blue" %)**Downlink Command: 0x22000500** 1282 - 1283 - 1284 1284 Same as: 1285 1285 1286 1286 * AT+ADR=0 [[Reference>>||anchor="H7.1AdaptiveDataRate"]] 1287 1287 * AT+DR=5 [[Reference>>||anchor="H7.4DataRate"]] 1288 1288 * AT+TXP=0 [[Reference>>||anchor="H7.14TransmitPower"]] 1287 +~)~)~)