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

From version 234.17
edited by Xiaoling
on 2023/04/26 15:18
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
... ... @@ -312,7 +312,6 @@
312 312  |(% style="width:102px" %)0x01|(% style="width:319px" %)Sensor E3, Temperature Sensor
313 313  |(% style="width:102px" %)0x09|(% style="width:319px" %)Sensor E3, Temperature Sensor, Datalog Mod
314 314  
315 -
316 316  === 2.4.6 Ext value ===
317 317  
318 318  ==== 2.4.6.1 Ext~=1, E3 Temperature Sensor ====
... ... @@ -349,9 +349,6 @@
349 349  Timestamp mode is designed for LHT65N with E3 probe, it will send the uplink payload with Unix timestamp. With the limitation of 11 bytes (max distance of AU915/US915/AS923 band), the time stamp mode will be lack of BAT voltage field, instead, it shows the battery status. The payload is as below:
350 350  )))
351 351  
352 -(((
353 -
354 -)))
355 355  
356 356  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:480px" %)
357 357  |=(% style="width: 50px;background-color:#D9E2F3" %)(((
... ... @@ -384,8 +384,8 @@
384 384  * **Battery status & Built-in Humidity**
385 385  
386 386  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:461px" %)
387 -|=(% style="width: 69px;" %)Bit(bit)|=(% style="width: 258px;" %)[15:14]|=(% style="width: 134px;" %)[11:0]
388 -|(% style="width:67px" %)Value|(% style="width:256px" %)(((
383 +|=(% style="width: 69px;background-color:#D9E2F3;color:#0070C0" %)Bit(bit)|=(% style="width: 258px;background-color:#D9E2F3;color:#0070C0" %)[15:14]|=(% style="width: 134px;background-color:#D9E2F3;color:#0070C0" %)[11:0]
384 +|(% style="width:67px" %)**Value**|(% style="width:256px" %)(((
389 389  BAT Status
390 390  00(b): Ultra Low ( BAT <= 2.50v)
391 391  01(b): Low  (2.50v <=BAT <= 2.55v)
... ... @@ -398,7 +398,7 @@
398 398  * **Status & Ext Byte**
399 399  
400 400  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %)
401 -|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)**Bits**|(% style="width:90px;background-color:#D9E2F3;color:#0070C0" %)**7**|(% style="width:100px;background-color:#D9E2F3;color:#0070C0" %)**6**|(% style="width:90px;background-color:#D9E2F3;color:#0070C0" %)**5**|(% style="width:100px;background-color:#D9E2F3;color:#0070C0" %)**4**|(% style="width:60px;background-color:#D9E2F3;color:#0070C0" %)**[3:0]**
397 +|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)**Bits**|(% style="background-color:#d9e2f3; color:#0070c0; width:90px" %)**7**|(% style="background-color:#d9e2f3; color:#0070c0; width:100px" %)**6**|(% style="background-color:#d9e2f3; color:#0070c0; width:90px" %)**5**|(% style="background-color:#d9e2f3; color:#0070c0; width:100px" %)**4**|(% style="background-color:#d9e2f3; color:#0070c0; width:60px" %)**[3:0]**
402 402  |=(% style="width: 96px;" %)**Status&Ext**|(% style="width:124px" %)None-ACK Flag|(% style="width:146px" %)Poll Message FLAG|(% style="width:109px" %)Sync time OK|(% style="width:143px" %)Unix Time Request|(% style="width:106px" %)Ext: 0b(1001)
403 403  
404 404  * (% style="color:blue" %)**Poll Message Flag**:(%%)  1: This message is a poll message reply, 0: means this is a normal uplink.
... ... @@ -490,21 +490,21 @@
490 490  
491 491  Ext=4,Interrupt Sensor:
492 492  
493 -(% border="1.5" cellpadding="4" cellspacing="4" style="background-color:#ffffcc; color:green; height:6px; width:478px" %)
489 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:504px" %)
494 494  |(% style="width:101px" %)(((
495 -AT+EXT=4,1
496 -)))|(% style="width:373px" %)(((
497 -Sent uplink packet in both rising and falling interrupt
491 +**AT+EXT=4,1**
492 +)))|(% style="width:395px" %)(((
493 +**Sent uplink packet in both rising and falling interrupt**
498 498  )))
499 499  |(% style="width:101px" %)(((
500 -AT+EXT=4,2
501 -)))|(% style="width:373px" %)(((
502 -Sent uplink packet only in falling interrupt
496 +**AT+EXT=4,2**
497 +)))|(% style="width:395px" %)(((
498 +**Sent uplink packet only in falling interrupt**
503 503  )))
504 504  |(% style="width:101px" %)(((
505 -AT+EXT=4,3
506 -)))|(% style="width:373px" %)(((
507 -Sent uplink packet only in rising interrupt
501 +**AT+EXT=4,3**
502 +)))|(% style="width:395px" %)(((
503 +**Sent uplink packet only in rising interrupt**
508 508  )))
509 509  
510 510  Trigger by falling edge:
... ... @@ -536,21 +536,21 @@
536 536  
537 537  Ext=8, Counting Sensor ( 4 bytes):
538 538  
539 -(% border="2" cellpadding="4" cellspacing="4" style="background-color:#ffffcc; color:green; height:6px; width:381px" %)
540 -|(% style="width:138px" %)(((
541 -AT+EXT=8,0
542 -)))|(% style="width:240px" %)(((
543 -Count at falling interrupt
535 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:330px" %)
536 +|(% style="width:131px" %)(((
537 +**AT+EXT=8,0**
538 +)))|(% style="width:195px" %)(((
539 +**Count at falling interrupt**
544 544  )))
545 -|(% style="width:138px" %)(((
546 -AT+EXT=8,1
547 -)))|(% style="width:240px" %)(((
548 -Count at rising interrupt
541 +|(% style="width:131px" %)(((
542 +**AT+EXT=8,1**
543 +)))|(% style="width:195px" %)(((
544 +**Count at rising interrupt**
549 549  )))
550 -|(% style="width:138px" %)(((
551 -AT+SETCNT=60
552 -)))|(% style="width:240px" %)(((
553 -Sent current count to 60
546 +|(% style="width:131px" %)(((
547 +**AT+SETCNT=60**
548 +)))|(% style="width:195px" %)(((
549 +**Sent current count to 60**
554 554  )))
555 555  
556 556  [[image:image-20220906101320-6.png||_mstalt="428064"]]
... ... @@ -576,9 +576,6 @@
576 576  Datacake IoT platform provides a human-friendly interface to show the sensor data, once we have sensor data in TTN V3, we can use Datacake to connect to TTN V3 and see the data in Datacake. Below are the steps:
577 577  )))
578 578  
579 -(((
580 -
581 -)))
582 582  
583 583  (((
584 584  (% style="color:blue" %)**Step 1**(%%): Be sure that your device is programmed and properly connected to the LoRaWAN network.
... ... @@ -588,9 +588,6 @@
588 588  (% style="color:blue" %)**Step 2**(%%): Configure your Application to forward data to Datacake you will need to add integration. Go to TTN V3 Console ~-~-> Applications ~-~-> Integrations ~-~-> Add Integrations.
589 589  )))
590 590  
591 -(((
592 -
593 -)))
594 594  
595 595  (((
596 596  Add Datacake:
... ... @@ -704,7 +704,9 @@
704 704  
705 705  User can poll sensor value based on timestamps from the server. Below is the downlink command.
706 706  
707 -[[image:image-20220523152302-15.png||_mstalt="451581"]]
697 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:428px" %)
698 +|(% style="width:58px" %)1byte|(% style="width:128px" %)4bytes|(% style="width:123px" %)4bytes|(% style="width:116px" %)1byte
699 +|(% style="width:58px" %)31|(% style="width:128px" %)Timestamp start|(% style="width:123px" %)Timestamp end|(% style="width:116px" %)Uplink Interval
708 708  
709 709  
710 710  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.
... ... @@ -723,10 +723,10 @@
723 723  
724 724  **Retrieval data payload:**
725 725  
726 -(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:480px" %)
727 -|=(% style="width: 60px;" %)(((
718 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:480px" %)
719 +|=(% style="width: 60px;background-color:#D9E2F3" %)(((
728 728  **Size(bytes)**
729 -)))|=(% 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**
730 730  |(% 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"]]
731 731  
732 732  **Poll message flag & Ext:**
... ... @@ -1096,9 +1096,13 @@
1096 1096  
1097 1097  (% style="color:#4f81bd" %)**AT Command: AT+TDC**
1098 1098  
1099 -[[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
1100 1100  
1101 1101  
1097 +
1102 1102  (% style="color:#4f81bd" %)**Downlink Command: 0x01**
1103 1103  
1104 1104  Format: Command Code (0x01) followed by 3 bytes time value.
... ... @@ -1117,9 +1117,15 @@
1117 1117  
1118 1118  (% style="color:#4f81bd" %)**AT Command: AT+EXT**
1119 1119  
1120 -[[image:image-20220523150759-3.png||_mstalt="432146"]]
1121 1121  
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
1122 1122  
1123 +
1124 +
1123 1123  (% style="color:#4f81bd" %)**Downlink Command: 0xA2**
1124 1124  
1125 1125  Total bytes: 2 ~~ 5 bytes
... ... @@ -1154,9 +1154,13 @@
1154 1154  
1155 1155  (% style="color:#4f81bd" %)**AT Command:**
1156 1156  
1157 -[[image:image-20220523150928-4.png||_mstalt="431821"]]
1158 1158  
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
1159 1159  
1164 +
1165 +
1160 1160  (% style="color:#4f81bd" %)**Downlink Command:**
1161 1161  
1162 1162  * **0xA800**  **~-~->** AT+PID=0
... ... @@ -1170,9 +1170,18 @@
1170 1170  
1171 1171  (% style="color:#4f81bd" %)**AT Command: AT+PWORD**
1172 1172  
1173 -[[image:image-20220523151052-5.png||_mstalt="428623"]]
1174 1174  
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
1175 1175  
1185 +OK
1186 +)))
1187 +|(% style="width:155px" %)AT+PWORD=999999|(% style="width:124px" %)Set password|(% style="width:86px" %)OK
1188 +
1189 +
1190 +
1176 1176  (% style="color:#4f81bd" %)**Downlink Command:**
1177 1177  
1178 1178  No downlink command for this feature.
... ... @@ -1186,9 +1186,13 @@
1186 1186  
1187 1187  (% style="color:#4f81bd" %)**AT Command: AT+DISAT**
1188 1188  
1189 -[[image:image-20220523151132-6.png||_mstalt="428649"]]
1190 1190  
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
1191 1191  
1209 +
1210 +
1192 1192  (% style="color:#4f81bd" %)**Downlink Command:**
1193 1193  
1194 1194  No downlink command for this feature.
... ... @@ -1204,9 +1204,16 @@
1204 1204  
1205 1205  (% style="color:#4f81bd" %)**AT Command: AT+SLEEP**
1206 1206  
1207 -[[image:image-20220523151218-7.png||_mstalt="430703"]]
1208 1208  
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…
1209 1209  
1232 +OK
1233 +)))
1234 +
1235 +
1210 1210  (% style="color:#4f81bd" %)**Downlink Command:**
1211 1211  
1212 1212  * There is no downlink command to set to Sleep mode.
... ... @@ -1219,9 +1219,17 @@
1219 1219  
1220 1220  (% style="color:#4f81bd" %)**AT Command:**
1221 1221  
1222 -[[image:image-20220523151253-8.png||_mstalt="430677"]]
1223 1223  
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
1224 1224  
1254 +Set System time to 2021-01-20 00:59:12
1255 +)))
1256 +
1257 +
1258 +
1225 1225  (% style="color:#4f81bd" %)**Downlink Command:**
1226 1226  
1227 1227  0x306007806000  ~/~/  Set timestamp to 0x(6007806000),Same as AT+TIMESTAMP=1611104352
... ... @@ -1242,9 +1242,13 @@
1242 1242  
1243 1243  (% style="color:#4f81bd" %)**AT Command:**
1244 1244  
1245 -[[image:image-20220523151336-9.png||_mstalt="431717"]]
1246 1246  
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)
1247 1247  
1284 +
1285 +
1248 1248  (% style="color:#4f81bd" %)**Downlink Command:**
1249 1249  
1250 1250  0x28 01  ~/~/  Same As AT+SYNCMOD=1
... ... @@ -1259,9 +1259,13 @@
1259 1259  
1260 1260  (% style="color:#4f81bd" %)**AT Command:**
1261 1261  
1262 -[[image:image-20220523151411-10.png||_mstalt="449696"]]
1263 1263  
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.
1264 1264  
1305 +
1306 +
1265 1265  (% style="color:#4f81bd" %)**Downlink Command:**
1266 1266  
1267 1267  **0x29 0A**  ~/~/ Same as AT+SYNCTDC=0x0A
... ... @@ -1275,9 +1275,11 @@
1275 1275  
1276 1276  (% style="color:#4f81bd" %)**AT Command: AT+PDTA**
1277 1277  
1278 -[[image:image-20220523151450-11.png||_mstalt="451035"]]
1320 +[[image:image-20230426164330-2.png]]
1279 1279  
1280 1280  
1323 +
1324 +
1281 1281  (% style="color:#4f81bd" %)**Downlink Command:**
1282 1282  
1283 1283  No downlink commands for feature
... ... @@ -1291,9 +1291,11 @@
1291 1291  
1292 1292  (% style="color:#4f81bd" %)**AT Command: AT+PLDTA**
1293 1293  
1294 -[[image:image-20220523151524-12.png||_mstalt="452101"]]
1338 +[[image:image-20230426164932-3.png]]
1295 1295  
1296 1296  
1341 +
1342 +
1297 1297  (% style="color:#4f81bd" %)**Downlink Command:**
1298 1298  
1299 1299  No downlink commands for feature
... ... @@ -1307,9 +1307,17 @@
1307 1307  
1308 1308  (% style="color:#4f81bd" %)**AT Command: AT+CLRDTA**
1309 1309  
1310 -[[image:image-20220523151556-13.png||_mstalt="454129"]]
1311 1311  
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…
1312 1312  
1362 +OK
1363 +)))
1364 +
1365 +
1366 +
1313 1313  (% style="color:#4f81bd" %)**Downlink Command: 0xA3**
1314 1314  
1315 1315  * Example: 0xA301  ~/~/  Same as AT+CLRDTA
... ... @@ -1324,8 +1324,8 @@
1324 1324  
1325 1325  The default factory setting is 0
1326 1326  
1327 -(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:367px" %)
1328 -|=(% 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**
1329 1329  |(% style="width:158px" %)AT+PNACKMD=1|(% style="width:118px" %)Poll None-ACK message|(% style="width:87px" %)OK
1330 1330  
1331 1331  (% style="color:#4f81bd" %)**Downlink Command: 0x34**
... ... @@ -1337,8 +1337,8 @@
1337 1337  
1338 1338  Feature: Set internal and external temperature sensor alarms.
1339 1339  
1340 -(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:500px" %)
1341 -|=(% 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**
1342 1342  |(% style="width:268px" %)AT+WMOD=parameter1,parameter2,parameter3,parameter4|(% style="width:255px" %)Set internal and external temperature sensor alarms|(% style="width:181px" %)OK
1343 1343  
1344 1344  (% style="color:#037691" %)**AT+WMOD=parameter1,parameter2,parameter3,parameter4**
image-20230426155837-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +2.4 KB
Content
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