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
-
... ... @@ -20,8 +20,8 @@ 20 20 21 21 * 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/]] 22 22 * 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: 23 -** Use HEX format to send a downlink: [[TTN v3>> doc:Main.Notes for TTN.WebHome]]24 -** Use Base64 format to send a downlink: [[Chirpstack>> doc:Main.Notes for ChirpStack.WebHome]].23 +** Use HEX format to send a downlink: [[TTN v3>>Notes for TTN]] 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 27 ... ... @@ -301,6 +301,8 @@ 301 301 OK 302 302 ))) 303 303 304 + 305 + 304 304 = 5. Keys, IDs and EUIs management = 305 305 306 306 == 5.1 Application EUI == ... ... @@ -319,6 +319,8 @@ 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 324 + 325 + 322 322 == 5.2 Application Key == 323 323 324 324 Feature: Get or Set the Application Key. ... ... @@ -335,6 +335,7 @@ 335 335 ))) 336 336 |(% 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 337 337 342 + 338 338 == 5.3 Application Session Key == 339 339 340 340 Feature: Get or Set the Application Session Key. ... ... @@ -353,6 +353,7 @@ 353 353 OK 354 354 ))) 355 355 361 + 356 356 == 5.4 Device Address == 357 357 358 358 Feature: Get or Set the Device Address. ... ... @@ -371,6 +371,7 @@ 371 371 ))) 372 372 |(% style="width:192px" %)AT+DADDR=A8 40 41 FF|(% style="width:241px" %)Set the Application Session Key.|(% style="width:359px" %)OK 373 373 380 + 374 374 == 5.5 Device EUI == 375 375 376 376 Feature: Get or Set the Device EUI. ... ... @@ -389,6 +389,7 @@ 389 389 OK 390 390 ))) 391 391 399 + 392 392 == 5.6 Network ID == 393 393 394 394 Feature: Get or Set the Network ID.(You can enter this command change only after successful network connection) ... ... @@ -405,6 +405,7 @@ 405 405 ))) 406 406 |(% style="width:191px" %)AT+NWKID=A8 40 41 FF|(% style="width:153px" %)Set the Network ID.|(% style="width:101px" %)OK 407 407 416 + 408 408 == 5.7 Network Session Key == 409 409 410 410 Feature: Get or Set the Network Session Key ... ... @@ -421,6 +421,7 @@ 421 421 ))) 422 422 |(% 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 423 423 433 + 424 424 = 6. Joining and sending date on LoRaWAN network = 425 425 426 426 == 6.1 Confirm Mode == ... ... @@ -449,6 +449,7 @@ 449 449 * Example 1: Downlink Payload: 0501 ~/~/ Set AT+CFM=1 450 450 * Example 2: Downlink Payload: 0500 ~/~/ Set AT+CFM=0 451 451 462 + 452 452 == 6.2 Confirm Status == 453 453 454 454 Feature: Get confirmation status of the last AT+SEND (0-1). ... ... @@ -464,6 +464,7 @@ 464 464 OK 465 465 ))) 466 466 478 + 467 467 == 6.3 Join LoRa® Network == 468 468 469 469 Feature: Join network. ... ... @@ -481,6 +481,8 @@ 481 481 While Error in format, return AT_BUSY_ERROR 482 482 ))) 483 483 496 + 497 + 484 484 == 6.4 LoRa® Network Join Mode == 485 485 486 486 Feature: Get or Set the Network Join Mode. (0: ABP, 1: OTAA). ... ... @@ -509,6 +509,8 @@ 509 509 * **Example 1: **Downlink Payload: **2000** ~/~/ Set AT+NJM=O 510 510 * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1 511 511 526 + 527 + 512 512 == 6.5 LoRa® Network Join Status == 513 513 514 514 Feature: LoRa® Network Join Status. ... ... @@ -524,6 +524,8 @@ 524 524 OK 525 525 ))) 526 526 543 + 544 + 527 527 == 6.6 Print Last Received Data in Raw Format == 528 528 529 529 Feature: Print Last Received Data in Raw Format<port:data>. ... ... @@ -539,6 +539,8 @@ 539 539 OK 540 540 ))) 541 541 560 + 561 + 542 542 == 6.7 Print Last Received Data in Binary Format == 543 543 544 544 Feature: Print Last Received Data in Binary Format<port:data>. ... ... @@ -554,6 +554,8 @@ 554 554 OK 555 555 ))) 556 556 577 + 578 + 557 557 == 6.8 Send Text Data == 558 558 559 559 Feature: Send Text Data<port:data>. ... ... @@ -573,6 +573,8 @@ 573 573 574 574 ))) 575 575 598 + 599 + 576 576 == 6.9 Send Hexadecimal Data == 577 577 578 578 Feature: Send hexadecimal data along with the application port. ... ... @@ -591,6 +591,8 @@ 591 591 592 592 ))) 593 593 618 + 619 + 594 594 = 7. LoRaWAN network management = 595 595 596 596 == 7.1 Adaptive Data Rate == ... ... @@ -622,6 +622,8 @@ 622 622 * **Example 1**: Downlink Payload: **2201** ~/~/ Set AT+ADR=1. 623 623 * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0. 624 624 651 + 652 + 625 625 == 7.2 LoRa® Class == 626 626 627 627 Feature: Get or Set the Device Class(Currently only support class A, class C). ... ... @@ -640,6 +640,8 @@ 640 640 641 641 ))) 642 642 671 + 672 + 643 643 == 7.3 Duty Cycle Setting == 644 644 645 645 Feature: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing. ... ... @@ -658,6 +658,8 @@ 658 658 659 659 ))) 660 660 691 + 692 + 661 661 == 7.4 Data Rate == 662 662 663 663 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 ... ... @@ -686,6 +686,8 @@ 686 686 * **Example 1**: Downlink Payload: **220001FF** ~/~/ Set AT+DR=1. 687 687 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0. 688 688 721 + 722 + 689 689 == 7.5 Frame Counter Downlink == 690 690 691 691 Feature: Get or Set the Frame Counter Downlink. ... ... @@ -706,6 +706,8 @@ 706 706 707 707 ))) 708 708 743 + 744 + 709 709 == 7.6 Frame Counter Uplink == 710 710 711 711 Feature: Get or Set the Frame Counter Uplink. ... ... @@ -724,6 +724,8 @@ 724 724 725 725 ))) 726 726 763 + 764 + 727 727 == 7.7 Join Accept Delay1 == 728 728 729 729 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms. ... ... @@ -742,6 +742,8 @@ 742 742 743 743 ))) 744 744 783 + 784 + 745 745 == 7.8 Join Accept Delay2 == 746 746 747 747 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms. ... ... @@ -760,6 +760,8 @@ 760 760 761 761 ))) 762 762 803 + 804 + 763 763 == 7.9 Public Network Mode == 764 764 765 765 Feature: Get or Set the public network mode. (0: off, 1: on) ... ... @@ -780,6 +780,8 @@ 780 780 781 781 ))) 782 782 825 + 826 + 783 783 == 7.10 Receive Delay1 == 784 784 785 785 Feature: Get or Set the delay between the end of the Tx and the Rx Window 1 in ms