<
From version < 50.13 >
edited by Xiaoling
on 2022/07/13 13:39
To version < 50.17 >
edited by Xiaoling
on 2022/07/13 13:48
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -111,6 +111,7 @@
111 111  
112 112  Feature: Change LoRaWAN End Node Transmit Interval.
113 113  
114 +
114 114  (% style="color:blue" %)**AT Command: AT+TDC**
115 115  
116 116  (% border="1" style="background-color:#ffffcc; color:green; width:727.222px" %)
... ... @@ -150,7 +150,6 @@
150 150  
151 151  (% style="color:blue" %)**AT Command: ATZ**
152 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**
... ... @@ -186,6 +186,7 @@
186 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 +
189 189  (% style="color:blue" %)**AT Command: AT+FDR**
190 190  
191 191  (% border="1" style="background-color:#ffffcc; color:green; width:831.222px" %)
... ... @@ -225,7 +225,6 @@
225 225  
226 226  (% style="color:blue" %)**AT Command: AT+VER**
227 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**
... ... @@ -287,12 +287,12 @@
287 287  
288 288  == 4.5 Show System Configure ==
289 289  
290 +
290 290  Feature: Show All configure. No downlink command yet.
291 291  
292 292  
293 293  (% style="color:blue" %)**AT Command: AT+CFG**
294 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**
... ... @@ -310,16 +310,19 @@
310 310  OK
311 311  )))
312 312  
313 +
314 +
313 313  = 5. Keys, IDs and EUIs management =
314 314  
317 +
315 315  == 5.1 Application EUI ==
316 316  
320 +
317 317  Feature: Get or Set the Application EUI.
318 318  
319 319  
320 320  (% style="color:blue" %)**AT Command: AT+APPEUI**
321 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**
... ... @@ -328,14 +328,16 @@
328 328  )))
329 329  |(% style="width:305px" %)AT+APPEUI=00 b3 d5 7e f0 00 4d 34|(% style="width:186px" %)Set the Application EUI|(% style="width:191px" %)OK
330 330  
334 +
335 +
331 331  == 5.2 Application Key ==
332 332  
338 +
333 333  Feature: Get or Set the Application Key.
334 334  
335 335  
336 336  (% style="color:blue" %)**AT Command: AT+APPKEY**
337 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**
... ... @@ -344,14 +344,16 @@
344 344  )))
345 345  |(% 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
346 346  
352 +
353 +
347 347  == 5.3 Application Session Key ==
348 348  
356 +
349 349  Feature: Get or Set the Application Session Key.
350 350  
351 351  
352 352  (% style="color:blue" %)**AT Command: AT+APPSKEY**
353 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**
... ... @@ -362,14 +362,16 @@
362 362  OK
363 363  )))
364 364  
372 +
373 +
365 365  == 5.4 Device Address ==
366 366  
376 +
367 367  Feature: Get or Set the Device Address.
368 368  
369 369  
370 370  (% style="color:blue" %)**AT Command: AT+DADDR**
371 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**
... ... @@ -380,14 +380,16 @@
380 380  )))
381 381  |(% style="width:192px" %)AT+DADDR=A8 40 41 FF|(% style="width:241px" %)Set the Application Session Key.|(% style="width:359px" %)OK
382 382  
392 +
393 +
383 383  == 5.5 Device EUI ==
384 384  
396 +
385 385  Feature: Get or Set the Device EUI.
386 386  
387 387  
388 388  (% style="color:blue" %)**AT Command: AT+DEUI**
389 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**
... ... @@ -398,14 +398,16 @@
398 398  OK
399 399  )))
400 400  
412 +
413 +
401 401  == 5.6 Network ID ==
402 402  
416 +
403 403  Feature: Get or Set the Network ID.(You can enter this command change only after successful network connection)
404 404  
405 405  
406 406  (% style="color:blue" %)**AT Command: AT+NWKID**
407 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**
... ... @@ -414,14 +414,16 @@
414 414  )))
415 415  |(% style="width:191px" %)AT+NWKID=A8 40 41 FF|(% style="width:153px" %)Set the Network ID.|(% style="width:101px" %)OK
416 416  
430 +
431 +
417 417  == 5.7 Network Session Key ==
418 418  
434 +
419 419  Feature: Get or Set the Network Session Key
420 420  
421 421  
422 422  (% style="color:blue" %)**AT Command: AT+NWKSKEY**
423 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**
... ... @@ -430,18 +430,22 @@
430 430  )))
431 431  |(% 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
432 432  
448 +
449 +
433 433  = 6. Joining and sending date on LoRaWAN network =
434 434  
452 +
435 435  == 6.1 Confirm Mode ==
436 436  
437 -=== AT+CFM command before DR-LWS007 software stack ===
438 438  
456 +=== 6.1.1  AT+CFM command before DR-LWS007 software stack ===
457 +
458 +
439 439  Feature: Get or Set the confirmation mode (0-1).
440 440  
441 441  
442 442  (% style="color:blue" %)**AT Command: AT+CFM**
443 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,6 +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  
473 +
454 454  (% style="color:blue" %)**Downlink Command: 0x05**
455 455  
456 456  Format: Command Code (0x05) followed by 2 bytes mode value.
... ... @@ -460,12 +460,14 @@
460 460  * Example 1: Downlink Payload: 0501 ~/~/ Set AT+CFM=1
461 461  * Example 2: Downlink Payload: 0500 ~/~/ Set AT+CFM=0
462 462  
463 -=== AT+CFM command since DR-LWS007 software stack ===
464 464  
465 465  
466 -(% style="color:blue" %)**AT Command: AT+CFM**
467 467  
486 +=== 6.1.2  AT+CFM command since DR-LWS007 software stack ===
468 468  
488 +
489 +(% style="color:blue" %)**AT Command: AT+CFM**
490 +
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,9 @@
497 497  OK
498 498  )))
499 499  
522 +
500 500  (% style="color:blue" %)**Downlink Command: 0x05**
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.
... ... @@ -507,14 +507,17 @@
507 507  * Example 1: Downlink Payload: 05010101 ~/~/ Set AT+CFM=1,1,1
508 508  * Example 2: Downlink Payload: 05000700 ~/~/ Set AT+CFM=0,7,0
509 509  
532 +
533 +
534 +
510 510  == 6.2 Confirm Status ==
511 511  
537 +
512 512  Feature: Get confirmation status of the last AT+SEND (0-1).
513 513  
514 514  
515 515  (% style="color:blue" %)**AT Command: AT+CFS**
516 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**
... ... @@ -522,14 +522,16 @@
522 522  OK
523 523  )))
524 524  
550 +
551 +
525 525  == 6.3 Join LoRa® Network ==
526 526  
554 +
527 527  Feature: Join network.
528 528  
529 529  
530 530  (% style="color:blue" %)**AT Command: AT+JOIN**
531 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**
... ... @@ -539,14 +539,16 @@
539 539  While Error in format, return AT_BUSY_ERROR
540 540  )))
541 541  
569 +
570 +
542 542  == 6.4 LoRa® Network Join Mode ==
543 543  
573 +
544 544  Feature: Get or Set the Network Join Mode. (0: ABP, 1: OTAA).
545 545  
546 546  
547 547  (% style="color:blue" %)**AT Command: AT+NJM**
548 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,9 @@
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  
588 +
559 559  (% style="color:blue" %)**Downlink Command: 0x20**
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.
... ... @@ -566,14 +566,17 @@
566 566  * **Example 1: **Downlink Payload: **2000** ~/~/ Set AT+NJM=0
567 567  * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1
568 568  
598 +
599 +
600 +
569 569  == 6.5 LoRa® Network Join Status ==
570 570  
603 +
571 571  Feature: LoRa® Network Join Status.
572 572  
573 573  
574 574  (% style="color:blue" %)**AT Command: AT+NJS**
575 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**
... ... @@ -581,14 +581,16 @@
581 581  OK
582 582  )))
583 583  
616 +
617 +
584 584  == 6.6 Print Last Received Data in Raw Format ==
585 585  
620 +
586 586  Feature: Print Last Received Data in Raw Format<port:data>.
587 587  
588 588  
589 589  (% style="color:blue" %)**AT Command: AT+RECV**
590 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**
... ... @@ -596,14 +596,16 @@
596 596  OK
597 597  )))
598 598  
633 +
634 +
599 599  == 6.7 Print Last Received Data in Binary Format ==
600 600  
637 +
601 601  Feature: Print Last Received Data in Binary Format<port:data>.
602 602  
603 603  
604 604  (% style="color:blue" %)**AT Command: AT+RECVB**
605 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**
... ... @@ -611,14 +611,16 @@
611 611  OK
612 612  )))
613 613  
650 +
651 +
614 614  == 6.8 Send Text Data ==
615 615  
654 +
616 616  Feature: Send Text Data<port:data>.
617 617  
618 618  
619 619  (% style="color:blue" %)**AT Command: AT+SEND**
620 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**
... ... @@ -630,14 +630,16 @@
630 630  
631 631  )))
632 632  
671 +
672 +
633 633  == 6.9 Send Hexadecimal Data ==
634 634  
675 +
635 635  Feature: Send hexadecimal data along with the application port.
636 636  
637 637  
638 638  (% style="color:blue" %)**AT Command: AT+SENDB**
639 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**
... ... @@ -648,16 +648,19 @@
648 648  
649 649  )))
650 650  
691 +
692 +
651 651  = 7. LoRaWAN network management =
652 652  
695 +
653 653  == 7.1 Adaptive Data Rate ==
654 654  
698 +
655 655  Feature: Get or Set the Adaptive Data Rate setting. (0: off, 1: on).
656 656  
657 657  
658 658  (% style="color:blue" %)**AT Command: AT+ADR**
659 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,23 +669,25 @@
669 669  AT_PARAM_ERROR
670 670  )))
671 671  
715 +
672 672  (% style="color:blue" %)**Downlink Command: 0x22**
673 673  
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 -* **Example 1**: Downlink Payload: **2201** ~/~/ Set AT+ADR=1.
720 +* **Example 1**: Downlink Payload: **2201**  ~/~/ Set AT+ADR=1.
679 679  * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0.
680 680  
723 +
724 +
725 +
681 681  == 7.2 LoRa® Class ==
682 682  
728 +
683 683  Feature: Get or Set the Device Class(Currently only support class A, class C).
684 684  
685 685  
686 686  (% style="color:blue" %)**AT Command:AT+CLASS**
687 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**
... ... @@ -696,14 +696,16 @@
696 696  
697 697  )))
698 698  
744 +
745 +
699 699  == 7.3 Duty Cycle Setting ==
700 700  
748 +
701 701  Feature: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing.
702 702  
703 703  
704 704  (% style="color:blue" %)**AT Command:AT+DCS**
705 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**
... ... @@ -714,14 +714,16 @@
714 714  
715 715  )))
716 716  
764 +
765 +
717 717  == 7.4 Data Rate ==
718 718  
768 +
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  
721 721  
722 722  (% style="color:blue" %)**AT Command: AT+DR**
723 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,15 +732,17 @@
732 732  
733 733  )))
734 734  
784 +
735 735  (% style="color:blue" %)**Downlink Command: 0x2200aaFF**
736 736  
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.
742 742  * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0.
743 743  
792 +
793 +
794 +
744 744  == 7.5 Frame Counter Downlink ==
745 745  
746 746  Feature: Get or Set the Frame Counter Downlink.
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0