27
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’s 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 these data. If no, 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/10/10 14:45:00 to 2022-10-10 15:35:00.
Reply:
ff
6a (Report Interval)
3 Bytes,
Byte 1: 01
Byte 2: interval time, unit: s,
range: 30~1200s (60s by default)
Channel
Type
Description
fc
6b/6c
00: data enquiry success
01: time point or time range invalid
02: no data in this time or time range
20
ce (Historical Data) Data time stamp (4 Bytes) + Data Contents (Mutable)
fd6c c3291a63 b09a1a63
Channel
Type
Value
fd
6c (Enquire data in time
range)
Start time: 6cbf4363 => 6343bf6c =
1665384300 =2022/10/10 14:45:00
End time: 24cb4363 => 6343cb24 =
1665387300 =2022-10-10 15:35:00
fc6c00
Channel
Type
Value
fc
6c (Enquire data in time range)
00: data enquiry success
20ce 60c34363 0e01 64 8c27 c706 0400 1000