Last modified by Mengting Qiu on 2025/07/08 10:59

From version 119.1
edited by Mengting Qiu
on 2025/04/01 10:21
Change comment: There is no comment for this version
To version 103.1
edited by Mengting Qiu
on 2025/01/16 16:32
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -200,11 +200,8 @@
200 200  
201 201  [[image:1675071776102-240.png]]
202 202  
203 -Size of immersion type water depth sensor:
204 204  
205 -[[image:image-20250401102131-1.png||height="268" width="707"]]
206 206  
207 -
208 208  === 1.5.3 Wireless Differential Air Pressure Sensor ===
209 209  
210 210  
... ... @@ -629,139 +629,32 @@
629 629  
630 630  === 2.6.3 Poll sensor value ===
631 631  
629 +
632 632  Users can poll sensor values based on timestamps. Below is the downlink command.
633 633  
634 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:470px" %)
635 -|=(% colspan="4" style="width: 160px; background-color:#4F81BD;color:white" %)**Downlink Command to poll Open/Close status (0x31)**
636 -|(% style="background-color:#f2f2f2; width:67px" %)**1byte**|(% style="background-color:#f2f2f2; width:145px" %)**4bytes**|(% style="background-color:#f2f2f2; width:133px" %)**4bytes**|(% style="background-color:#f2f2f2; width:163px" %)**1byte**
637 -|(% style="background-color:#f2f2f2; width:67px" %)31|(% style="background-color:#f2f2f2; width:145px" %)Timestamp start|(% style="background-color:#f2f2f2; width:133px" %)(((
638 -Timestamp end
639 -)))|(% style="background-color:#f2f2f2; width:163px" %)Uplink Interval
640 -
641 -Timestamp start and Timestamp end-use Unix TimeStamp format as mentioned above. Devices will reply with all data logs during this period, using the uplink interval.
642 -
643 -For example, downlink command[[image:image-20250117104812-1.png]]
644 -
645 -Is to check 2024/12/20 09:34:59 to 2024/12/20 14:34:59's data
646 -
647 -Uplink Internal =5s,means PS-LB will send one packet every 5s. range 5~~255s.
648 -
649 -
650 -=== 2.6.4 Datalog Uplink payload (FPORT~=3) ===
651 -
652 -
653 -The Datalog uplinks will use below payload format.
654 -
655 -**Retrieval data payload:**
656 -
657 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:500px" %)
658 -|=(% style="width: 60px;background-color:#4F81BD;color:white" %)(((
659 -**Size(bytes)**
660 -)))|=(% style="width: 40px; background-color:#4F81BD;color:white" %)**2**|=(% style="width: 55px; background-color:#4F81BD;color:white" %)**2**|=(% style="width: 83px; background-color: rgb(79, 129, 189); color: white;" %)**2**|=(% style="width: 201px; background-color: rgb(79, 129, 189); color: white;" %)**1**|=(% style="width: 86px; background-color: rgb(79, 129, 189); color: white;" %)**4**
661 -|(% style="width:103px" %)Value|(% style="width:68px" %)(((
662 -Probe
663 -
664 -_mod
665 -)))|(% style="width:104px" %)(((
666 -VDC
667 -
668 -_intput_V
669 -)))|(% style="width:83px" %)(((
670 -IDC
671 -
672 -_intput_mA
673 -)))|(% style="width:201px" %)(((
674 -IN1_pin_level& IN2_pin_level& Exti_pin_level&Exti_status
675 -)))|(% style="width:86px" %)Unix Time Stamp
676 -
677 -**IN1_pin_level & IN2_pin_level & Exti_pin_level & Exti_status:**
678 -
679 -[[image:image-20250117104847-4.png]]
680 -
681 -
682 -**No ACK Message**:  1: This message means this payload is fromn Uplink Message which doesn't get ACK from the server before ( for **PNACKMD=1** feature)
683 -
684 -**Poll Message Flag**: 1: This message is a poll message reply.
685 -
686 -* Poll Message Flag is set to 1.
687 -
688 -* Each data entry is 11 bytes, to save airtime and battery, devices will send max bytes according to the current DR and Frequency bands.
689 -
690 -For example, in US915 band, the max payload for different DR is:
691 -
692 -**a) DR0:** max is 11 bytes so one entry of data
693 -
694 -**b) DR1:** max is 53 bytes so devices will upload 4 entries of data (total 44 bytes)
695 -
696 -**c) DR2:** total payload includes 11 entries of data
697 -
698 -**d) DR3: **total payload includes 22 entries of data.
699 -
700 -If devise doesn't have any data in the polling time. Device will uplink 11 bytes of 0   
701 -
702 -**Example:**
703 -
704 -If PS-LB-NA has below data inside Flash:
705 -
706 -[[image:image-20250117104837-3.png]]
707 -
708 -
709 -If user sends below downlink command: 316788D9BF6788DB6305
710 -
711 -Where : Start time: 6788D9BF = time 25/1/16 10:04:47
712 -
713 - Stop time: 6788DB63 = time 25/1/16 10:11:47
714 -
715 -
716 -**PA-LB-NA will uplink this payload.**
717 -
718 -[[image:image-20250117104827-2.png]]
719 -
632 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:470px" %)
633 +|=(% colspan="4" style="width: 154px;background-color:#4F81BD;color:white" %)**Downlink Command to poll Open/Close status (0x31)**
634 +|(% style="background-color:#f2f2f2; width:70px" %)**1byte**|(% style="background-color:#f2f2f2; width:140px" %)**4bytes**|(% style="background-color:#f2f2f2; width:140px" %)(((
720 720  (((
721 -00001B620000406788D9BF  00000D130000406788D9FB  00000D120000406788DA37  00000D110000406788DA73  00000D100000406788DAAF  00000D100000406788DAEB  00000D0F0000406788DB27  00000D100000406788DB63
636 +**4bytes**
722 722  )))
723 723  
724 -(((
725 -Where the first 11 bytes is for the first entry :
726 -)))
727 727  
728 -(((
729 -0000  0D10  0000  40  6788DB63
730 -)))
640 +
641 +)))|(% style="background-color:#f2f2f2; width:150px" %)**1byte**
642 +|(% style="background-color:#f2f2f2; width:70px" %)31|(% style="background-color:#f2f2f2; width:140px" %)Timestamp start|(% style="background-color:#f2f2f2; width:140px" %)Timestamp end|(% style="background-color:#f2f2f2; width:150px" %)Uplink Interval
731 731  
732 -(((
733 -**Probe_mod **= 0x0000 = 0000
734 -)))
644 +Timestamp start and Timestamp end-use Unix TimeStamp format as mentioned above. Devices will reply with all data logs during this period, using the uplink interval.
735 735  
736 -(((
737 -**VDC_intput_V **= 0x0D10/1000=3.344V
646 +For example, downlink command[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/CPL01%20LoRaWAN%20Outdoor%20PulseContact%20%20Sensor%20Manual/WebHome/image-20220518162852-1.png?rev=1.1||alt="image-20220518162852-1.png"]]
738 738  
739 -**IDC_intput_mA **= 0x0000/1000=0mA
740 -)))
648 +Is to check 2021/11/12 12:00:00 to 2021/11/12 15:00:00's data
741 741  
742 -(((
743 -**IN1_pin_level **= (0x40& 0x08)? "High":"Low" = 0(Low)
650 +Uplink Internal =5s,means PS-LB will send one packet every 5s. range 5~~255s.
744 744  
745 -**IN2_pin_level = (**0x40& 0x04)? "High":"Low" = 0(Low)
746 746  
747 -**Exti_pin_level = (**0x40& 0x02)? "High":"Low" = 0(Low)
653 +=== 2.6.4 Decoder in TTN V3 ===
748 748  
749 -**Exti_status = (**0x40& 0x01)? "True":"False" = 0(False)
750 -)))
751 -
752 -(((
753 -**Unix time** is 0x6788DB63 = 1737022307s = 2025/1/16 10:11:47
754 -)))
755 -
756 -**Its data format is:**
757 -
758 -[Probe_mod, VDC_intput_V, IDC_intput_mA, IN1_pin_level**, **IN2_pin_level, Exti_pin_level, water_deep, Data_time],[Probe_mod, VDC_intput_V, IDC_intput_mA, IN1_pin_level**, **IN2_pin_level, Exti_pin_level, water_deep, Data_time],...
759 -
760 -(% style="color:red" %)**Note: water_deep in the data needs to be converted using decoding to get it.**
761 -
762 -
763 -=== 2.6.5 Decoder in TTN V3 ===
764 -
765 765  [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/CPL01%20LoRaWAN%20Outdoor%20PulseContact%20%20Sensor%20Manual/WebHome/1652862574387-195.png?width=722&height=359&rev=1.1||alt="1652862574387-195.png" height="359" width="722"]]
766 766  
767 767  Please check the decoder from this link: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>url:https://github.com/dragino/dragino-end-node-decoder]]
... ... @@ -885,7 +885,7 @@
885 885  **0:** off
886 886  **1:** Turn on the wave alarm mode, send the ROC uplink when the increment exceeds the set parameter and refresh the comparison value.
887 887  
888 -**2: **Turn on the wave alarm mode, send the ROC uplink when the increment exceeds the set parameter and refresh the comparison value. In addition, the comparison value is refreshed when the device sends packets ([[TDC>>||anchor="H3.3.1SetTransmitIntervalTime"]] or [[ACT>>||anchor="H1.7Button26LEDs"]]).
778 +**2: **Turn on the wave alarm mode, send the ROC uplink when the increment exceeds the set parameter and refresh the comparison value. In addition, the comparison value is refreshed when the device sends packets ([[TDC>>||anchor="H3.3.1SetTransmitIntervalTime"]] or [[ACT>>||anchor="H1.6Button26LEDs"]]).
889 889  )))
890 890  |(% style="width:154px" %)**b**: Set the detection interval|(% style="width:197px" %)(((
891 891  Range:  0~~65535s
... ... @@ -953,23 +953,19 @@
953 953  
954 954  **1:** Greater than the set IDC threshold, Alarm
955 955  )))
956 -|(% style="width:160px" %)(((
957 -**c**:  IDC alarm threshold
958 -)))|(% style="width:185px" %)(((
959 -Unit: uA
960 -)))
961 -|(% style="width:160px" %)**d**: Set the VDC alarm trigger condition|(% style="width:185px" %)(((
846 +|(% style="width:160px" %)**c**:  Set the VDC alarm trigger condition|(% style="width:185px" %)(((
962 962  **0:** Less than the set VDC threshold, Alarm
963 963  
964 964  **1:** Greater than the set VDC threshold, Alarm
965 965  )))
851 +|(% style="width:160px" %)**d**: IDC alarm threshold|(% style="width:185px" %)Unit: uA
966 966  |(% style="width:160px" %)**e:** VDC alarm threshold|(% style="width:185px" %)Unit: mV
967 967  
968 968  **Example:**
969 969  
970 -* AT+ROC=3,60,0,3000,0,5000  ~/~/The data is checked every 60 seconds. If the IDC is less than 3mA or the VDC is less than 5000mV, an alarm is generated.
971 -* AT+ROC=3,180,1,3000,1,5000  ~/~/The data is checked every 180 seconds. If the IDC is greater than 3mA or the VDC is greater than 5000mV, an alarm is generated.
972 -* AT+ROC=3,300,0,3000,1,5000  ~/~/The data is checked every 300 seconds. If the IDC is less than 3mA or the VDC is greater than 5000mV, an alarm is generated.
856 +* AT+ROC=3,60,0,0,3000,500  ~/~/The data is checked every 60 seconds. If the IDC is less than 3mA or the VDC is less than 500mV, an alarm is generated.
857 +* AT+ROC=3,180,1,1,3000,500  ~/~/The data is checked every 180 seconds. If the IDC is greater than 3mA or the VDC is greater than 500mV, an alarm is generated.
858 +* AT+ROC=3,300,0,1,3000,500  ~/~/The data is checked every 300 seconds. If the IDC is less than 3mA or the VDC is greater than 500mV, an alarm is generated.
973 973  
974 974  (% style="color:blue" %)**Downlink Command: 0x09 03 aa bb cc dd ee**
975 975  
... ... @@ -979,24 +979,21 @@
979 979  
980 980  (% style="color:blue" %)**bb: **(% style="color:#037691" %)**1 byte; **(%%)Set the IDC alarm trigger condition.
981 981  
982 -(% style="color:blue" %)**cc: **(% style="color:#037691" %)**2 bytes;**(%%) IDC alarm threshold.(uA)
868 +(% style="color:blue" %)**cc: **(% style="color:#037691" %)**1 byte;**(%%) Set the VDC alarm trigger condition.
983 983  
870 +(% style="color:blue" %)**dd: **(% style="color:#037691" %)**2 bytes;**(%%) IDC alarm threshold.(uA)
984 984  
985 -(% style="color:blue" %)**dd: **(% style="color:#037691" %)**1 byte;**(%%) Set the VDC alarm trigger condition.
986 -
987 987  (% style="color:blue" %)**ee: **(% style="color:#037691" %)**2 bytes; **(%%)VDC alarm threshold.(mV)
988 988  
989 989  **Example:**
990 990  
991 -* Downlink Payload: **09 03 00 3C 00 0B B8 00 13 38** ~/~/Equal to AT+ROC=3,60,0,3000,0,5000
992 -* Downlink Payload: **09 03 00 b4 01 0B B8 01 13 38**  ~/~/Equal to AT+ROC=3,60,1,3000,1,5000
993 -* Downlink Payload: **09 03 01 2C 00 0B B8 01 13 38**  ~/~/Equal to AT+ROC=3,60,0,3000,1,5000
876 +* Downlink Payload: **09 03 00 3C 00 00 0B B8 01 F4** ~/~/Equal to AT+ROC=3,60,0,0,3000,500
877 +* Downlink Payload: **09 03 00 b4 01 01 0B B8 01 F4**  ~/~/Equal to AT+ROC=3,180,1,1,3000,500
878 +* Downlink Payload: **09 03 01 2C 00 01 0B B8 01 F4** ~/~/Equal to AT+ROC=3,300,0,1,3000,500
994 994  
995 995  (% style="color:blue" %)**Screenshot of parsing example in TTN:**
996 996  
997 -* AT+ROC=3,60,0,3000,0,5000
998 998  
999 -[[image:image-20250116180030-2.png]]
1000 1000  
1001 1001  
1002 1002  == 2.9 ​Firmware Change Log ==
image-20250116175954-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.ting
Size
... ... @@ -1,1 +1,0 @@
1 -68.6 KB
Content
image-20250116180030-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.ting
Size
... ... @@ -1,1 +1,0 @@
1 -69.2 KB
Content
image-20250117104812-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.ting
Size
... ... @@ -1,1 +1,0 @@
1 -1.7 KB
Content
image-20250117104827-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.ting
Size
... ... @@ -1,1 +1,0 @@
1 -74.6 KB
Content
image-20250117104837-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.ting
Size
... ... @@ -1,1 +1,0 @@
1 -38.7 KB
Content
image-20250117104847-4.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.ting
Size
... ... @@ -1,1 +1,0 @@
1 -4.2 KB
Content
image-20250401102131-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.ting
Size
... ... @@ -1,1 +1,0 @@
1 -64.7 KB
Content