Downlink Commands for Query
This section describes the downlink commands for querying the device data.
Query Current Data
Command description:
| Item | Byte | Command | Value | Example |
|---|---|---|---|---|
| Enquiry Periodic Report | 1 | b9 | - | - |
Query Historical Data
Prerequisites: Data Storage was enabled and device time is synced.
Command description:
| Item | Byte | Command | Value | Example |
|---|---|---|---|---|
| Query data for a specified time point | 1+4 | ba | Unix timestamp, UINT32, Unit: s | / |
| Query data for a specified time range | 1+8 | bb | Start Unix Timestamp (4B) + End Unix Timestamp (4B), UINT32, Unit: s | Query data from 1697445000s to 1697445600s: bb88f42c65e0f62c65 |
| Stop data query report | 1 | bc | - | / |
| Query report interval | 1+3 | c5 | Byte 1:
03 Byte 2-3: UINT16, Unit:s, Range: 30-1200 s, Default: 60 |
Report interval is 1200s: c503b004 |
Reply description: Historical Data Packet