<
From version < 67.11 >
edited by Xiaoling
on 2023/05/31 10:22
To version < 67.9 >
edited by Xiaoling
on 2023/05/31 10:04
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -636,9 +636,204 @@
636 636  No downlink command for this feature.
637 637  
638 638  
639 -=== 3.3.3 Set Interrupt Mode ===
639 +=== 3.3.3 Get Device Status ===
640 640  
641 641  
642 +Send a LoRaWAN downlink to ask device send Alarm settings.
643 +
644 +(% style="color:blue" %)**Downlink Payload:  **(%%)0x26 01
645 +
646 +Sensor will upload Device Status via FPORT=5. See payload section for detail.
647 +
648 +
649 +=== 3.3.4 Enable / Disable Alarm ===
650 +
651 +
652 +Feature: Enable/Disable Alarm for open/close event. Default value 0.
653 +
654 +(% style="color:blue" %)**AT Command:**
655 +
656 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
657 +|(% style="background-color:#d9e2f3; color:#0070c0; width:154px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:278px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:88px" %)**Response**
658 +|(% style="width:154px" %)AT+DISALARM=1|(% style="width:278px" %)End node will only send packets in TDC time.|OK
659 +|(% style="width:154px" %)AT+DISALARM=0|(% style="width:278px" %)End node will send packets in TDC time or status change for door sensor|OK
660 +
661 +(% style="color:blue" %)**Downlink Command:**
662 +
663 +**0xA7 01**  ~/~/  Same As AT+DISALARM=1
664 +
665 +**0xA7 00    ** ~/~/  Same As AT+DISALARM=0
666 +
667 +
668 +=== 3.3.5 Alarm Base on Timeout ===
669 +
670 +
671 +(((
672 +CPL03-LB can monitor the timeout for a status change, this feature can be used to monitor some events such as door opening too long etc. Related Parameters are:
673 +)))
674 +
675 +
676 +(((
677 +(% style="color:#4f81bd" %)**1. Keep Status: Status to be monitor**
678 +)))
679 +
680 +(((
681 +**Keep Status = 1**: Monitor Close to Open event
682 +)))
683 +
684 +(((
685 +**Keep Status = 0**: Monitor Open to Close event
686 +)))
687 +
688 +
689 +(((
690 +(% style="color:#4f81bd" %)**2. Keep Time: Timeout to send an Alarm**
691 +)))
692 +
693 +(((
694 +Range 0 ~~ 65535(0xFFFF) seconds.
695 +)))
696 +
697 +(((
698 +If** keep time = 0**, Disable Alarm Base on Timeout feature.
699 +)))
700 +
701 +(((
702 +If **keep time > 0**, device will monitor the keep status event and send an alarm when status doesn’t change after timeout.
703 +)))
704 +
705 +
706 +(((
707 +(% style="color:#4f81bd" %)**AT Command**(%%) to configure:
708 +)))
709 +
710 +(((
711 +(% style="color:blue" %)**AT+TTRIG=1,30**(%%)  ~-~-> When the **Keep Status** change from connect to disconnect, and device remains in disconnect status for more than 30 seconds. CPL03-LB will send an uplink packet, the [[Alarm bit>>||anchor="H2.3.3Real-TimeOpen2FCloseStatus2CUplinkFPORT3D2"]] (the second bit of 1^^st^^ byte of payload) on this uplink packet is set to 1.
712 +)))
713 +
714 +(((
715 +(% style="color:blue" %)**AT+TTIG=0,0 **(%%) ~-~-> Default Value, disable timeout Alarm.
716 +)))
717 +
718 +
719 +(((
720 +(% style="color:#4f81bd" %)**Downlink Command**(%%) to configure:
721 +)))
722 +
723 +(((
724 +**Command: 0xA9 aa bb cc**
725 +)))
726 +
727 +(((
728 +**A9: **Command Type Code
729 +)))
730 +
731 +(((
732 +**aa: **status to be monitored
733 +)))
734 +
735 +(((
736 +**bb cc: **timeout.
737 +)))
738 +
739 +
740 +(((
741 +If user send 0xA9 01 00 1E: equal to AT+TTRIG=1,30
742 +)))
743 +
744 +(((
745 +Or
746 +)))
747 +
748 +(((
749 +0xA9 00 00 00: Equal to AT+TTRIG=0,0. Disable timeout Alarm.
750 +)))
751 +
752 +
753 +=== 3.3.6 Clear Flash Record ===
754 +
755 +
756 +Feature: Clear flash storage for data log feature.
757 +
758 +(% style="color:blue" %)**AT Command: AT+CLRDTA**
759 +
760 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:500px" %)
761 +|=(% style="width: 157px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 169px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 174px;background-color:#D9E2F3;color:#0070C0" %)**Response**
762 +|(% style="width:157px" %)AT+CLRDTA|(% style="width:169px" %)Clear flash storage for data log feature.|Clear all stored sensor data… OK
763 +
764 +(((
765 +(% style="color:blue" %)**Downlink Command:**
766 +)))
767 +
768 +(((
769 +* **Example**: 0xA301  ~/~/  Same as AT+CLRDTA
770 +)))
771 +
772 +
773 +
774 +=== 3.3.7 Set trigger mode ===
775 +
776 +
777 +Feature: Set the trigger interrupt mode.
778 +
779 +(% style="color:blue" %)**AT Command: AT+TTRMOD**
780 +
781 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:495px" %)
782 +|=(% style="width: 157px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 246px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 92px;background-color:#D9E2F3;color:#0070C0" %)**Response**
783 +|(% style="width:157px" %)(((
784 +AT+TTRMOD=1
785 +)))|(% style="width:156px" %)Count and trigger from open to close (rising edge)|(% style="width:89px" %)(((
786 +(((
787 +OK
788 +)))
789 +)))
790 +|(% style="width:157px" %)(((
791 +AT+TTRMOD=0
792 +)))|(% style="width:156px" %)Count and trigger from close to open (falling edge)|(% style="width:89px" %)(((
793 +OK
794 +)))
795 +
796 +(% style="color:blue" %)**Downlink Command:**
797 +
798 +* **Example**: 0xA401  ~/~/  Same as AT+ TTRMOD =1
799 +
800 +=== 3.3.8 Set the calculate flag ===
801 +
802 +
803 +Feature: Set the calculate flag
804 +
805 +(% style="color:blue" %)**AT Command: AT+CALCFLAG**
806 +
807 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:461px" %)
808 +|=(% style="width: 158px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 193px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 110px;background-color:#D9E2F3;color:#0070C0" %)**Response**
809 +|(% style="width:158px" %)AT+CALCFLAG =1|(% style="width:192px" %)Set the calculate flag to 1.|(% style="width:109px" %)OK
810 +|(% style="width:158px" %)AT+CALCFLAG =2|(% style="width:192px" %)Set the calculate flag to 2.|(% style="width:109px" %)OK
811 +
812 +(% style="color:blue" %)**Downlink Command:**
813 +
814 +* **Example**: 0XA501  ~/~/  Same as AT+CALCFLAG =1
815 +
816 +=== 3.3.9 Set count number ===
817 +
818 +
819 +Feature: Manually set the count number
820 +
821 +(% style="color:blue" %)**AT Command: AT+SETCNT**
822 +
823 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:479px" %)
824 +|=(% style="width: 160px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 223px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 96px;background-color:#D9E2F3;color:#0070C0" %)**Response**
825 +|(% style="width:160px" %)AT+ SETCNT =0|(% style="width:221px" %)Set the count number to 0.|(% style="width:95px" %)OK
826 +|(% style="width:160px" %)AT+ SETCNT =100|(% style="width:221px" %)Set the count number to 100.|(% style="width:95px" %)OK
827 +
828 +(% style="color:blue" %)**Downlink Command:**
829 +
830 +* **Example**: 0xA6000001  ~/~/  Same as AT+ SETCNT =1
831 +
832 +* **Example**: 0xA6000064  ~/~/  Same as AT+ SETCNT =100
833 +
834 +=== 3.3.10 Set Interrupt Mode ===
835 +
836 +
642 642  Feature, Set Interrupt mode for PA8 of pin.
643 643  
644 644  When AT+INTMOD=0 is set, PA8 is used as a digital input port.
... ... @@ -670,7 +670,7 @@
670 670  
671 671  * Example 2: Downlink Payload: 06000003  ~/~/  Set the interrupt mode to rising edge trigger
672 672  
673 -=== 3.3.4 Set Power Output Duration ===
868 +=== 3.3.11 Set Power Output Duration ===
674 674  
675 675  
676 676  Control the output duration 5V . Before each sampling, device will
... ... @@ -735,24 +735,10 @@
735 735  In the case if user can see the console output but can't type input to the device. Please check if you already include the (% style="color:green" %)**ENTER**(%%) while sending out the command. Some serial tool doesn't send (% style="color:green" %)**ENTER**(%%) while press the send key, user need to add ENTER in their string.
736 736  
737 737  
738 -== 6.2 ​Can I calibrate LSE01 to different soil types? ==
739 -
740 -
741 -(((
742 -LSE01 is calibrated for saline-alkali soil and loamy soil. If users want to use it for other soil, they can calibrate the value in the IoT platform base on the value measured by saline-alkali soil and loamy soil. The formula can be found at [[this link>>https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LSE01/&file=Calibrate_to_other_Soil_20220605.pdf]].
743 -)))
744 -
745 -
746 -== 6.3 ​Why I can't join TTN in US915 / AU915 bands? ==
747 -
748 -
749 -It is due to channel mapping. Please see the [[Eight Channel Mode>>doc:Main.End Device AT Commands and Downlink Command.WebHome||anchor="H7.19EightChannelMode"]] section above for details.
750 -
751 -
752 752  = 7. Order Info =
753 753  
754 754  
755 -Part Number: (% style="color:blue" %)**SE01-LB-XXX**
936 +Part Number: (% style="color:blue" %)**CPL03-LB-XXX**
756 756  
757 757  (% style="color:red" %)**XXX**(%%): The default frequency band
758 758  
... ... @@ -772,15 +772,12 @@
772 772  
773 773  * (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band
774 774  
775 -
776 -
777 -
778 778  = 8. ​Packing Info =
779 779  
780 780  
781 781  (% style="color:#037691" %)**Package Includes**:
782 782  
783 -* SE01-LB LoRaWAN Soil Moisture & EC Sensor
961 +* CPL03-LB LoRaWAN Pulse/Contact Sensor
784 784  
785 785  (% style="color:#037691" %)**Dimension and weight**:
786 786  
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0