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 235.6
edited by Xiaoling
on 2023/04/26 16:15
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:501px" %)
1118 +|(% 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**
1119 +|(% style="width:155px" %)AT+EXT?|(% style="width:162px" %)Get current external sensor mode|(% style="width:177px" %)1 OK External Sensor mode =1
1120 +|(% style="width:155px" %)AT+EXT=1|(% colspan="2" rowspan="1" style="width:162px" %)Set external sensor mode to 1
1121 +|(% style="width:155px" %)AT+EXT=9|(% colspan="2" rowspan="1" style="width:162px" %)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