Last modified by Xiaoling on 2023/07/18 10:12

From version 235.2
edited by Xiaoling
on 2023/04/26 15:59
Change comment: There is no comment for this version
To version 237.2
edited by Xiaoling
on 2023/04/26 16:53
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -694,14 +694,11 @@
694 694  
695 695  User can poll sensor value based on timestamps from the server. Below is the downlink command.
696 696  
697 -(% border="1" cellspacing="5" style="width:428px;background-color:#F2F2F2" %)
697 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:428px" %)
698 698  |(% style="width:58px" %)1byte|(% style="width:128px" %)4bytes|(% style="width:123px" %)4bytes|(% style="width:116px" %)1byte
699 699  |(% style="width:58px" %)31|(% style="width:128px" %)Timestamp start|(% style="width:123px" %)Timestamp end|(% style="width:116px" %)Uplink Interval
700 700  
701 -[[image:image-20220523152302-15.png||_mstalt="451581"]]
702 702  
703 -[[image:image-20230426155837-1.png]]
704 -
705 705  Timestamp start and Timestamp end use Unix TimeStamp format as mentioned above. Devices will reply with all data log during this time period, use the uplink interval.
706 706  
707 707  For example, downlink command (% _mstmutation="1" %)**31 5FC5F350 5FC6 0160 05**(%%)
... ... @@ -718,10 +718,10 @@
718 718  
719 719  **Retrieval data payload:**
720 720  
721 -(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:480px" %)
722 -|=(% style="width: 60px;" %)(((
718 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:480px" %)
719 +|=(% style="width: 60px;background-color:#D9E2F3" %)(((
723 723  **Size(bytes)**
724 -)))|=(% style="width: 90px;" %)**2**|=(% style="width: 90px;" %)**2**|=(% style="width: 70px;" %)**2**|=(% style="width: 100px;" %)**1**|=(% style="width: 70px;" %)**4**
721 +)))|=(% style="width: 90px;background-color:#D9E2F3" %)**2**|=(% style="width: 90px;background-color:#D9E2F3" %)**2**|=(% style="width: 70px;background-color:#D9E2F3" %)**2**|=(% style="width: 100px;background-color:#D9E2F3" %)**1**|=(% style="width: 70px;background-color:#D9E2F3" %)**4**
725 725  |(% style="width:97px" %)**Value**|(% style="width:123px" %)[[External sensor data>>||anchor="H2.4.6Extvalue"]]|(% style="width:108px" %)[[Built In Temperature>>||anchor="H2.4.3Built-inTemperature"]]|(% style="width:133px" %)[[Built-in Humidity>>||anchor="H2.4.4Built-inHumidity"]]|(% style="width:159px" %)Poll message flag & Ext|(% style="width:80px" %)[[Unix Time Stamp>>||anchor="H2.6.2UnixTimeStamp"]]
726 726  
727 727  **Poll message flag & Ext:**
... ... @@ -1091,9 +1091,13 @@
1091 1091  
1092 1092  (% style="color:#4f81bd" %)**AT Command: AT+TDC**
1093 1093  
1094 -[[image:image-20220523150701-2.png||_mstalt="427453"]]
1091 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:501px" %)
1092 +|(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:166px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:180px" %)**Response**
1093 +|(% style="width:155px" %)AT+TDC?|(% style="width:162px" %)Show current transmit Interval|(% style="width:177px" %)30000 OK the interval is 30000ms = 30s
1094 +|(% style="width:155px" %)AT+TDC=60000|(% style="width:162px" %)Set Transmit Interval|(% style="width:177px" %)OK Set transmit interval to 60000ms = 60 seconds
1095 1095  
1096 1096  
1097 +
1097 1097  (% style="color:#4f81bd" %)**Downlink Command: 0x01**
1098 1098  
1099 1099  Format: Command Code (0x01) followed by 3 bytes time value.
... ... @@ -1112,9 +1112,15 @@
1112 1112  
1113 1113  (% style="color:#4f81bd" %)**AT Command: AT+EXT**
1114 1114  
1115 -[[image:image-20220523150759-3.png||_mstalt="432146"]]
1116 1116  
1117 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:468px" %)
1118 +|(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:151px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:158px" %)**Response**
1119 +|(% style="width:155px" %)AT+EXT?|(% style="width:151px" %)Get current external sensor mode|(% style="width:158px" %)1 OK External Sensor mode =1
1120 +|(% style="width:155px" %)AT+EXT=1|(% colspan="2" rowspan="1" style="width:309px" %)Set external sensor mode to 1
1121 +|(% style="width:155px" %)AT+EXT=9|(% colspan="2" rowspan="1" style="width:309px" %)Set to external DS18B20 with timestamp
1117 1117  
1123 +
1124 +
1118 1118  (% style="color:#4f81bd" %)**Downlink Command: 0xA2**
1119 1119  
1120 1120  Total bytes: 2 ~~ 5 bytes
... ... @@ -1149,9 +1149,13 @@
1149 1149  
1150 1150  (% style="color:#4f81bd" %)**AT Command:**
1151 1151  
1152 -[[image:image-20220523150928-4.png||_mstalt="431821"]]
1153 1153  
1160 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:381px" %)
1161 +|(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:136px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:86px" %)**Response**
1162 +|(% style="width:155px" %)AT+PID=1|(% style="width:136px" %)Enable PID uplink|(% style="width:86px" %)OK
1154 1154  
1164 +
1165 +
1155 1155  (% style="color:#4f81bd" %)**Downlink Command:**
1156 1156  
1157 1157  * **0xA800**  **~-~->** AT+PID=0
... ... @@ -1165,9 +1165,18 @@
1165 1165  
1166 1166  (% style="color:#4f81bd" %)**AT Command: AT+PWORD**
1167 1167  
1168 -[[image:image-20220523151052-5.png||_mstalt="428623"]]
1169 1169  
1180 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:372px" %)
1181 +|(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:124px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:86px" %)**Response**
1182 +|(% style="width:155px" %)AT+PWORD=?|(% style="width:124px" %)Show password|(% style="width:86px" %)(((
1183 +123456
1170 1170  
1185 +OK
1186 +)))
1187 +|(% style="width:155px" %)AT+PWORD=999999|(% style="width:124px" %)Set password|(% style="width:86px" %)OK
1188 +
1189 +
1190 +
1171 1171  (% style="color:#4f81bd" %)**Downlink Command:**
1172 1172  
1173 1173  No downlink command for this feature.
... ... @@ -1181,9 +1181,13 @@
1181 1181  
1182 1182  (% style="color:#4f81bd" %)**AT Command: AT+DISAT**
1183 1183  
1184 -[[image:image-20220523151132-6.png||_mstalt="428649"]]
1185 1185  
1205 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:433px" %)
1206 +|(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:191px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:86px" %)**Response**
1207 +|(% style="width:155px" %)AT+DISAT|(% style="width:191px" %)Quit AT Commands mode|(% style="width:86px" %)OK
1186 1186  
1209 +
1210 +
1187 1187  (% style="color:#4f81bd" %)**Downlink Command:**
1188 1188  
1189 1189  No downlink command for this feature.
... ... @@ -1199,9 +1199,16 @@
1199 1199  
1200 1200  (% style="color:#4f81bd" %)**AT Command: AT+SLEEP**
1201 1201  
1202 -[[image:image-20220523151218-7.png||_mstalt="430703"]]
1203 1203  
1227 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:513px" %)
1228 +|(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:139px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:213px" %)**Response**
1229 +|(% style="width:155px" %)AT+SLEEP|(% style="width:139px" %)Set to sleep mode|(% style="width:213px" %)(((
1230 +Clear all stored sensor data…
1204 1204  
1232 +OK
1233 +)))
1234 +
1235 +
1205 1205  (% style="color:#4f81bd" %)**Downlink Command:**
1206 1206  
1207 1207  * There is no downlink command to set to Sleep mode.
... ... @@ -1214,9 +1214,17 @@
1214 1214  
1215 1215  (% style="color:#4f81bd" %)**AT Command:**
1216 1216  
1217 -[[image:image-20220523151253-8.png||_mstalt="430677"]]
1218 1218  
1249 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:506px" %)
1250 +|(% style="background-color:#d9e2f3; color:#0070c0; width:154px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:285px" %)**Function**
1251 +|(% style="width:154px" %)AT+TIMESTAMP=1611104352|(% style="width:285px" %)(((
1252 +OK
1219 1219  
1254 +Set System time to 2021-01-20 00:59:12
1255 +)))
1256 +
1257 +
1258 +
1220 1220  (% style="color:#4f81bd" %)**Downlink Command:**
1221 1221  
1222 1222  0x306007806000  ~/~/  Set timestamp to 0x(6007806000),Same as AT+TIMESTAMP=1611104352
... ... @@ -1237,9 +1237,13 @@
1237 1237  
1238 1238  (% style="color:#4f81bd" %)**AT Command:**
1239 1239  
1240 -[[image:image-20220523151336-9.png||_mstalt="431717"]]
1241 1241  
1280 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:475px" %)
1281 +|(% style="background-color:#d9e2f3; color:#0070c0; width:156px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:315px" %)**Function**
1282 +|(% style="width:156px" %)AT+SYNCMOD=1|(% style="width:315px" %)Enable Sync system time via LoRaWAN MAC Command (DeviceTimeReq)
1242 1242  
1284 +
1285 +
1243 1243  (% style="color:#4f81bd" %)**Downlink Command:**
1244 1244  
1245 1245  0x28 01  ~/~/  Same As AT+SYNCMOD=1
... ... @@ -1254,9 +1254,13 @@
1254 1254  
1255 1255  (% style="color:#4f81bd" %)**AT Command:**
1256 1256  
1257 -[[image:image-20220523151411-10.png||_mstalt="449696"]]
1258 1258  
1301 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:472px" %)
1302 +|(% style="background-color:#d9e2f3; color:#0070c0; width:156px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:311px" %)**Function**
1303 +|(% style="width:156px" %)AT+SYNCTDC=0x0A |(% style="width:311px" %)Set SYNCTDC to 10 (0x0A), so the sync time is 10 days.
1259 1259  
1305 +
1306 +
1260 1260  (% style="color:#4f81bd" %)**Downlink Command:**
1261 1261  
1262 1262  **0x29 0A**  ~/~/ Same as AT+SYNCTDC=0x0A
... ... @@ -1270,9 +1270,11 @@
1270 1270  
1271 1271  (% style="color:#4f81bd" %)**AT Command: AT+PDTA**
1272 1272  
1273 -[[image:image-20220523151450-11.png||_mstalt="451035"]]
1320 +[[image:image-20230426164330-2.png]]
1274 1274  
1275 1275  
1323 +
1324 +
1276 1276  (% style="color:#4f81bd" %)**Downlink Command:**
1277 1277  
1278 1278  No downlink commands for feature
... ... @@ -1286,9 +1286,11 @@
1286 1286  
1287 1287  (% style="color:#4f81bd" %)**AT Command: AT+PLDTA**
1288 1288  
1289 -[[image:image-20220523151524-12.png||_mstalt="452101"]]
1338 +[[image:image-20230426164932-3.png]]
1290 1290  
1291 1291  
1341 +
1342 +
1292 1292  (% style="color:#4f81bd" %)**Downlink Command:**
1293 1293  
1294 1294  No downlink commands for feature
... ... @@ -1302,9 +1302,17 @@
1302 1302  
1303 1303  (% style="color:#4f81bd" %)**AT Command: AT+CLRDTA**
1304 1304  
1305 -[[image:image-20220523151556-13.png||_mstalt="454129"]]
1306 1306  
1357 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:503px" %)
1358 +|(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:134px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:209px" %)**Response**
1359 +|(% style="width:155px" %)AT+CLRDTA |(% style="width:134px" %)Clear date record|(% style="width:209px" %)(((
1360 +Clear all stored sensor data…
1307 1307  
1362 +OK
1363 +)))
1364 +
1365 +
1366 +
1308 1308  (% style="color:#4f81bd" %)**Downlink Command: 0xA3**
1309 1309  
1310 1310  * Example: 0xA301  ~/~/  Same as AT+CLRDTA
... ... @@ -1319,8 +1319,8 @@
1319 1319  
1320 1320  The default factory setting is 0
1321 1321  
1322 -(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:367px" %)
1323 -|=(% style="width: 158px;" %)**Command Example**|=(% style="width: 118px;" %)**Function**|=(% style="width: 87px;" %)**Response**
1381 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:367px" %)
1382 +|=(% style="width: 158px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 118px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 87px;background-color:#D9E2F3;color:#0070C0" %)**Response**
1324 1324  |(% style="width:158px" %)AT+PNACKMD=1|(% style="width:118px" %)Poll None-ACK message|(% style="width:87px" %)OK
1325 1325  
1326 1326  (% style="color:#4f81bd" %)**Downlink Command: 0x34**
... ... @@ -1332,8 +1332,8 @@
1332 1332  
1333 1333  Feature: Set internal and external temperature sensor alarms.
1334 1334  
1335 -(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:500px" %)
1336 -|=(% style="width: 250px;" %)**Command Example**|=(% style="width: 200px;" %)**Function**|=(% style="width: 50px;" %)**Response**
1394 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %)
1395 +|=(% style="width: 250px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 200px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)**Response**
1337 1337  |(% style="width:268px" %)AT+WMOD=parameter1,parameter2,parameter3,parameter4|(% style="width:255px" %)Set internal and external temperature sensor alarms|(% style="width:181px" %)OK
1338 1338  
1339 1339  (% style="color:#037691" %)**AT+WMOD=parameter1,parameter2,parameter3,parameter4**
image-20230426164330-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +36.6 KB
Content
image-20230426164932-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +23.2 KB
Content