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

From version 205.1
edited by Edwin Chen
on 2022/10/11 18:16
Change comment: There is no comment for this version
To version 209.1
edited by Bei Jinggeng
on 2022/10/18 10:47
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Edwin
1 +XWiki.Bei
Content
... ... @@ -197,7 +197,7 @@
197 197  
198 198  
199 199  
200 -== 2.4 Uplink Payload ==
200 +== 2.4 Uplink Payload   ( Fport~=2) ==
201 201  
202 202  
203 203  (((
... ... @@ -281,12 +281,9 @@
281 281  
282 282  When the uplink payload arrives TTNv3, it shows HEX format and not friendly to read. We can add LHT65N decoder in TTNv3 for friendly reading.
283 283  
284 -Below is the position to put the decoder and LHT65N decoder can be download from here:
284 +Below is the position to put the decoder and LHT65N decoder can be download from here: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>https://github.com/dragino/dragino-end-node-decoder]]
285 285  
286 286  
287 -[[https:~~/~~/www.dropbox.com/sh/r2i3zlhsyrpavla/AAB1sZw3mdT0K7XjpHCITt13a?dl=0 >>https://www.dropbox.com/sh/r2i3zlhsyrpavla/AAB1sZw3mdT0K7XjpHCITt13a?dl=0||_msthash="315253" _msttexthash="3509064" _mstvisible="2"]]
288 -
289 -
290 290  [[image:image-20220522234118-10.png||_mstalt="451464" _mstvisible="3" height="353" width="729"]]
291 291  
292 292  
... ... @@ -997,9 +997,9 @@
997 997  (((
998 998  [[image:image-20221006192726-1.png||height="112" width="754"]]
999 999  
1000 -(% class="mark" %)No ACK Message(%%): 1: This message means this payload is fromn Uplink Message which doesn't get ACK from the server before ( for [[PNACKMD=1>>||anchor="H4.13AutoSendNone-ACKmessages"]] feature)
997 +(% class="mark" %)**No ACK Message**(%%): 1: This message means this payload is fromn Uplink Message which doesn't get ACK from the server before ( for [[PNACKMD=1>>||anchor="H4.13AutoSendNone-ACKmessages"]] feature)
1001 1001  
1002 -(% class="mark" %)Poll Message Flag(%%): 1: This message is a poll message reply.
999 +(% class="mark" %)**Poll Message Flag**(%%): 1: This message is a poll message reply.
1003 1003  
1004 1004  
1005 1005  )))
... ... @@ -1050,7 +1050,7 @@
1050 1050  (((
1051 1051  (% _msthash="736725" _msttexthash="1065532" _mstvisible="3" %)
1052 1052  (((
1053 -a) DR0: max is 11 bytes so one entry of data
1050 +**a) DR0:** max is 11 bytes so one entry of data
1054 1054  )))
1055 1055  )))
1056 1056  )))
... ... @@ -1061,7 +1061,7 @@
1061 1061  (((
1062 1062  (% _msthash="736726" _msttexthash="3265665" _mstvisible="3" %)
1063 1063  (((
1064 -b) DR1: max is 53 bytes so devices will upload 4 entries of data (total 44 bytes)
1061 +**b) DR1:** max is 53 bytes so devices will upload 4 entries of data (total 44 bytes)
1065 1065  )))
1066 1066  )))
1067 1067  )))
... ... @@ -1072,7 +1072,7 @@
1072 1072  (((
1073 1073  (% _msthash="736727" _msttexthash="1454115" _mstvisible="3" style="text-align: left;" %)
1074 1074  (((
1075 -c) DR2: total payload includes 11 entries of data
1072 +**c) DR2:** total payload includes 11 entries of data
1076 1076  )))
1077 1077  )))
1078 1078  )))
... ... @@ -1083,7 +1083,7 @@
1083 1083  (((
1084 1084  (% _msthash="736728" _msttexthash="1483924" _mstvisible="3" style="text-align: left;" %)
1085 1085  (((
1086 -d) DR3: total payload includes 22 entries of data.
1083 +**d) DR3: **total payload includes 22 entries of data.
1087 1087  )))
1088 1088  )))
1089 1089  )))
... ... @@ -1094,7 +1094,7 @@
1094 1094  (((
1095 1095  (% _msthash="736729" _msttexthash="5848349" _mstvisible="3" style="text-align: left;" %)
1096 1096  (((
1097 -If devise doesnt have any data in the polling time. Device will uplink 11 bytes of 0   
1094 +If devise doesn't have any data in the polling time. Device will uplink 11 bytes of 0   
1098 1098  )))
1099 1099  )))
1100 1100  )))
... ... @@ -1195,17 +1195,37 @@
1195 1195  (((
1196 1196  (% style="color:red" %)**Note: alarm mode adds a little power consumption, and we recommend extending the normal read time when this feature is enabled.**
1197 1197  
1195 +=== **2.7.1 ALARM MODE ( Since v1.3.1 firmware)** ===
1196 +
1197 +(((
1198 +(% class="box infomessage" %)
1199 +(((
1200 +**AT+WMOD=3,**:  Enable/disable alarm mode. (0: Disabled, 1: Enabled Temperature Alarm for onboard temperature sensor)
1201 +
1202 +**AT+CITEMP=1**:  The interval between checking the alarm temperature. (In minutes)
1203 +
1204 +**AT+ARTEMP**:  Gets or sets the alarm range of the internal temperature sensor
1205 +
1206 +**AT+ARTEMP=? **:  Gets the alarm range of the internal temperature sensor(% _mstvisible="3" style="display:none" %)
1207 +
1208 +**AT+ARTEMP=45,105**:  Set the internal temperature sensor alarm range from 45 to 105.
1209 +
1210 +**AT+LEDALARM=1** :       Enable LED visual Alarm.
1211 +)))
1212 +)))
1213 +
1214 +
1198 1198  
1199 1199  )))
1200 1200  
1201 1201  (((
1202 -**AT COMMAND FOR ALARM MODE:**
1219 +=== **2.7.2 ALARM MODE ( Before v1.3.1 firmware)** ===
1203 1203  )))
1204 1204  
1205 1205  (% _mstvisible="1" class="box infomessage" %)
1206 1206  (((
1207 1207  (((
1208 -**AT+WMOD=1**:  Enable/disable alarm mode. (0: Disabled, 1: Enabled)
1225 +**AT+WMOD=1**:  Enable/disable alarm mode. (0: Disabled, 1: Enabled Temperature Alarm for onboard temperature sensor)
1209 1209  )))
1210 1210  
1211 1211  (((
... ... @@ -1540,7 +1540,7 @@
1540 1540  
1541 1541  (% _msthash="315257" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:**
1542 1542  
1543 -**0x29 0A** ~/~/ Same as AT+SYNCTDC=0x0A
1560 +**0x29 0A**  ~/~/ Same as AT+SYNCTDC=0x0A
1544 1544  
1545 1545  
1546 1546  
... ... @@ -1591,7 +1591,7 @@
1591 1591  
1592 1592  (% style="color:#4f81bd" %)**Downlink Command: 0xA3**
1593 1593  
1594 -* Example: 0xA301 ~/~/Same as AT+CLRDTA
1611 +* Example: 0xA301  ~/~/  Same as AT+CLRDTA
1595 1595  
1596 1596  == 4.13 Auto Send None-ACK messages ==
1597 1597  
... ... @@ -1611,8 +1611,57 @@
1611 1611  
1612 1612  (% style="color:#4f81bd" %)**Downlink Command: 0x34**
1613 1613  
1614 -* Example: 0x3401 ~/~/Same as AT+PNACKMD=1
1631 +* Example: 0x3401 ~/~/  Same as AT+PNACKMD=1
1615 1615  
1633 +== 4.14 Modified ATWOOD command for external sensor TMP117 or DS18B20 temperature alarm ==
1634 +
1635 +
1636 +Feature: Set internal and external temperature sensor alarms.
1637 +
1638 +(% border="1" style="background-color:#ffffcc; color:green; width:450px" %)
1639 +|(%%)(% _msthash="1231737" _msttexthash="251862" _mstvisible="6" %)**Command Example**|(%%)(% _msthash="1231738" _msttexthash="116025" _mstvisible="6" %)**Function**|(%%)(% _msthash="1231739" _msttexthash="116831" _mstvisible="6" %)**Response**
1640 +|(%%)(% style="color:#037691" %)AT+WMOD=parameter1,parameter2,parameter3,parameter4|Set internal and external temperature sensor alarms|OK
1641 +
1642 +(% style="color:#037691" %)**AT+WMOD=parameter1,parameter2,parameter3,parameter4**
1643 +
1644 +(% style="color:#037691" %)**Parameter 1**(%%):  Alarm mode:
1645 +
1646 +0): Cancel
1647 +
1648 +1): Threshold alarm
1649 +
1650 +2): Fluctuation alarm
1651 +
1652 +
1653 +(% style="color:#037691" %)** Parameter 2**(%%):  Sampling time. Unit: seconds, up to 255 seconds.
1654 +
1655 +(% style="color:red" %)**Note: When the collection time is less than 60 seconds and always exceeds the set alarm threshold, the sending interval will not be the collection time, but will be sent every 60 seconds.**
1656 +
1657 +
1658 +(% style="color:#037691" %) **Parameter 3 and parameter 4:**
1659 +
1660 +1):  If Alarm Mode is set to 1: Parameter 3 and parameter 4 are valid, as before, they represent low temperature and high temperature.
1661 +
1662 +Such as AT+WMOD=1,60,45,105, it means high and low temperature alarm.
1663 +
1664 +
1665 +2):  If Alarm Mode is set to 2: Parameter 3 is valid, which represents the difference between the currently collected temperature and the last uploaded temperature.
1666 +
1667 +Such as AT+WMOD=2,10,2,it means that it is a fluctuation alarm.
1668 +
1669 +If the difference between the current collected temperature and the last Uplin is ±2 degrees, the alarm will be issued.
1670 +
1671 +
1672 +(% style="color:#4f81bd" %)**Downlink Command: 0xA5**
1673 +
1674 +0xA5 00 ~-~- AT+WMOD=0.
1675 +
1676 +0xA5 01 0A 11 94 29 04 ~-~- AT+WMOD=1,10,45,105  (AT+WMOD = second byte, third byte, fourth and fifth bytes divided by 100, sixth and seventh bytes divided by 100 )
1677 +
1678 +0xA5 02 0A 02 ~-~- AT+WMOD=2,10,2  (AT+WMOD = second byte, third byte, fourth byte)
1679 +
1680 +0xA5 FF ~-~- After the device receives it, upload the current alarm configuration (FPORT=8). Such as 01 0A 11 94 29 04 or 02 0A 02.
1681 +
1616 1616  = 5. Battery & How to replace =
1617 1617  
1618 1618