<
From version < 62.6 >
edited by Xiaoling
on 2023/05/30 10:10
To version < 62.8 >
edited by Xiaoling
on 2023/05/30 10:55
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -277,7 +277,7 @@
277 277  === 2.3.2 Sensor Configuration, FPORT~=4 ===
278 278  
279 279  
280 -CPL01 will only send this command after getting the downlink command (0x26 02) from the server.
280 +CPL03-LB will only send this command after getting the downlink command (0x26 02) from the server.
281 281  
282 282  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
283 283  |(% colspan="6" style="background-color:#d9e2f3; color:#0070c0; width:504px" %)**Sensor Configuration FPORT=4**
... ... @@ -299,11 +299,11 @@
299 299  )))
300 300  
301 301  (((
302 -(% style="color:blue" %)** If Disalarm = 1**(%%), CPL01 will only send uplink at every TDC periodically. This is normally use for pulse meter application, in this application, there are many disconnect/connect event, and platform only care about the total number of pulse.
302 +(% style="color:blue" %)** If Disalarm = 1**(%%), CPL03-LB will only send uplink at every TDC periodically. This is normally use for pulse meter application, in this application, there are many disconnect/connect event, and platform only care about the total number of pulse.
303 303  )))
304 304  
305 305  (((
306 -(% style="color:blue" %)** If Disalarm = 0**(%%), CPL01 will send uplink at every TDC periodically.
306 +(% style="color:blue" %)** If Disalarm = 0**(%%), CPL03-LB will send uplink at every TDC periodically.
307 307  
308 308  
309 309  )))
... ... @@ -341,7 +341,7 @@
341 341  
342 342  (((
343 343  (((
344 -CPL01 will send this uplink **after** Device Status once join the LoRaWAN network successfully. And CPL01 will:
344 +CPL03-LB will send this uplink **after** Device Status once join the LoRaWAN network successfully. And CPL03-LB will:
345 345  )))
346 346  )))
347 347  
... ... @@ -537,7 +537,7 @@
537 537  
538 538  
539 539  (((
540 -CPL01 stores sensor values and users can retrieve these history values via the [[downlink command>>||anchor="H2.4DatalogFeature"]].
540 +CPL03-LB stores sensor values and users can retrieve these history values via the [[downlink command>>||anchor="H2.4DatalogFeature"]].
541 541  )))
542 542  
543 543  (((
... ... @@ -545,7 +545,7 @@
545 545  )))
546 546  
547 547  * (((
548 -Each data entry is 11 bytes and has the same structure as [[Real-Time open/close status>>||anchor="H2.3.3Real-TimeOpen2FCloseStatus2CUplinkFPORT3D2"]], to save airtime and battery, CPL01 will send max bytes according to the current DR and Frequency bands.
548 +Each data entry is 11 bytes and has the same structure as [[Real-Time open/close status>>||anchor="H2.3.3Real-TimeOpen2FCloseStatus2CUplinkFPORT3D2"]], to save airtime and battery, CPL03-LB will send max bytes according to the current DR and Frequency bands.
549 549  )))
550 550  
551 551  (((
... ... @@ -569,7 +569,7 @@
569 569  )))
570 570  
571 571  (((
572 -If CPL01 doesn't have any data in the polling time. It will uplink 11 bytes of 0
572 +If CPL03-LB doesn't have any data in the polling time. It will uplink 11 bytes of 0
573 573  
574 574  
575 575  )))
... ... @@ -659,19 +659,19 @@
659 659  == 2.5 Datalog Feature ==
660 660  
661 661  
662 -Datalog Feature is to ensure IoT Server can get all sampling data from Sensor even if the LoRaWAN network is down. For each sampling, S31x-LB will store the reading for future retrieving purposes.
662 +Datalog Feature is to ensure IoT Server can get all sampling data from Sensor even if the LoRaWAN network is down. For each sampling, CPL03-LB will store the reading for future retrieving purposes.
663 663  
664 664  
665 665  === 2.5.1 Ways to get datalog via LoRaWAN ===
666 666  
667 667  
668 -Set [[PNACKMD=1>>||anchor="H2.5.4DatalogUplinkpayload28FPORT3D329"]], S31x-LB will wait for ACK for every uplink, when there is no LoRaWAN network,S31x-LB will mark these records with non-ack messages and store the sensor data, and it will send all messages (10s interval) after the network recovery.
668 +Set [[PNACKMD=1>>||anchor="H2.5.4DatalogUplinkpayload28FPORT3D329"]], CPL03-LB will wait for ACK for every uplink, when there is no LoRaWAN network,CPL03-LB will mark these records with non-ack messages and store the sensor data, and it will send all messages (10s interval) after the network recovery.
669 669  
670 670  * (((
671 -a) S31x-LB will do an ACK check for data records sending to make sure every data arrive server.
671 +a) CPL03-LB will do an ACK check for data records sending to make sure every data arrive server.
672 672  )))
673 673  * (((
674 -b) S31x-LB will send data in **CONFIRMED Mode** when PNACKMD=1, but S31x-LB won't re-transmit the packet if it doesn't get ACK, it will just mark it as a NONE-ACK message. In a future uplink if S31x-LB gets a ACK, S31x-LB will consider there is a network connection and resend all NONE-ACK messages.
674 +b) CPL03-LB will send data in **CONFIRMED Mode** when PNACKMD=1, but CPL03-LB won't re-transmit the packet if it doesn't get ACK, it will just mark it as a NONE-ACK message. In a future uplink if CPL03-LB gets a ACK, CPL03-LB will consider there is a network connection and resend all NONE-ACK messages.
675 675  )))
676 676  
677 677  Below is the typical case for the auto-update datalog feature (Set PNACKMD=1)
... ... @@ -682,7 +682,7 @@
682 682  === 2.5.2 Unix TimeStamp ===
683 683  
684 684  
685 -S31x-LB uses Unix TimeStamp format based on
685 +CPL03-LB uses Unix TimeStamp format based on
686 686  
687 687  [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/WebHome/image-20220523001219-11.png?width=627&height=97&rev=1.1||alt="图片-20220523001219-11.png" height="97" width="627"]]
688 688  
... ... @@ -701,7 +701,7 @@
701 701  
702 702  User need to set (% style="color:blue" %)**SYNCMOD=1**(%%) to enable sync time via MAC command.
703 703  
704 -Once S31x-LB Joined LoRaWAN network, it will send the MAC command (DeviceTimeReq) and the server will reply with (DeviceTimeAns) to send the current time to S31x-LB. If S31x-LB fails to get the time from the server, S31x-LB will use the internal time and wait for next time request (AT+SYNCTDC to set the time request period, default is 10 days).
704 +Once CPL03-LB Joined LoRaWAN network, it will send the MAC command (DeviceTimeReq) and the server will reply with (DeviceTimeAns) to send the current time to CPL03-LB. If CPL03-LB fails to get the time from the server, CPL03-LB will use the internal time and wait for next time request (AT+SYNCTDC to set the time request period, default is 10 days).
705 705  
706 706  (% style="color:red" %)**Note: LoRaWAN Server need to support LoRaWAN v1.0.3(MAC v1.0.3) or higher to support this MAC command feature, Chirpstack,TTN V3 v3 and loriot support but TTN V3 v2 doesn't support. If server doesn't support this command, it will through away uplink packet with this command, so user will lose the packet with time request for TTN V3 v2 if SYNCMOD=1.**
707 707  
... ... @@ -730,7 +730,7 @@
730 730  )))
731 731  
732 732  (((
733 -Uplink Internal =5s,means CPL01 will send one packet every 5s. range 5~~255s.
733 +Uplink Internal =5s,means CPL03-LB will send one packet every 5s. range 5~~255s.
734 734  )))
735 735  
736 736  
... ... @@ -737,22 +737,24 @@
737 737  == 2.7 Frequency Plans ==
738 738  
739 739  
740 -The S31x-LB uses OTAA mode and below frequency plans by default. If user want to use it with different frequency plan, please refer the AT command sets.
740 +The CPL03-LB uses OTAA mode and below frequency plans by default. If user want to use it with different frequency plan, please refer the AT command sets.
741 741  
742 742  [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/]]
743 743  
744 744  
745 -= 3. Configure S31x-LB =
745 += 3. Configure CPL03-LB =
746 746  
747 747  == 3.1 Configure Methods ==
748 748  
749 749  
750 -S31x-LB supports below configure method:
750 +CPL03-LB supports below configure method:
751 751  
752 752  * AT Command via Bluetooth Connection (**Recommended**): [[BLE Configure Instruction>>http://wiki.dragino.com/xwiki/bin/view/Main/BLE%20Bluetooth%20Remote%20Configure/]].
753 753  * AT Command via UART Connection : See [[UART Connection>>http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H2.3UARTConnectionforSN50v3basemotherboard]].
754 754  * LoRaWAN Downlink.  Instruction for different platforms: See [[IoT LoRaWAN Server>>http://wiki.dragino.com/xwiki/bin/view/Main/]] section.
755 755  
756 +
757 +
756 756  == 3.2 General Commands ==
757 757  
758 758  
... ... @@ -777,8 +777,6 @@
777 777  
778 778  (((
779 779  Feature: Change LoRaWAN End Node Transmit Interval.
780 -
781 -
782 782  )))
783 783  
784 784  (((
... ... @@ -819,7 +819,6 @@
819 819  
820 820  )))
821 821  
822 -
823 823  === 3.3.2 Quit AT Command ===
824 824  
825 825  
... ... @@ -864,88 +864,59 @@
864 864  
865 865  **0xA7 00    ** ~/~/  Same As AT+DISALARM=0
866 866  
867 -(% style="color:red" %)**Notice, This command requires setting CPL01 to LDS03A Mode first. See **(%%)**"(% style="color:blue" %)3.7 Set the sensor mode"(%%)**
868 868  
869 -
870 870  === 3.3.5 Alarm Base on Timeout ===
871 871  
872 872  
873 873  (((
874 -(((
875 -CPL01 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:
876 -
877 -
871 +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:
878 878  )))
879 -)))
880 880  
874 +
881 881  (((
882 -(((
883 883  (% style="color:#4f81bd" %)**1. Keep Status: Status to be monitor**
884 884  )))
885 -)))
886 886  
887 887  (((
888 -(((
889 -Keep Status = 1: Monitor Close to Open event
880 +**Keep Status = 1**: Monitor Close to Open event
890 890  )))
891 -)))
892 892  
893 893  (((
894 -(((
895 -Keep Status = 0: Monitor Open to Close event
896 -
897 -
884 +**Keep Status = 0**: Monitor Open to Close event
898 898  )))
899 -)))
900 900  
887 +
901 901  (((
902 -(((
903 903  (% style="color:#4f81bd" %)**2. Keep Time: Timeout to send an Alarm**
904 904  )))
905 -)))
906 906  
907 907  (((
908 -(((
909 909  Range 0 ~~ 65535(0xFFFF) seconds.
910 910  )))
911 -)))
912 912  
913 913  (((
914 -(((
915 -If keep time = 0, Disable Alarm Base on Timeout feature.
897 +If** keep time = 0**, Disable Alarm Base on Timeout feature.
916 916  )))
917 -)))
918 918  
919 919  (((
920 -(((
921 -If keep time > 0, device will monitor the keep status event and send an alarm when status doesn’t change after timeout.
901 +If **keep time > 0**, device will monitor the keep status event and send an alarm when status doesn’t change after timeout.
922 922  )))
923 923  
924 -(((
925 -
926 -)))
927 -)))
928 928  
929 929  (((
930 -(((
931 931  (% style="color:#4f81bd" %)**AT Command**(%%) to configure:
932 932  )))
933 933  
934 934  (((
935 -(% 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. CPL01 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.
910 +(% 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.
936 936  )))
937 937  
938 938  (((
939 939  (% style="color:blue" %)**AT+TTIG=0,0 **(%%) ~-~-> Default Value, disable timeout Alarm.
940 940  )))
941 -)))
942 942  
943 -(((
944 -
945 -)))
946 946  
947 947  (((
948 -(((
949 949  (% style="color:#4f81bd" %)**Downlink Command**(%%) to configure:
950 950  )))
951 951  
... ... @@ -952,47 +952,31 @@
952 952  (((
953 953  **Command: 0xA9 aa bb cc**
954 954  )))
955 -)))
956 956  
957 957  (((
958 -(((
959 -A9: Command Type Code
927 +**A9: **Command Type Code
960 960  )))
961 -)))
962 962  
963 963  (((
964 -(((
965 -aa: status to be monitored
931 +**aa: **status to be monitored
966 966  )))
967 -)))
968 968  
969 969  (((
970 -(((
971 -bb cc: timeout.
935 +**bb cc: **timeout.
972 972  )))
973 -)))
974 974  
975 -(((
976 -
977 -)))
978 978  
979 979  (((
980 -(((
981 981  If user send 0xA9 01 00 1E: equal to AT+TTRIG=1,30
982 982  )))
983 -)))
984 984  
985 985  (((
986 -(((
987 987  Or
988 988  )))
989 -)))
990 990  
991 991  (((
992 -(((
993 993  0xA9 00 00 00: Equal to AT+TTRIG=0,0. Disable timeout Alarm.
994 994  )))
995 -)))
996 996  
997 997  
998 998  === 3.3.6 Clear Flash Record ===
... ... @@ -1000,25 +1000,23 @@
1000 1000  
1001 1001  Feature: Clear flash storage for data log feature.
1002 1002  
957 +(% style="color:blue" %)**AT Command: AT+CLRDTA**
1003 1003  
1004 -(% style="color:#4f81bd" %)**AT Command: AT+CLRDTA**
1005 -
1006 1006  (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:500px" %)
1007 1007  |=(% 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**
1008 1008  |(% style="width:157px" %)AT+CLRDTA|(% style="width:169px" %)Clear flash storage for data log feature.|Clear all stored sensor data… OK
1009 1009  
1010 1010  (((
1011 -(((
1012 -(% style="color:#4f81bd" %)**Downlink Command:**
964 +(% style="color:blue" %)**Downlink Command:**
1013 1013  )))
1014 1014  
1015 1015  (((
1016 1016  * **Example**: 0xA301  ~/~/  Same as AT+CLRDTA
1017 1017  )))
1018 -)))
1019 1019  
1020 1020  
1021 1021  
973 +
1022 1022  === 3.3.7 Set trigger mode ===
1023 1023  
1024 1024  
... ... @@ -1047,9 +1047,6 @@
1047 1047  
1048 1048  
1049 1049  
1050 -
1051 -
1052 -
1053 1053  === 3.3.8 Set the calculate flag ===
1054 1054  
1055 1055  
... ... @@ -1066,9 +1066,6 @@
1066 1066  
1067 1067  * **Example**: 0XA501  ~/~/  Same as AT+CALCFLAG =1
1068 1068  
1069 -
1070 -
1071 -
1072 1072  === 3.3.9 Set count number ===
1073 1073  
1074 1074  
... ... @@ -1087,9 +1087,6 @@
1087 1087  
1088 1088  * **Example**: 0xA6000064  ~/~/  Same as AT+ SETCNT =100
1089 1089  
1090 -
1091 -
1092 -
1093 1093  === 3.3.10 Set Interrupt Mode ===
1094 1094  
1095 1095  
... ... @@ -1126,9 +1126,6 @@
1126 1126  
1127 1127  
1128 1128  
1129 -
1130 -
1131 -
1132 1132  === 3.3.11 Set Power Output Duration ===
1133 1133  
1134 1134  
... ... @@ -1155,12 +1155,15 @@
1155 1155  The first and second bytes are the time to turn on.
1156 1156  
1157 1157  * Example 1: Downlink Payload: 070000  **~-~-->**  AT+5VT=0
1098 +
1158 1158  * Example 2: Downlink Payload: 0701F4  **~-~-->**  AT+5VT=500
1159 1159  
1101 +
1102 +
1160 1160  = 4. Battery & Power Consumption =
1161 1161  
1162 1162  
1163 -S31x-LB use ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace.
1106 +CPL03-LB use ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace.
1164 1164  
1165 1165  [[**Battery Info & Power Consumption Analyze**>>http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] .
1166 1166  
... ... @@ -1169,10 +1169,12 @@
1169 1169  
1170 1170  
1171 1171  (% class="wikigeneratedid" %)
1172 -User can change firmware S31x-LB to:
1115 +User can change firmware CPL03-LB to:
1173 1173  
1174 1174  * Change Frequency band/ region.
1118 +
1175 1175  * Update with new features.
1120 +
1176 1176  * Fix bugs.
1177 1177  
1178 1178  Firmware and changelog can be downloaded from : **[[Firmware download link>>url:https://www.dropbox.com/sh/kwqv57tp6pejias/AAAopYMATh1GM6fZ-VRCLrpDa?dl=0]]**
... ... @@ -1181,18 +1181,23 @@
1181 1181  Methods to Update Firmware:
1182 1182  
1183 1183  * (Recommanded way) OTA firmware update via wireless:   [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/]]
1129 +
1184 1184  * Update through UART TTL interface. **[[Instruction>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H1.LoRaSTv4baseHardware]]**.
1185 1185  
1186 1186  = 6. FAQ =
1187 1187  
1134 +== 6.1  AT Commands input doesn't work ==
1188 1188  
1189 1189  
1137 +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.
1138 +
1139 +
1190 1190  = 7. Order Info =
1191 1191  
1192 1192  
1193 -Part Number: (% style="color:blue" %)**S31-LB-XX  / S31B-LB-XX**
1143 +Part Number: (% style="color:blue" %)**CPL03-LB-XXX**
1194 1194  
1195 -(% style="color:red" %)**XX**(%%): The default frequency band
1145 +(% style="color:red" %)**XXX**(%%): The default frequency band
1196 1196  
1197 1197  * (% style="color:red" %)**AS923**(%%): LoRaWAN AS923 band
1198 1198  
... ... @@ -1215,7 +1215,7 @@
1215 1215  
1216 1216  (% style="color:#037691" %)**Package Includes**:
1217 1217  
1218 -* S31x-LB LoRaWAN Temperature & Humidity Sensor
1168 +* CPL03-LB LoRaWAN Pulse/Contact Sensor
1219 1219  
1220 1220  (% style="color:#037691" %)**Dimension and weight**:
1221 1221  
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0