<
From version < 62.5 >
edited by Xiaoling
on 2023/05/30 10:08
To version < 62.7 >
edited by Xiaoling
on 2023/05/30 10:50
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -753,6 +753,8 @@
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,70 +864,46 @@
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  
... ... @@ -938,14 +938,9 @@
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,31 +1000,29 @@
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  
1025 1025  Feature: Set the trigger interrupt mode.
1026 1026  
1027 -(% style="color:#4f81bd" %)**AT Command: AT+TTRMOD**
979 +(% style="color:blue" %)**AT Command: AT+TTRMOD**
1028 1028  
1029 1029  (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:495px" %)
1030 1030  |=(% 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**
... ... @@ -1041,21 +1041,18 @@
1041 1041  OK
1042 1042  )))
1043 1043  
1044 -(% style="color:#4f81bd" %)**Downlink Command:**
996 +(% style="color:blue" %)**Downlink Command:**
1045 1045  
1046 1046  * **Example**: 0xA401  ~/~/  Same as AT+ TTRMOD =1
1047 1047  
1048 1048  
1049 1049  
1050 -
1051 -
1052 -
1053 1053  === 3.3.8 Set the calculate flag ===
1054 1054  
1055 1055  
1056 1056  Feature: Set the calculate flag
1057 1057  
1058 -(% style="color:#4f81bd" %)**AT Command: AT+CALCFLAG**
1007 +(% style="color:blue" %)**AT Command: AT+CALCFLAG**
1059 1059  
1060 1060  (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:461px" %)
1061 1061  |=(% 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**
... ... @@ -1062,19 +1062,16 @@
1062 1062  |(% style="width:158px" %)AT+CALCFLAG =1|(% style="width:192px" %)Set the calculate flag to 1.|(% style="width:109px" %)OK
1063 1063  |(% style="width:158px" %)AT+CALCFLAG =2|(% style="width:192px" %)Set the calculate flag to 2.|(% style="width:109px" %)OK
1064 1064  
1065 -(% style="color:#4f81bd" %)**Downlink Command:**
1014 +(% style="color:blue" %)**Downlink Command:**
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  
1075 1075  Feature: Manually set the count number
1076 1076  
1077 -(% style="color:#4f81bd" %)**AT Command: AT+SETCNT**
1023 +(% style="color:blue" %)**AT Command: AT+SETCNT**
1078 1078  
1079 1079  (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:479px" %)
1080 1080  |=(% 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**
... ... @@ -1081,14 +1081,12 @@
1081 1081  |(% style="width:160px" %)AT+ SETCNT =0|(% style="width:221px" %)Set the count number to 0.|(% style="width:95px" %)OK
1082 1082  |(% style="width:160px" %)AT+ SETCNT =100|(% style="width:221px" %)Set the count number to 100.|(% style="width:95px" %)OK
1083 1083  
1084 -(% style="color:#4f81bd" %)**Downlink Command:**
1030 +(% style="color:blue" %)**Downlink Command:**
1085 1085  
1086 1086  * **Example**: 0xA6000001  ~/~/  Same as AT+ SETCNT =1
1033 +
1087 1087  * **Example**: 0xA6000064  ~/~/  Same as AT+ SETCNT =100
1088 1088  
1089 -
1090 -
1091 -
1092 1092  === 3.3.10 Set Interrupt Mode ===
1093 1093  
1094 1094  
... ... @@ -1120,13 +1120,11 @@
1120 1120  This means that the interrupt mode of the end node is set to 0x000003=3 (rising edge trigger), and the type code is 06.
1121 1121  
1122 1122  * Example 1: Downlink Payload: 06000000  ~/~/  Turn off interrupt mode
1067 +
1123 1123  * Example 2: Downlink Payload: 06000003  ~/~/  Set the interrupt mode to rising edge trigger
1124 1124  
1125 1125  
1126 1126  
1127 -
1128 -
1129 -
1130 1130  === 3.3.11 Set Power Output Duration ===
1131 1131  
1132 1132  
... ... @@ -1153,12 +1153,15 @@
1153 1153  The first and second bytes are the time to turn on.
1154 1154  
1155 1155  * Example 1: Downlink Payload: 070000  **~-~-->**  AT+5VT=0
1098 +
1156 1156  * Example 2: Downlink Payload: 0701F4  **~-~-->**  AT+5VT=500
1157 1157  
1101 +
1102 +
1158 1158  = 4. Battery & Power Consumption =
1159 1159  
1160 1160  
1161 -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.
1162 1162  
1163 1163  [[**Battery Info & Power Consumption Analyze**>>http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] .
1164 1164  
... ... @@ -1167,10 +1167,12 @@
1167 1167  
1168 1168  
1169 1169  (% class="wikigeneratedid" %)
1170 -User can change firmware S31x-LB to:
1115 +User can change firmware CPL03-LB to:
1171 1171  
1172 1172  * Change Frequency band/ region.
1118 +
1173 1173  * Update with new features.
1120 +
1174 1174  * Fix bugs.
1175 1175  
1176 1176  Firmware and changelog can be downloaded from : **[[Firmware download link>>url:https://www.dropbox.com/sh/kwqv57tp6pejias/AAAopYMATh1GM6fZ-VRCLrpDa?dl=0]]**
... ... @@ -1179,18 +1179,23 @@
1179 1179  Methods to Update Firmware:
1180 1180  
1181 1181  * (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 +
1182 1182  * 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]]**.
1183 1183  
1184 1184  = 6. FAQ =
1185 1185  
1134 +== 6.1  AT Commands input doesn't work ==
1186 1186  
1187 1187  
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 +
1188 1188  = 7. Order Info =
1189 1189  
1190 1190  
1191 -Part Number: (% style="color:blue" %)**S31-LB-XX  / S31B-LB-XX**
1143 +Part Number: (% style="color:blue" %)**CPL03-LB-XXX**
1192 1192  
1193 -(% style="color:red" %)**XX**(%%): The default frequency band
1145 +(% style="color:red" %)**XXX**(%%): The default frequency band
1194 1194  
1195 1195  * (% style="color:red" %)**AS923**(%%): LoRaWAN AS923 band
1196 1196  
... ... @@ -1213,7 +1213,7 @@
1213 1213  
1214 1214  (% style="color:#037691" %)**Package Includes**:
1215 1215  
1216 -* S31x-LB LoRaWAN Temperature & Humidity Sensor
1168 +* CPL03-LB LoRaWAN Pulse/Contact Sensor
1217 1217  
1218 1218  (% style="color:#037691" %)**Dimension and weight**:
1219 1219  
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0