EasyManua.ls Logo

Milesight LoRaWAN EM320-TH - Historical Data Enquiry

Milesight LoRaWAN EM320-TH
22 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
21
2. When temperature is below 20°C or over 30°C, it will upload current value immediately.
3. Reboot the device.
5.4 Historical Data Enquiry
EM320-TH sensors 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:
Reply format:
ff
03 (Set Reporting Interval)
b0 04=>04 b0=1200s =20 minutes
ff06ccc8002c0100000000
Channel
Type
Value
ff
06 (Set Threshold Alarm)
Ctrl: cc=>11001 100
100=> below or over
Min: c8 00=>00 c8= 20 °C
Max: 2c01 => 01 2c= 30 °C
ff10ff
Channel
Type
Value
ff
10 (Reboot)
ff (Reserved)
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
ff
6a (Report Interval)
2 Bytes, 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

Related product manuals