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
-
... ... @@ -353,12 +353,12 @@ 353 353 354 354 == 5.3 Application Session Key == 355 355 356 + 356 356 Feature: Get or Set the Application Session Key. 357 357 358 358 359 359 (% style="color:blue" %)**AT Command: AT+APPSKEY** 360 360 361 - 362 362 (% border="1" style="background-color:#ffffcc; color:green; width:1040.22px" %) 363 363 |=(% colspan="3" style="width: 1037px;" %)AT+APPSKEY 364 364 |(% style="width:451px" %)**Command Example**|(% style="width:231px" %)**Function**|(% style="width:354px" %)**Response** ... ... @@ -369,14 +369,16 @@ 369 369 OK 370 370 ))) 371 371 372 + 373 + 372 372 == 5.4 Device Address == 373 373 376 + 374 374 Feature: Get or Set the Device Address. 375 375 376 376 377 377 (% style="color:blue" %)**AT Command: AT+DADDR** 378 378 379 - 380 380 (% border="1" style="background-color:#ffffcc; color:green; width:795.222px" %) 381 381 |=(% colspan="3" style="width: 792px;" %)AT+DADDR 382 382 |(% style="width:192px" %)**Command Example**|(% style="width:241px" %)**Function**|(% style="width:359px" %)**Response** ... ... @@ -387,14 +387,16 @@ 387 387 ))) 388 388 |(% style="width:192px" %)AT+DADDR=A8 40 41 FF|(% style="width:241px" %)Set the Application Session Key.|(% style="width:359px" %)OK 389 389 392 + 393 + 390 390 == 5.5 Device EUI == 391 391 396 + 392 392 Feature: Get or Set the Device EUI. 393 393 394 394 395 395 (% style="color:blue" %)**AT Command: AT+DEUI** 396 396 397 - 398 398 (% border="1" style="background-color:#ffffcc; color:green; width:1035.22px" %) 399 399 |=(% colspan="3" style="width: 1032px;" %)AT+DEUI 400 400 |(% style="width:250px" %)**Command Example**|(% style="width:147px" %)**Function**|(% style="width:634px" %)**Response** ... ... @@ -405,14 +405,16 @@ 405 405 OK 406 406 ))) 407 407 412 + 413 + 408 408 == 5.6 Network ID == 409 409 416 + 410 410 Feature: Get or Set the Network ID.(You can enter this command change only after successful network connection) 411 411 412 412 413 413 (% style="color:blue" %)**AT Command: AT+NWKID** 414 414 415 - 416 416 (% border="1" style="background-color:#ffffcc; color:green; width:448.222px" %) 417 417 |=(% colspan="3" style="width: 445px;" %)AT+NWKID 418 418 |(% style="width:191px" %)**Command Example**|(% style="width:153px" %)**Function**|(% style="width:101px" %)**Response** ... ... @@ -421,14 +421,16 @@ 421 421 ))) 422 422 |(% style="width:191px" %)AT+NWKID=A8 40 41 FF|(% style="width:153px" %)Set the Network ID.|(% style="width:101px" %)OK 423 423 430 + 431 + 424 424 == 5.7 Network Session Key == 425 425 434 + 426 426 Feature: Get or Set the Network Session Key 427 427 428 428 429 429 (% style="color:blue" %)**AT Command: AT+NWKSKEY** 430 430 431 - 432 432 (% border="1" style="background-color:#ffffcc; color:green; width:1017.22px" %) 433 433 |=(% colspan="3" style="width: 1014px;" %)AT+NWKSKEY 434 434 |(% style="width:455px" %)**Command Example**|(% style="width:215px" %)**Function**|(% style="width:343px" %)**Response** ... ... @@ -437,18 +437,22 @@ 437 437 ))) 438 438 |(% 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 439 439 448 + 449 + 440 440 = 6. Joining and sending date on LoRaWAN network = 441 441 452 + 442 442 == 6.1 Confirm Mode == 443 443 444 -=== AT+CFM command before DR-LWS007 software stack === 445 445 456 +=== 6.1.1 AT+CFM command before DR-LWS007 software stack === 457 + 458 + 446 446 Feature: Get or Set the confirmation mode (0-1). 447 447 448 448 449 449 (% style="color:blue" %)**AT Command: AT+CFM** 450 450 451 - 452 452 (% border="1" style="background-color:#ffffcc; color:green; width:710.222px" %) 453 453 |=(% colspan="3" style="width: 707px;" %)AT+CFM 454 454 |(% style="width:155px" %)**Command Example**|(% style="width:205px" %)**Function**|(% style="width:346px" %)**Response** ... ... @@ -458,6 +458,7 @@ 458 458 |(% style="width:155px" %)AT+CFM=1|(% style="width:205px" %)Set the confirmation mode|(% style="width:346px" %)OK 459 459 |(% style="width:155px" %)AT+CFM=2|(% style="width:205px" %)Set the confirmation mode|(% style="width:346px" %)While Error in format, return AT_PARAM_ERROR 460 460 473 + 461 461 (% style="color:blue" %)**Downlink Command: 0x05** 462 462 463 463 Format: Command Code (0x05) followed by 2 bytes mode value. ... ... @@ -467,12 +467,14 @@ 467 467 * Example 1: Downlink Payload: 0501 ~/~/ Set AT+CFM=1 468 468 * Example 2: Downlink Payload: 0500 ~/~/ Set AT+CFM=0 469 469 470 -=== AT+CFM command since DR-LWS007 software stack === 471 471 472 472 473 -(% style="color:blue" %)**AT Command: AT+CFM** 474 474 486 +=== 6.1.2 AT+CFM command since DR-LWS007 software stack === 475 475 488 + 489 +(% style="color:blue" %)**AT Command: AT+CFM** 490 + 476 476 (% border="1" style="background-color:#ffffcc; color:green; width:710.222px" %) 477 477 |=(% colspan="3" style="width: 707px;" %)AT+CFM 478 478 |(% style="width:160px" %)**Command Example**|(% style="width:198px" %)**Function**|(% style="width:349px" %)**Response** ... ... @@ -504,9 +504,9 @@ 504 504 OK 505 505 ))) 506 506 522 + 507 507 (% style="color:blue" %)**Downlink Command: 0x05** 508 508 509 - 510 510 Format: Command Code (0x05) followed by 2 bytes mode value. 511 511 512 512 If the downlink payload=05010101, it means set end node to use confirm mode, while type code is 05. ... ... @@ -514,14 +514,17 @@ 514 514 * Example 1: Downlink Payload: 05010101 ~/~/ Set AT+CFM=1,1,1 515 515 * Example 2: Downlink Payload: 05000700 ~/~/ Set AT+CFM=0,7,0 516 516 532 + 533 + 534 + 517 517 == 6.2 Confirm Status == 518 518 537 + 519 519 Feature: Get confirmation status of the last AT+SEND (0-1). 520 520 521 521 522 522 (% style="color:blue" %)**AT Command: AT+CFS** 523 523 524 - 525 525 (% border="1" style="background-color:#ffffcc; color:green; width:534.222px" %) 526 526 |=(% colspan="3" style="width: 531px;" %)AT+CFS 527 527 |(% style="width:156px" %)**Command Example**|(% style="width:193px" %)**Function**|(% style="width:178px" %)**Response** ... ... @@ -529,14 +529,16 @@ 529 529 OK 530 530 ))) 531 531 550 + 551 + 532 532 == 6.3 Join LoRa® Network == 533 533 554 + 534 534 Feature: Join network. 535 535 536 536 537 537 (% style="color:blue" %)**AT Command: AT+JOIN** 538 538 539 - 540 540 (% border="1" style="background-color:#ffffcc; color:green; width:647.222px" %) 541 541 |=(% colspan="3" style="width: 644px;" %)AT+JOIN 542 542 |(% style="width:163px" %)**Command Example**|(% style="width:147px" %)**Function**|(% style="width:334px" %)**Response** ... ... @@ -546,14 +546,16 @@ 546 546 While Error in format, return AT_BUSY_ERROR 547 547 ))) 548 548 569 + 570 + 549 549 == 6.4 LoRa® Network Join Mode == 550 550 573 + 551 551 Feature: Get or Set the Network Join Mode. (0: ABP, 1: OTAA). 552 552 553 553 554 554 (% style="color:blue" %)**AT Command: AT+NJM** 555 555 556 - 557 557 (% border="1" style="background-color:#ffffcc; color:green; width:753.222px" %) 558 558 |=(% colspan="3" style="width: 750px;" %)AT+NJM 559 559 |(% style="width:162px" %)**Command Example**|(% style="width:227px" %)**Function**|(% style="width:361px" %)**Response** ... ... @@ -563,9 +563,9 @@ 563 563 |(% style="width:162px" %)AT+NJM=0|(% style="width:227px" %)Set the Network Join Mode|(% style="width:361px" %)OK 564 564 |(% 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 565 565 588 + 566 566 (% style="color:blue" %)**Downlink Command: 0x20** 567 567 568 - 569 569 Format: Command Code (0x20) followed by 1 bytes mode value. 570 570 571 571 If the downlink payload=2000, it means set the Network Join Mode, while type code is 20. ... ... @@ -573,14 +573,17 @@ 573 573 * **Example 1: **Downlink Payload: **2000** ~/~/ Set AT+NJM=0 574 574 * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1 575 575 598 + 599 + 600 + 576 576 == 6.5 LoRa® Network Join Status == 577 577 603 + 578 578 Feature: LoRa® Network Join Status. 579 579 580 580 581 581 (% style="color:blue" %)**AT Command: AT+NJS** 582 582 583 - 584 584 (% border="1" style="background-color:#ffffcc; color:green; width:498.222px" %) 585 585 |=(% colspan="3" style="width: 495px;" %)AT+NJS 586 586 |(% style="width:169px" %)**Command Example**|(% style="width:164px" %)**Function**|(% style="width:161px" %)**Response** ... ... @@ -588,14 +588,16 @@ 588 588 OK 589 589 ))) 590 590 616 + 617 + 591 591 == 6.6 Print Last Received Data in Raw Format == 592 592 620 + 593 593 Feature: Print Last Received Data in Raw Format<port:data>. 594 594 595 595 596 596 (% style="color:blue" %)**AT Command: AT+RECV** 597 597 598 - 599 599 (% border="1" style="background-color:#ffffcc; color:green; width:587.222px" %) 600 600 |=(% colspan="3" style="width: 584px;" %)AT+RECV 601 601 |(% style="width:161px" %)**Command Example**|(% style="width:272px" %)**Function**|(% style="width:150px" %)**Response** ... ... @@ -603,14 +603,16 @@ 603 603 OK 604 604 ))) 605 605 633 + 634 + 606 606 == 6.7 Print Last Received Data in Binary Format == 607 607 637 + 608 608 Feature: Print Last Received Data in Binary Format<port:data>. 609 609 610 610 611 611 (% style="color:blue" %)**AT Command: AT+RECVB** 612 612 613 - 614 614 (% border="1" style="background-color:#ffffcc; color:green; width:793.222px" %) 615 615 |=(% colspan="3" style="width: 790px;" %)AT+RECVB 616 616 |(% style="width:173px" %)**Command Example**|(% style="width:497px" %)**Function**|(% style="width:120px" %)**Response** ... ... @@ -618,14 +618,16 @@ 618 618 OK 619 619 ))) 620 620 650 + 651 + 621 621 == 6.8 Send Text Data == 622 622 654 + 623 623 Feature: Send Text Data<port:data>. 624 624 625 625 626 626 (% style="color:blue" %)**AT Command: AT+SEND** 627 627 628 - 629 629 (% border="1" style="background-color:#ffffcc; color:green; width:991.222px" %) 630 630 |=(% colspan="3" style="width: 988px;" %)AT+SEND 631 631 |(% style="width:201px" %)**Command Example**|(% style="width:340px" %)**Function**|(% style="width:446px" %)**Response** ... ... @@ -637,14 +637,16 @@ 637 637 638 638 ))) 639 639 671 + 672 + 640 640 == 6.9 Send Hexadecimal Data == 641 641 675 + 642 642 Feature: Send hexadecimal data along with the application port. 643 643 644 644 645 645 (% style="color:blue" %)**AT Command: AT+SENDB** 646 646 647 - 648 648 (% border="1" style="background-color:#ffffcc; color:green; width:1120.22px" %) 649 649 |=(% colspan="3" style="width: 1117px;" %)AT+SENDB 650 650 |(% style="width:257px" %)**Command Example**|(% style="width:406px" %)**Function**|(% style="width:453px" %)**Response** ... ... @@ -655,16 +655,19 @@ 655 655 656 656 ))) 657 657 691 + 692 + 658 658 = 7. LoRaWAN network management = 659 659 695 + 660 660 == 7.1 Adaptive Data Rate == 661 661 698 + 662 662 Feature: Get or Set the Adaptive Data Rate setting. (0: off, 1: on). 663 663 664 664 665 665 (% style="color:blue" %)**AT Command: AT+ADR** 666 666 667 - 668 668 (% border="1" style="background-color:#ffffcc; color:green; width:683.222px" %) 669 669 |=(% colspan="3" style="width: 680px;" %)AT+ADR 670 670 |(% style="width:162px" %)**Command Example**|(% style="width:266px" %)**Function**|(% style="width:250px" %)**Response**