26
Example:
1. Set reporting interval as 20 minutes.
2. Reboot
3. Set time zone to GMT-4.
4. Set the device time
5.4 Historical Data Enquiry
WTS series support sending downlink commands to enquire historical data for specified time
point or time range. Before that, ensure
the device time is correct and data storage feature was
enabled to store the data
.
Command format:
ff03b004
Channel
Type
Value
ff
03 (Set Reporting
Interval)
b0 04 => 04 b0 = 1200s
= 20 minutes
ff10ff
Channel
Type
Value
ff
10 (Reboot)
ff(Reserved)
ff17d8ff
Channel
Type
Value
ff
17 (Set Time Zone)
d8 ff => ffd8 = -40 = -4 * 10
ff 11 3d 1c de 5d
Channel
Type
Value
ff
11(Set Device
Time)
3d 1c de 5d=>5d de 1c
3d=1574837309(Unix timestamp)
=>2019/11/17 14:48:29
Channel
Type
Description
fd
6b (Enquire data in time point)
4 Bytes, unix timestamp
fd
6c (Enquire data in time range)
Start time (4 bytes) + End time (4 bytes),
Unix timestamp
fd
6d (Stop query data report)
ff