Last modified by Mengting Qiu on 2025/06/04 18:42

From version 31.1
edited by Xiaoling
on 2022/05/24 09:33
Change comment: Uploaded new attachment "image-20220524093351-8.png", version {1}
To version 27.2
edited by Xiaoling
on 2022/05/24 09:13
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -558,87 +558,76 @@
558 558  
559 559  They should be available for each of Dragino Sensors, such as: change uplink interval, reset device. For firmware v1.5.4, user can find what common commands it supports: [[End Device AT Commands and Downlink Command>>http://8.211.40.43:8080/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/]]
560 560  
561 -=== 3.4.2 Sensor related commands ===
561 +=== Sensor related commands ===
562 562  
563 -==== 3.4.2.1 Set Transmit Interval ====
564 564  
564 +==== Set Transmit Interval ====
565 +
565 565  Set device uplink interval.
566 566  
567 567  * AT Command:
568 568  
569 -(% class="box infomessage" %)
570 -(((
571 -**AT+TDC=N **
572 -)))
570 +AT+TDC=N
573 573  
574 -**Example: **AT+TDC=30000. Means set interval to 30 seconds
572 +Example: AT+TDC=30000. Means set interval to 30 seconds
575 575  
574 +
576 576  * Downlink Payload (prefix 0x01):
577 577  
578 -(% class="box infomessage" %)
579 -(((
580 -**0x01 aa bb cc     ~/~/ Same as AT+TDC=0x(aa bb cc)**
581 -)))
577 +0x01 aa bb cc     ~/~/ Same as AT+TDC=0x(aa bb cc)
582 582  
583 -==== 3.4.2.2 Set Work Mode (AT+MOD) ====
584 584  
580 +==== Set Work Mode (AT+MOD) ====
581 +
585 585  Set work mode.
586 586  
587 587  * AT Command:
588 588  
589 -(% class="box infomessage" %)
590 -(((
591 -**AT+MOD=N  **
592 -)))
586 +AT+MOD=N 
593 593  
594 -**Example**: AT+MOD=2. Set work mode to Double DI counting mode
588 +Example: AT+MOD=2. Set work mode to Double DI counting mode
595 595  
590 +
596 596  * Downlink Payload (prefix 0x0A):
597 597  
598 -(% class="box infomessage" %)
599 -(((
600 -**0x0A aa     ~/~/ Same as AT+MOD=aa**
601 -)))
593 +0x0A aa     ~/~/ Same as AT+MOD=aa
602 602  
603 -==== 3.4.2.3 Poll an uplink ====
604 604  
596 +
597 +==== Poll an uplink ====
598 +
605 605  * AT Command:
606 606  
607 607  There is no AT Command to poll uplink
608 608  
603 +
609 609  * Downlink Payload (prefix 0x08):
610 610  
611 -(% class="box infomessage" %)
612 -(((
613 -**0x08 FF     ~/~/ Poll an uplink,**
614 -)))
606 +0x08 FF     ~/~/ Poll an uplink,
615 615  
616 -**Example**: 0x08FF, ask device to send an Uplink
608 +Example: 0x08FF, ask device to send an Uplink
617 617  
618 -==== 3.4.2.4 Enable Trigger Mode ====
619 619  
620 -Use of trigger mode, please check [[ADDMOD6>>path:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]]
611 +==== Enable Trigger Mode ====
621 621  
613 +Use of trigger mode, please check [[ADDMOD6>>path:#MOD6]]
614 +
622 622  * AT Command:
623 623  
624 -(% class="box infomessage" %)
625 -(((
626 -**AT+ADDMOD6=1 or 0**
627 -)))
617 +AT+ADDMOD6=1 or 0
628 628  
629 629  1: Enable Trigger Mode
630 630  
631 631  0: Disable Trigger Mode
632 632  
623 +
633 633  * Downlink Payload (prefix 0x0A 06):
634 634  
635 -(% class="box infomessage" %)
636 -(((
637 -**0x0A 06 aa     ~/~/ Same as AT+ADDMOD6=aa,**
638 -)))
626 +0x0A 06 aa     ~/~/ Same as AT+ADDMOD6=aa,
639 639  
640 -==== 3.4.2.5 Poll trigger settings ====
641 641  
629 +==== Poll trigger settings ====
630 +
642 642  Poll trigger settings,
643 643  
644 644  * AT Command:
... ... @@ -645,206 +645,186 @@
645 645  
646 646  There is no AT Command for this feature.
647 647  
637 +
648 648  * Downlink Payload (prefix 0x AB 06):
649 649  
650 -(% class="box infomessage" %)
651 -(((
652 -**0xAB 06  ~/~/ Poll trigger settings, device will uplink trigger settings once receive this command**
653 -)))
640 +0xAB 06  ~/~/ Poll trigger settings, device will uplink [[trigger settings>>path:#Trigger_Settings]] once receive this command
654 654  
655 -==== 3.4.2.6 Enable / Disable DI1/DI2/DI3 as trigger ====
656 656  
643 +==== Enable / Disable DI1/DI2/DI3 as trigger ====
644 +
657 657  Enable Disable DI1/DI2/DI2 as trigger,
658 658  
659 659  * AT Command:
660 660  
661 -(% class="box infomessage" %)
662 -(((
663 -**Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >**
664 -)))
649 +Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >
665 665  
666 -**Example:**
651 +Example:
667 667  
668 668  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
669 669  
655 +
656 +
670 670  * Downlink Payload (prefix 0xAA 02):
671 671  
672 -(% class="box infomessage" %)
673 -(((
674 -**0xAA 02 aa bb  ~/~/ Same as AT+DTRI=aa,bb**
675 -)))
659 +0xAA 02 aa bb  ~/~/ Same as AT+DTRI=aa,bb
676 676  
677 -==== 3.4.2.7 Trigger1 – Set DI1 or DI3 as trigger ====
678 678  
662 +
663 +==== Trigger1 – Set DI1 or DI3 as trigger ====
664 +
679 679  Set DI1 or DI3(for LT-33222-L) trigger.
680 680  
681 681  * AT Command:
682 682  
683 -(% class="box infomessage" %)
684 -(((
685 -**AT+TRIG1=a,b**
686 -)))
669 +AT+TRIG1=a,b
687 687  
688 688  a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1).
689 689  
690 690  b : delay timing.
691 691  
692 -**Example:**
675 +Example:
693 693  
694 694  AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms )
695 695  
679 +
696 696  * Downlink Payload (prefix 0x09 01 ):
697 697  
698 -(% class="box infomessage" %)
699 -(((
700 -**0x09 01 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)**
701 -)))
682 +0x09 01 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)
702 702  
703 -==== 3.4.2.8 Trigger2 – Set DI2 as trigger ====
704 704  
685 +==== Trigger2 – Set DI2 as trigger ====
686 +
705 705  Set DI2 trigger.
706 706  
707 707  * AT Command:
708 708  
709 -(% class="box infomessage" %)
710 -(((
711 -**AT+TRIG2=a,b**
712 -)))
691 +AT+TRIG2=a,b
713 713  
714 714  a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1).
715 715  
716 716  b : delay timing.
717 717  
718 -**Example:**
697 +Example:
719 719  
720 720  AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms )
721 721  
701 +
722 722  * Downlink Payload (prefix 0x09 02 ):
723 723  
724 -(% class="box infomessage" %)
725 -(((
726 -**0x09 02 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)**
727 -)))
704 +0x09 02 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)
728 728  
729 -==== 3.4.2.9 Trigger – Set AC (current) as trigger ====
730 730  
731 -Set current trigger , base on AC port. See [[trigger mode>>path:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]]
707 +==== Trigger Set AC (current) as trigger ====
732 732  
709 +Set current trigger , base on AC port. See [[trigger mode>>path:#MOD6]]
710 +
733 733  * AT Command:
734 734  
735 -(% class="box infomessage" %)
736 -(((
737 -**AT+ACLIM. **
738 -)))
713 +AT+ACLIM. See [[trigger mode>>path:#MOD6]]
739 739  
715 +
740 740  * Downlink Payload (prefix 0xAA 01 ):
741 741  
742 -(% class="box infomessage" %)
743 -(((
744 -**0x AA 01 aa bb cc dd ee ff gg hh ~/~/ same as AT+ACLIM See [[trigger mode>>url:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]]**
745 -)))
718 +0x AA 01 aa bb cc dd ee ff gg hh ~/~/ same as AT+ACLIM See [[trigger mode>>path:#MOD6]]
746 746  
747 -==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ====
748 748  
749 -Set current trigger , base on AV port. See [[trigger mode>>url:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]]
721 +==== Trigger Set AV (voltage) as trigger ====
750 750  
723 +Set current trigger , base on AV port. See [[trigger mode>>path:#MOD6]]
724 +
751 751  * AT Command:
752 752  
753 -(% class="box infomessage" %)
754 -(((
755 -**AT+AVLIM. See [[trigger mode>>url:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]]**
756 -)))
727 +AT+AVLIM. See [[trigger mode>>path:#MOD6]]
757 757  
729 +
758 758  * Downlink Payload (prefix 0xAA 00 ):
759 759  
760 -(% class="box infomessage" %)
761 -(((
762 -**0x AA 00 aa bb cc dd ee ff gg hh ~/~/ same as AT+AVLIM See [[trigger mode>>url:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]] **
763 -)))
732 +0x AA 00 aa bb cc dd ee ff gg hh ~/~/ same as AT+AVLIM See [[trigger mode>>path:#MOD6]]
764 764  
765 -==== 3.4.2.11 Trigger – Set minimum interval ====
734 +==== Trigger – Set minimum interval ====
766 766  
767 767  Set AV and AC trigger minimum interval, system won’t response to the second trigger within this set time after the first trigger.
768 768  
769 769  * AT Command:
770 770  
771 -(% class="box infomessage" %)
772 -(((
773 -**AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.**
774 -)))
740 +AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.
775 775  
742 +
776 776  * Downlink Payload (prefix 0xAC ):
777 777  
778 -(% class="box infomessage" %)
779 -(((
780 -**0x AC aa bb ~/~/ same as AT+ATDC=0x(aa bb)   . Unit (min)**
781 -)))
745 +0x AC aa bb ~/~/ same as AT+ATDC=0x(aa bb)   . Unit (min)
782 782  
783 -==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ====
784 784  
748 +==== DO ~-~- Control Digital Output DO1/DO2/DO3 ====
749 +
785 785  * AT Command:
786 786  
787 787  There is no AT Command to control Digital Output
788 788  
754 +
789 789  * Downlink Payload (prefix 0x02):
790 790  
791 -(% class="box infomessage" %)
792 -(((
793 -**0x02 aa bb cc     ~/~/ Set DO1/DO2/DO3 output**
794 -)))
757 +0x02 aa bb cc     ~/~/ Set DO1/DO2/DO3 output
795 795  
796 -(((
797 797  If payload = 0x02010001, while there is load between V+ and DOx, it means set DO1 to low, DO2 to high and DO3 to low.
798 -)))
799 799  
800 -(((
801 801  01: Low,  00: High ,  11: No action
802 -)))
803 803  
804 -[[image:image-20220524092754-5.png]]
763 +(% border="1" style="background-color:#f7faff" %)
764 +|Downlink Code|DO1|DO2|DO3
765 +|02  01  00  11|Low|High|No Action
766 +|02  00  11  01|High|No Action|Low
767 +|02  11  01  00|No Action|Low|High
805 805  
806 -(((
807 -(% style="color:red" %)Note: For LT-22222-L, there is no DO3, the last byte can use any value.
808 -)))
769 +Note: For LT-22222-L, there is no DO3, the last byte can use any value.
809 809  
810 -(((
811 -(% style="color:red" %)Device will upload a packet if downlink code executes successfully.
812 -)))
771 +Device will upload a packet if downlink code executes successfully.
813 813  
814 814  
815 -==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ====
816 816  
775 +
776 +
777 +==== DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ====
778 +
817 817  * AT Command:
818 818  
819 819  There is no AT Command to control Digital Output
820 820  
783 +
821 821  * Downlink Payload (prefix 0xA9):
822 822  
823 -(% class="box infomessage" %)
824 -(((
825 -**0xA9 aa bb cc     ~/~/ Set DO1/DO2/DO3 output with time control**
826 -)))
786 +0xA9 aa bb cc     ~/~/ Set DO1/DO2/DO3 output with time control
827 827  
828 828  This is to control the digital output time of DO pin. Include four bytes:
829 829  
830 -(% style="color:#4f81bd" %)**First Byte**(%%)**:** Type code (0xA9)
790 +**First Byte:** Type code (0xA9)
831 831  
832 -(% style="color:#4f81bd" %)**Second Byte**(%%): Inverter Mode
792 +**Second Byte**: Inverter Mode
833 833  
834 834  01: DO pins will change back to original state after timeout.
835 835  
836 836  00: DO pins will change to an inverter state after timeout 
837 837  
838 -(% style="color:#4f81bd" %)**Third Byte**(%%): Control Method and Ports status:
839 839  
840 -[[image:image-20220524093238-6.png]]
799 +**Third Byte**: Control Method and Ports status:
841 841  
842 -(% style="color:#4f81bd" %)**Fourth Byte**(%%): Control Method and Ports status:
801 +(% border="1" style="background-color:#f7faff" %)
802 +|Second Byte|Status
803 +|0x01|DO1 set to low
804 +|0x00|DO1 set to high
805 +|0x11|DO1 NO Action
843 843  
844 -[[image:image-20220524093328-7.png]]
807 +**Fourth Byte**: Control Method and Ports status:
845 845  
846 -(% style="color:#4f81bd" %)**Fifth Byte**(%%): Control Method and Ports status:
809 +(% border="1" style="background-color:#f7faff" %)
810 +|Second Byte|Status
811 +|0x01|DO2 set to low
812 +|0x00|DO2 set to high
813 +|0x11|DO2 NO Action
847 847  
815 +**Fifth Byte**: Control Method and Ports status:
816 +
848 848  (% border="1" style="background-color:#f7faff" %)
849 849  |Second Byte|Status
850 850  |0x01|DO3 set to low
... ... @@ -851,7 +851,7 @@
851 851  |0x00|DO3 set to high
852 852  |0x11|DO3 NO Action
853 853  
854 -(% style="color:#4f81bd" %)**Sixth and Seventh Byte**:
823 +**Sixth and Seventh Byte**:
855 855  
856 856   Latching time. Unit: ms
857 857  
image-20220524092754-5.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -7.8 KB
Content
image-20220524093238-6.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -6.0 KB
Content
image-20220524093328-7.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -6.1 KB
Content
image-20220524093351-8.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -6.2 KB
Content