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 ... ... @@ -302,6 +302,7 @@ 302 302 ))) 303 303 304 304 305 + 305 305 = 5. Keys, IDs and EUIs management = 306 306 307 307 == 5.1 Application EUI == ... ... @@ -320,6 +320,8 @@ 320 320 ))) 321 321 |(% style="width:305px" %)AT+APPEUI=00 b3 d5 7e f0 00 4d 34|(% style="width:186px" %)Set the Application EUI|(% style="width:191px" %)OK 322 322 324 + 325 + 323 323 == 5.2 Application Key == 324 324 325 325 Feature: Get or Set the Application Key. ... ... @@ -336,6 +336,7 @@ 336 336 ))) 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 342 + 339 339 == 5.3 Application Session Key == 340 340 341 341 Feature: Get or Set the Application Session Key. ... ... @@ -354,6 +354,7 @@ 354 354 OK 355 355 ))) 356 356 361 + 357 357 == 5.4 Device Address == 358 358 359 359 Feature: Get or Set the Device Address. ... ... @@ -372,6 +372,7 @@ 372 372 ))) 373 373 |(% style="width:192px" %)AT+DADDR=A8 40 41 FF|(% style="width:241px" %)Set the Application Session Key.|(% style="width:359px" %)OK 374 374 380 + 375 375 == 5.5 Device EUI == 376 376 377 377 Feature: Get or Set the Device EUI. ... ... @@ -390,6 +390,7 @@ 390 390 OK 391 391 ))) 392 392 399 + 393 393 == 5.6 Network ID == 394 394 395 395 Feature: Get or Set the Network ID.(You can enter this command change only after successful network connection) ... ... @@ -406,6 +406,7 @@ 406 406 ))) 407 407 |(% style="width:191px" %)AT+NWKID=A8 40 41 FF|(% style="width:153px" %)Set the Network ID.|(% style="width:101px" %)OK 408 408 416 + 409 409 == 5.7 Network Session Key == 410 410 411 411 Feature: Get or Set the Network Session Key ... ... @@ -422,6 +422,7 @@ 422 422 ))) 423 423 |(% 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 424 424 433 + 425 425 = 6. Joining and sending date on LoRaWAN network = 426 426 427 427 == 6.1 Confirm Mode == ... ... @@ -450,6 +450,7 @@ 450 450 * Example 1: Downlink Payload: 0501 ~/~/ Set AT+CFM=1 451 451 * Example 2: Downlink Payload: 0500 ~/~/ Set AT+CFM=0 452 452 462 + 453 453 == 6.2 Confirm Status == 454 454 455 455 Feature: Get confirmation status of the last AT+SEND (0-1). ... ... @@ -465,6 +465,7 @@ 465 465 OK 466 466 ))) 467 467 478 + 468 468 == 6.3 Join LoRa® Network == 469 469 470 470 Feature: Join network. ... ... @@ -482,6 +482,8 @@ 482 482 While Error in format, return AT_BUSY_ERROR 483 483 ))) 484 484 496 + 497 + 485 485 == 6.4 LoRa® Network Join Mode == 486 486 487 487 Feature: Get or Set the Network Join Mode. (0: ABP, 1: OTAA). ... ... @@ -510,6 +510,8 @@ 510 510 * **Example 1: **Downlink Payload: **2000** ~/~/ Set AT+NJM=O 511 511 * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1 512 512 526 + 527 + 513 513 == 6.5 LoRa® Network Join Status == 514 514 515 515 Feature: LoRa® Network Join Status. ... ... @@ -525,6 +525,8 @@ 525 525 OK 526 526 ))) 527 527 543 + 544 + 528 528 == 6.6 Print Last Received Data in Raw Format == 529 529 530 530 Feature: Print Last Received Data in Raw Format<port:data>. ... ... @@ -540,6 +540,8 @@ 540 540 OK 541 541 ))) 542 542 560 + 561 + 543 543 == 6.7 Print Last Received Data in Binary Format == 544 544 545 545 Feature: Print Last Received Data in Binary Format<port:data>. ... ... @@ -555,6 +555,8 @@ 555 555 OK 556 556 ))) 557 557 577 + 578 + 558 558 == 6.8 Send Text Data == 559 559 560 560 Feature: Send Text Data<port:data>. ... ... @@ -574,6 +574,8 @@ 574 574 575 575 ))) 576 576 598 + 599 + 577 577 == 6.9 Send Hexadecimal Data == 578 578 579 579 Feature: Send hexadecimal data along with the application port. ... ... @@ -592,6 +592,8 @@ 592 592 593 593 ))) 594 594 618 + 619 + 595 595 = 7. LoRaWAN network management = 596 596 597 597 == 7.1 Adaptive Data Rate == ... ... @@ -623,6 +623,8 @@ 623 623 * **Example 1**: Downlink Payload: **2201** ~/~/ Set AT+ADR=1. 624 624 * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0. 625 625 651 + 652 + 626 626 == 7.2 LoRa® Class == 627 627 628 628 Feature: Get or Set the Device Class(Currently only support class A, class C). ... ... @@ -641,6 +641,8 @@ 641 641 642 642 ))) 643 643 671 + 672 + 644 644 == 7.3 Duty Cycle Setting == 645 645 646 646 Feature: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing. ... ... @@ -659,6 +659,8 @@ 659 659 660 660 ))) 661 661 691 + 692 + 662 662 == 7.4 Data Rate == 663 663 664 664 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 ... ... @@ -687,6 +687,8 @@ 687 687 * **Example 1**: Downlink Payload: **220001FF** ~/~/ Set AT+DR=1. 688 688 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0. 689 689 721 + 722 + 690 690 == 7.5 Frame Counter Downlink == 691 691 692 692 Feature: Get or Set the Frame Counter Downlink. ... ... @@ -707,6 +707,8 @@ 707 707 708 708 ))) 709 709 743 + 744 + 710 710 == 7.6 Frame Counter Uplink == 711 711 712 712 Feature: Get or Set the Frame Counter Uplink.