Reply format:
Note:
1. The device only uploads no more than 300 data records per range enquiry.
2. When enquiring the data in time point, it will upload the data which is closest to the search
point within the reporting interval range. For example, if the device reporting interval is 10
minutes and users send command to search for 17:00’s data, if the device find there is data
stored in 17:00, it will upload this data; if not, it will search for data between 16:50 to 17:10 and
upload the data which is closest to 17:00.
Example:
1. Enquire historical data between 2022/9/8 17:43:31 to 2022/9/9 01:45:20.
Reply:
2 Bytes, unit: s,
range: 30~1200s (60s by default)
00: data enquiry success
01: time point or time range invalid
02: no data in this time or time range
Data time stamp (4 Bytes) + Data Contents (Mutable)
6c (Enquire data in time
range)
Start time: c3291a63 => 631a29c3 =
1662659011 =2022/9/8 17:43:31
End time: b09a1a63 => 631a9ab0 =
1662659011 =2022/9/9 01:45:20
6c (Enquire data in time range)
20ce56991a63 ff00 7300 00 00 f802 6400 9127 2200 2600
56991a63 =>
2022/9/9
01:39:34
Temperature: ff00=>00ff=25.5°C
Humidity: 7300=>0073=57.5%
PIR: 00=> Vacant