Last modified by Xiaoling on 2025/07/10 16:21

From version 131.1
edited by Xiaoling
on 2025/04/27 10:31
Change comment: There is no comment for this version
To version 138.1
edited by Mengting Qiu
on 2025/05/23 08:45
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +XWiki.ting
Content
... ... @@ -468,7 +468,6 @@
468 468  
469 469  PS-LB/LS has different kind of probe, 4~~20mA represent the full scale of the measuring range. So a 12mA output means different meaning for different probe. 
470 470  
471 -
472 472  For example.
473 473  
474 474  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
... ... @@ -480,6 +480,23 @@
480 480  The probe model field provides the convenient for server to identical how it should parse the 4~~20mA sensor value and get the correct value.
481 481  
482 482  
482 +When connecting to current sensors sold by our company, you can convert current readings to corresponding values by simply configuring the [[AT+PROBE>>||anchor="H3.3.4SettheProbeModel"]] command. If you prefer not to configure this command on the sensor, you can uniformly handle the conversion in the payload decoder instead.
483 +
484 +**Examples for decoder implementation:**
485 +
486 +~1. For AT+PROBE=0005, add the following processing in your decoder:
487 +
488 +[[image:image-20250512144042-1.png]]
489 +
490 +[[image:image-20250512144122-2.png]]
491 +
492 +2. For AT+PROBE=0102, add the following processing in your decoder(Corresponding to the position shown in the above screenshot).
493 +
494 +bytes[i]=0x01;bytes[1+i]=0x02;
495 +
496 +bytes[2]=0x01;bytes[3]=0x02;
497 +
498 +
483 483  === 2.3.5 0~~20mA value (IDC_IN) ===
484 484  
485 485  
... ... @@ -1215,7 +1215,7 @@
1215 1215  
1216 1216  AT Command: AT +STDC
1217 1217  
1218 -AT+STDC=aa,bb,bb
1234 +AT+STDC=aa,bb,cc
1219 1219  
1220 1220  aa:
1221 1221  0: means disable this function and use TDC to send packets.
... ... @@ -1249,6 +1249,114 @@
1249 1249  
1250 1250  * Example 1: Downlink Payload: AE 01 02 58 12 ~-~-->  AT+STDC=1,600,18
1251 1251  
1268 +
1269 +== 3.4 Print data entries base on page(Since v1.1.0) ==
1270 +
1271 +
1272 +Feature: Print the sector data from start page to stop page (max is 416 pages).
1273 +
1274 +(% style="color:#4f81bd" %)**AT Command: AT+PDTA**
1275 +
1276 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
1277 +|(% style="background-color:#4f81bd; color:white; width:158px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:352px" %)**Function**
1278 +|(% style="width:156px" %)(((
1279 + AT+PDTA=1,1
1280 +Print page 1 to 1
1281 +)))|(% style="width:311px" %)(((
1282 +Stop Tx events when read sensor data
1283 +
1284 +8031000 1970/1/1 00:00:00 0 in1:low in2:low exti:low status:false vdc:0.000 idc:0.000 proble:0000 water_deep:0.000
1285 +
1286 +8031010 1970/1/1 00:00:00 0 in1:low in2:low exti:low status:false vdc:0.000 idc:0.000 proble:0000 water_deep:0.000
1287 +
1288 +8031020 1970/1/1 00:00:00 0 in1:low in2:low exti:low status:false vdc:0.000 idc:0.000 proble:0000 water_deep:0.000
1289 +
1290 +8031030 1970/1/1 00:00:00 0 in1:low in2:low exti:low status:false vdc:0.000 idc:0.000 proble:0000 water_deep:0.000
1291 +
1292 +8031040 1970/1/1 00:00:00 0 in1:low in2:low exti:low status:false vdc:0.000 idc:0.000 proble:0000 water_deep:0.000
1293 +
1294 +8031050 1970/1/1 00:00:00 0 in1:low in2:low exti:low status:false vdc:0.000 idc:0.000 proble:0000 water_deep:0.000
1295 +
1296 +8031060 1970/1/1 00:00:00 0 in1:low in2:low exti:low status:false vdc:0.000 idc:0.000 proble:0000 water_deep:0.000
1297 +
1298 +8031070 1970/1/1 00:00:00 0 in1:low in2:low exti:low status:false vdc:0.000 idc:0.000 proble:0000 water_deep:0.000
1299 +
1300 +Start Tx events
1301 +
1302 +
1303 +OK
1304 +)))
1305 +
1306 +(% style="color:#4f81bd" %)**Downlink Command:**
1307 +
1308 +No downlink commands for feature
1309 +
1310 +
1311 +== 3.5 Print last few data entries(Since v1.1.0) ==
1312 +
1313 +
1314 +Feature: Print the last few data entries
1315 +
1316 +
1317 +(% style="color:#4f81bd" %)**AT Command: AT+PLDTA**
1318 +
1319 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
1320 +|(% style="background-color:#4f81bd; color:white; width:158px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:352px" %)**Function**
1321 +|(% style="width:156px" %)(((
1322 +AT+PLDTA=10
1323 +Print last 10 entries
1324 +)))|(% style="width:311px" %)(((
1325 +Stop Tx events when read sensor data
1326 +
1327 +0001 2025/5/19 06:16:50 3246 in1:low in2:low exti:low status:false vdc:3.352 idc:0.000 proble:0000 water_deep:0.000
1328 +
1329 +0002 2025/5/19 06:17:50 3246 in1:low in2:low exti:low status:false vdc:3.352 idc:0.000 proble:0000 water_deep:0.000
1330 +
1331 +0003 2025/5/19 06:18:50 3246 in1:low in2:low exti:low status:false vdc:3.352 idc:0.000 proble:0000 water_deep:0.000
1332 +
1333 +0004 2025/5/19 06:19:50 3246 in1:low in2:low exti:low status:false vdc:3.352 idc:0.000 proble:0000 water_deep:0.000
1334 +
1335 +0005 2025/5/19 06:20:50 3246 in1:low in2:low exti:low status:false vdc:3.352 idc:0.000 proble:0000 water_deep:0.000
1336 +
1337 +0006 2025/5/19 06:21:50 3246 in1:low in2:low exti:low status:false vdc:3.351 idc:0.000 proble:0000 water_deep:0.000
1338 +
1339 +0007 2025/5/19 06:22:50 3240 in1:low in2:low exti:low status:false vdc:3.351 idc:0.000 proble:0000 water_deep:0.000
1340 +
1341 +0008 2025/5/19 06:26:44 3276 in1:low in2:low exti:low status:false vdc:3.385 idc:0.000 proble:0000 water_deep:0.000
1342 +
1343 +0009 2025/5/19 06:27:36 3246 in1:low in2:low exti:low status:false vdc:3.351 idc:0.000 proble:0000 water_deep:0.000
1344 +
1345 +0010 2025/5/19 06:28:36 3240 in1:low in2:low exti:low status:false vdc:3.351 idc:0.000 proble:0000 water_deep:0.000
1346 +
1347 +Start Tx events
1348 +
1349 +OK
1350 +)))
1351 +
1352 +(% style="color:#4f81bd" %)**Downlink Command:**
1353 +
1354 +No downlink commands for feature
1355 +
1356 +
1357 +== 3.6 Clear Flash Record(Since v1.1.0) ==
1358 +
1359 +
1360 +Feature: Clear flash storage for data log feature.
1361 +
1362 +(% style="color:#4f81bd" %)**AT Command: AT+CLRDTA**
1363 +
1364 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:503px" %)
1365 +|(% style="background-color:#4f81bd; color:white; width:157px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:137px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:209px" %)**Response**
1366 +|(% style="width:155px" %)AT+CLRDTA |(% style="width:134px" %)Clear date record|(% style="width:209px" %)(((
1367 +Clear all stored sensor data…
1368 +
1369 +OK
1370 +)))
1371 +
1372 +(% style="color:#4f81bd" %)**Downlink Command: 0xA3**
1373 +
1374 +* Example: 0xA301  ~/~/  Same as AT+CLRDTA
1375 +
1252 1252  = 4. Battery & Power Consumption =
1253 1253  
1254 1254  
image-20250512144042-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +471.4 KB
Content
image-20250512144122-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +572.9 KB
Content