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
-
... ... @@ -103,7 +103,6 @@ 103 103 ))) 104 104 105 105 106 - 107 107 = 4. System Management Commands = 108 108 109 109 ... ... @@ -112,6 +112,7 @@ 112 112 113 113 Feature: Change LoRaWAN End Node Transmit Interval. 114 114 114 + 115 115 (% style="color:blue" %)**AT Command: AT+TDC** 116 116 117 117 (% border="1" style="background-color:#ffffcc; color:green; width:727.222px" %) ... ... @@ -151,7 +151,6 @@ 151 151 152 152 (% style="color:blue" %)**AT Command: ATZ** 153 153 154 - 155 155 (% border="1" style="background-color:#ffffcc; color:green; width:727.222px" %) 156 156 |=(% colspan="3" %)ATZ: Trig a reset of the MCU 157 157 |**Command Example**|**Function**|**Response** ... ... @@ -172,7 +172,6 @@ 172 172 173 173 (% style="color:blue" %)**Downlink Command: 0x04** 174 174 175 - 176 176 ((( 177 177 Format: Command Code (0x04) followed by FF. 178 178 ))) ... ... @@ -188,6 +188,7 @@ 188 188 189 189 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. 190 190 189 + 191 191 (% style="color:blue" %)**AT Command: AT+FDR** 192 192 193 193 (% border="1" style="background-color:#ffffcc; color:green; width:831.222px" %) ... ... @@ -210,7 +210,6 @@ 210 210 211 211 (% style="color:blue" %)**Downlink Command: 0x04** 212 212 213 - 214 214 ((( 215 215 Format: Command Code (0x04) followed by FE. 216 216 ))) ... ... @@ -222,12 +222,12 @@ 222 222 223 223 == 4.4 Show Firmware Version == 224 224 223 + 225 225 Feature: Show firmware version. No downlink command yet. 226 226 227 227 228 228 (% style="color:blue" %)**AT Command: AT+VER** 229 229 230 - 231 231 (% border="1" style="background-color:#ffffcc; color:green; width:586px" %) 232 232 |=(% colspan="3" style="width: 583px;" %)AT+VER: Image Version and Frequency Band 233 233 |(% style="width:170px" %)**Command Example**|(% style="width:300px" %)**Function**|(% style="width:113px" %)**Response** ... ... @@ -240,7 +240,6 @@ 240 240 241 241 (% style="color:blue" %)**Downlink Command: 0x26 (Valid in 006 stack)** 242 242 243 - 244 244 ((( 245 245 Downlink Format: 0x26 246 246 ))) ... ... @@ -250,6 +250,9 @@ 250 250 ))) 251 251 252 252 ((( 250 + 251 + 252 + 253 253 **xx: Software Type:** 254 254 ))) 255 255 ... ... @@ -258,6 +258,9 @@ 258 258 * 0x00 03: LSE01/LDDS75/LDDS20/LSPH01/LLMS01/LSNPK01 259 259 260 260 ((( 261 + 262 + 263 + 261 261 **yy: Frequency Band:** 262 262 ))) 263 263 ... ... @@ -273,6 +273,9 @@ 273 273 * 0xa0: AS923-3 274 274 275 275 ((( 279 + 280 + 281 + 276 276 **zz: Subband** 277 277 ))) 278 278 ... ... @@ -281,12 +281,12 @@ 281 281 282 282 == 4.5 Show System Configure == 283 283 290 + 284 284 Feature: Show All configure. No downlink command yet. 285 285 286 286 287 287 (% style="color:blue" %)**AT Command: AT+CFG** 288 288 289 - 290 290 (% border="1" style="background-color:#ffffcc; color:green; width:599.222px" %) 291 291 |=(% colspan="3" style="width: 596px;" %)AT+CFG: Print all configurations 292 292 |(% style="width:160px" %)**Command Example**|(% style="width:154px" %)**Function**|(% style="width:280px" %)**Response** ... ... @@ -304,16 +304,19 @@ 304 304 OK 305 305 ))) 306 306 313 + 314 + 307 307 = 5. Keys, IDs and EUIs management = 308 308 317 + 309 309 == 5.1 Application EUI == 310 310 320 + 311 311 Feature: Get or Set the Application EUI. 312 312 313 313 314 314 (% style="color:blue" %)**AT Command: AT+APPEUI** 315 315 316 - 317 317 (% border="1" style="background-color:#ffffcc; color:green; width:686.222px" %) 318 318 |=(% colspan="3" style="width: 683px;" %)AT+APPEUI 319 319 |(% style="width:305px" %)**Command Example**|(% style="width:186px" %)**Function**|(% style="width:191px" %)**Response** ... ... @@ -322,14 +322,16 @@ 322 322 ))) 323 323 |(% style="width:305px" %)AT+APPEUI=00 b3 d5 7e f0 00 4d 34|(% style="width:186px" %)Set the Application EUI|(% style="width:191px" %)OK 324 324 334 + 335 + 325 325 == 5.2 Application Key == 326 326 338 + 327 327 Feature: Get or Set the Application Key. 328 328 329 329 330 330 (% style="color:blue" %)**AT Command: AT+APPKEY** 331 331 332 - 333 333 (% border="1" style="background-color:#ffffcc; color:green; width:976.222px" %) 334 334 |=(% colspan="3" style="width: 973px;" %)AT+APPKEY 335 335 |(% style="width:441px" %)**Command Example**|(% style="width:180px" %)**Function**|(% style="width:350px" %)**Response** ... ... @@ -338,14 +338,16 @@ 338 338 ))) 339 339 |(% 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 340 340 352 + 353 + 341 341 == 5.3 Application Session Key == 342 342 356 + 343 343 Feature: Get or Set the Application Session Key. 344 344 345 345 346 346 (% style="color:blue" %)**AT Command: AT+APPSKEY** 347 347 348 - 349 349 (% border="1" style="background-color:#ffffcc; color:green; width:1040.22px" %) 350 350 |=(% colspan="3" style="width: 1037px;" %)AT+APPSKEY 351 351 |(% style="width:451px" %)**Command Example**|(% style="width:231px" %)**Function**|(% style="width:354px" %)**Response** ... ... @@ -356,14 +356,16 @@ 356 356 OK 357 357 ))) 358 358 372 + 373 + 359 359 == 5.4 Device Address == 360 360 376 + 361 361 Feature: Get or Set the Device Address. 362 362 363 363 364 364 (% style="color:blue" %)**AT Command: AT+DADDR** 365 365 366 - 367 367 (% border="1" style="background-color:#ffffcc; color:green; width:795.222px" %) 368 368 |=(% colspan="3" style="width: 792px;" %)AT+DADDR 369 369 |(% style="width:192px" %)**Command Example**|(% style="width:241px" %)**Function**|(% style="width:359px" %)**Response** ... ... @@ -374,14 +374,16 @@ 374 374 ))) 375 375 |(% style="width:192px" %)AT+DADDR=A8 40 41 FF|(% style="width:241px" %)Set the Application Session Key.|(% style="width:359px" %)OK 376 376 392 + 393 + 377 377 == 5.5 Device EUI == 378 378 396 + 379 379 Feature: Get or Set the Device EUI. 380 380 381 381 382 382 (% style="color:blue" %)**AT Command: AT+DEUI** 383 383 384 - 385 385 (% border="1" style="background-color:#ffffcc; color:green; width:1035.22px" %) 386 386 |=(% colspan="3" style="width: 1032px;" %)AT+DEUI 387 387 |(% style="width:250px" %)**Command Example**|(% style="width:147px" %)**Function**|(% style="width:634px" %)**Response** ... ... @@ -392,14 +392,16 @@ 392 392 OK 393 393 ))) 394 394 412 + 413 + 395 395 == 5.6 Network ID == 396 396 416 + 397 397 Feature: Get or Set the Network ID.(You can enter this command change only after successful network connection) 398 398 399 399 400 400 (% style="color:blue" %)**AT Command: AT+NWKID** 401 401 402 - 403 403 (% border="1" style="background-color:#ffffcc; color:green; width:448.222px" %) 404 404 |=(% colspan="3" style="width: 445px;" %)AT+NWKID 405 405 |(% style="width:191px" %)**Command Example**|(% style="width:153px" %)**Function**|(% style="width:101px" %)**Response** ... ... @@ -408,14 +408,16 @@ 408 408 ))) 409 409 |(% style="width:191px" %)AT+NWKID=A8 40 41 FF|(% style="width:153px" %)Set the Network ID.|(% style="width:101px" %)OK 410 410 430 + 431 + 411 411 == 5.7 Network Session Key == 412 412 434 + 413 413 Feature: Get or Set the Network Session Key 414 414 415 415 416 416 (% style="color:blue" %)**AT Command: AT+NWKSKEY** 417 417 418 - 419 419 (% border="1" style="background-color:#ffffcc; color:green; width:1017.22px" %) 420 420 |=(% colspan="3" style="width: 1014px;" %)AT+NWKSKEY 421 421 |(% style="width:455px" %)**Command Example**|(% style="width:215px" %)**Function**|(% style="width:343px" %)**Response** ... ... @@ -424,18 +424,22 @@ 424 424 ))) 425 425 |(% 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 426 426 448 + 449 + 427 427 = 6. Joining and sending date on LoRaWAN network = 428 428 452 + 429 429 == 6.1 Confirm Mode == 430 430 431 -=== AT+CFM command before DR-LWS007 software stack === 432 432 456 +=== 6.1.1 AT+CFM command before DR-LWS007 software stack === 457 + 458 + 433 433 Feature: Get or Set the confirmation mode (0-1). 434 434 435 435 436 436 (% style="color:blue" %)**AT Command: AT+CFM** 437 437 438 - 439 439 (% border="1" style="background-color:#ffffcc; color:green; width:710.222px" %) 440 440 |=(% colspan="3" style="width: 707px;" %)AT+CFM 441 441 |(% style="width:155px" %)**Command Example**|(% style="width:205px" %)**Function**|(% style="width:346px" %)**Response** ... ... @@ -445,6 +445,7 @@ 445 445 |(% style="width:155px" %)AT+CFM=1|(% style="width:205px" %)Set the confirmation mode|(% style="width:346px" %)OK 446 446 |(% style="width:155px" %)AT+CFM=2|(% style="width:205px" %)Set the confirmation mode|(% style="width:346px" %)While Error in format, return AT_PARAM_ERROR 447 447 473 + 448 448 (% style="color:blue" %)**Downlink Command: 0x05** 449 449 450 450 Format: Command Code (0x05) followed by 2 bytes mode value. ... ... @@ -454,12 +454,14 @@ 454 454 * Example 1: Downlink Payload: 0501 ~/~/ Set AT+CFM=1 455 455 * Example 2: Downlink Payload: 0500 ~/~/ Set AT+CFM=0 456 456 457 -=== AT+CFM command since DR-LWS007 software stack === 458 458 459 459 460 -(% style="color:blue" %)**AT Command: AT+CFM** 461 461 486 +=== 6.1.2 AT+CFM command since DR-LWS007 software stack === 462 462 488 + 489 +(% style="color:blue" %)**AT Command: AT+CFM** 490 + 463 463 (% border="1" style="background-color:#ffffcc; color:green; width:710.222px" %) 464 464 |=(% colspan="3" style="width: 707px;" %)AT+CFM 465 465 |(% style="width:160px" %)**Command Example**|(% style="width:198px" %)**Function**|(% style="width:349px" %)**Response** ... ... @@ -494,7 +494,6 @@ 494 494 495 495 (% style="color:blue" %)**Downlink Command: 0x05** 496 496 497 - 498 498 Format: Command Code (0x05) followed by 2 bytes mode value. 499 499 500 500 If the downlink payload=05010101, it means set end node to use confirm mode, while type code is 05. ... ... @@ -502,14 +502,17 @@ 502 502 * Example 1: Downlink Payload: 05010101 ~/~/ Set AT+CFM=1,1,1 503 503 * Example 2: Downlink Payload: 05000700 ~/~/ Set AT+CFM=0,7,0 504 504 532 + 533 + 534 + 505 505 == 6.2 Confirm Status == 506 506 537 + 507 507 Feature: Get confirmation status of the last AT+SEND (0-1). 508 508 509 509 510 510 (% style="color:blue" %)**AT Command: AT+CFS** 511 511 512 - 513 513 (% border="1" style="background-color:#ffffcc; color:green; width:534.222px" %) 514 514 |=(% colspan="3" style="width: 531px;" %)AT+CFS 515 515 |(% style="width:156px" %)**Command Example**|(% style="width:193px" %)**Function**|(% style="width:178px" %)**Response** ... ... @@ -517,14 +517,16 @@ 517 517 OK 518 518 ))) 519 519 550 + 551 + 520 520 == 6.3 Join LoRa® Network == 521 521 554 + 522 522 Feature: Join network. 523 523 524 524 525 525 (% style="color:blue" %)**AT Command: AT+JOIN** 526 526 527 - 528 528 (% border="1" style="background-color:#ffffcc; color:green; width:647.222px" %) 529 529 |=(% colspan="3" style="width: 644px;" %)AT+JOIN 530 530 |(% style="width:163px" %)**Command Example**|(% style="width:147px" %)**Function**|(% style="width:334px" %)**Response** ... ... @@ -534,14 +534,16 @@ 534 534 While Error in format, return AT_BUSY_ERROR 535 535 ))) 536 536 569 + 570 + 537 537 == 6.4 LoRa® Network Join Mode == 538 538 573 + 539 539 Feature: Get or Set the Network Join Mode. (0: ABP, 1: OTAA). 540 540 541 541 542 542 (% style="color:blue" %)**AT Command: AT+NJM** 543 543 544 - 545 545 (% border="1" style="background-color:#ffffcc; color:green; width:753.222px" %) 546 546 |=(% colspan="3" style="width: 750px;" %)AT+NJM 547 547 |(% style="width:162px" %)**Command Example**|(% style="width:227px" %)**Function**|(% style="width:361px" %)**Response** ... ... @@ -554,7 +554,6 @@ 554 554 555 555 (% style="color:blue" %)**Downlink Command: 0x20** 556 556 557 - 558 558 Format: Command Code (0x20) followed by 1 bytes mode value. 559 559 560 560 If the downlink payload=2000, it means set the Network Join Mode, while type code is 20. ... ... @@ -562,14 +562,17 @@ 562 562 * **Example 1: **Downlink Payload: **2000** ~/~/ Set AT+NJM=0 563 563 * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1 564 564 598 + 599 + 600 + 565 565 == 6.5 LoRa® Network Join Status == 566 566 603 + 567 567 Feature: LoRa® Network Join Status. 568 568 569 569 570 570 (% style="color:blue" %)**AT Command: AT+NJS** 571 571 572 - 573 573 (% border="1" style="background-color:#ffffcc; color:green; width:498.222px" %) 574 574 |=(% colspan="3" style="width: 495px;" %)AT+NJS 575 575 |(% style="width:169px" %)**Command Example**|(% style="width:164px" %)**Function**|(% style="width:161px" %)**Response** ... ... @@ -577,14 +577,16 @@ 577 577 OK 578 578 ))) 579 579 616 + 617 + 580 580 == 6.6 Print Last Received Data in Raw Format == 581 581 620 + 582 582 Feature: Print Last Received Data in Raw Format<port:data>. 583 583 584 584 585 585 (% style="color:blue" %)**AT Command: AT+RECV** 586 586 587 - 588 588 (% border="1" style="background-color:#ffffcc; color:green; width:587.222px" %) 589 589 |=(% colspan="3" style="width: 584px;" %)AT+RECV 590 590 |(% style="width:161px" %)**Command Example**|(% style="width:272px" %)**Function**|(% style="width:150px" %)**Response** ... ... @@ -592,14 +592,16 @@ 592 592 OK 593 593 ))) 594 594 633 + 634 + 595 595 == 6.7 Print Last Received Data in Binary Format == 596 596 637 + 597 597 Feature: Print Last Received Data in Binary Format<port:data>. 598 598 599 599 600 600 (% style="color:blue" %)**AT Command: AT+RECVB** 601 601 602 - 603 603 (% border="1" style="background-color:#ffffcc; color:green; width:793.222px" %) 604 604 |=(% colspan="3" style="width: 790px;" %)AT+RECVB 605 605 |(% style="width:173px" %)**Command Example**|(% style="width:497px" %)**Function**|(% style="width:120px" %)**Response** ... ... @@ -607,14 +607,16 @@ 607 607 OK 608 608 ))) 609 609 650 + 651 + 610 610 == 6.8 Send Text Data == 611 611 654 + 612 612 Feature: Send Text Data<port:data>. 613 613 614 614 615 615 (% style="color:blue" %)**AT Command: AT+SEND** 616 616 617 - 618 618 (% border="1" style="background-color:#ffffcc; color:green; width:991.222px" %) 619 619 |=(% colspan="3" style="width: 988px;" %)AT+SEND 620 620 |(% style="width:201px" %)**Command Example**|(% style="width:340px" %)**Function**|(% style="width:446px" %)**Response** ... ... @@ -626,14 +626,16 @@ 626 626 627 627 ))) 628 628 671 + 672 + 629 629 == 6.9 Send Hexadecimal Data == 630 630 675 + 631 631 Feature: Send hexadecimal data along with the application port. 632 632 633 633 634 634 (% style="color:blue" %)**AT Command: AT+SENDB** 635 635 636 - 637 637 (% border="1" style="background-color:#ffffcc; color:green; width:1120.22px" %) 638 638 |=(% colspan="3" style="width: 1117px;" %)AT+SENDB 639 639 |(% style="width:257px" %)**Command Example**|(% style="width:406px" %)**Function**|(% style="width:453px" %)**Response** ... ... @@ -644,16 +644,19 @@ 644 644 645 645 ))) 646 646 691 + 692 + 647 647 = 7. LoRaWAN network management = 648 648 695 + 649 649 == 7.1 Adaptive Data Rate == 650 650 698 + 651 651 Feature: Get or Set the Adaptive Data Rate setting. (0: off, 1: on). 652 652 653 653 654 654 (% style="color:blue" %)**AT Command: AT+ADR** 655 655 656 - 657 657 (% border="1" style="background-color:#ffffcc; color:green; width:683.222px" %) 658 658 |=(% colspan="3" style="width: 680px;" %)AT+ADR 659 659 |(% style="width:162px" %)**Command Example**|(% style="width:266px" %)**Function**|(% style="width:250px" %)**Response** ... ... @@ -665,7 +665,6 @@ 665 665 AT_PARAM_ERROR 666 666 ))) 667 667 668 - 669 669 (% style="color:blue" %)**Downlink Command: 0x22** 670 670 671 671 ... ... @@ -729,7 +729,6 @@ 729 729 730 730 ))) 731 731 732 - 733 733 (% style="color:blue" %)**Downlink Command: 0x2200aaFF** 734 734 735 735 ... ... @@ -983,7 +983,6 @@ 983 983 ))) 984 984 |(% style="width:157px" %)AT+PORT=21|(% style="width:204px" %)Set the application port|(% style="width:135px" %)OK 985 985 986 - 987 987 (% style="color:blue" %)**Downlink Command: 0x23** 988 988 989 989 ... ... @@ -1028,7 +1028,6 @@ 1028 1028 ))) 1029 1029 |(% style="width:160px" %)AT+CHE=1|(% style="width:198px" %)Set eight channels mode|(% style="width:349px" %)OK 1030 1030 1031 - 1032 1032 (% style="color:blue" %)**Downlink Command: 0x24** 1033 1033 1034 1034 ... ... @@ -1099,7 +1099,6 @@ 1099 1099 ))) 1100 1100 |(% style="width:183px" %)AT+DWELLT=0|(% style="width:179px" %)Set uplinkdwelltime|(% style="width:131px" %)OK 1101 1101 1102 - 1103 1103 (% style="color:blue" %)**Downlink Command: 0x25** 1104 1104 1105 1105 ... ... @@ -1128,7 +1128,6 @@ 1128 1128 * For Class C devices used in ChirpStack, need to set AT+RPL=4 because Chirpstack require immedietely reply message to MAC Command. 1129 1129 * 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. 1130 1130 1131 - 1132 1132 (% style="color:blue" %)**AT Command: AT+RPL** 1133 1133 1134 1134 ... ... @@ -1140,7 +1140,6 @@ 1140 1140 ))) 1141 1141 |(% style="width:160px" %)AT+RPL=0|(% style="width:263px" %)Set packet receiving response level|(% style="width:109px" %)OK 1142 1142 1143 - 1144 1144 (% style="color:blue" %)**Downlink Command: 0x21** 1145 1145 1146 1146 ... ... @@ -1169,7 +1169,6 @@ 1169 1169 OK 1170 1170 ))) 1171 1171 1172 - 1173 1173 (% style="color:blue" %)**Downlink Command: 0x33** 1174 1174 1175 1175 ... ... @@ -1217,7 +1217,6 @@ 1217 1217 OK 1218 1218 ))) 1219 1219 1220 - 1221 1221 (% style="color:blue" %)**Downlink Command: 0x33** 1222 1222 1223 1223 ... ... @@ -1263,7 +1263,6 @@ 1263 1263 Set the ReJoin data transmission interval to 60000ms = 60 seconds 1264 1264 ))) 1265 1265 1266 - 1267 1267 (% style="color:blue" %)**Downlink Command: 0x26** 1268 1268 1269 1269 ... ... @@ -1292,4 +1292,3 @@ 1292 1292 * AT+ADR=0 [[Reference>>||anchor="H7.1AdaptiveDataRate"]] 1293 1293 * AT+DR=5 [[Reference>>||anchor="H7.4DataRate"]] 1294 1294 * AT+TXP=0 [[Reference>>||anchor="H7.14TransmitPower"]] 1295 -~)~)~)