13
4
Timestamp s
UTC. Elapsed seconds since
1970-01-01T00:00:00Z
3
T
o
C
Conversion: int24 / 100
Status: int24 over 8 388 352
-83 886.08 .. 83 883.52
0.01
2
RH
%RH
Conversion: uint16 / 100
Status: uint16 over 65 280
0 .. 652.80
0.01
Type 100
–
Collection of types
This type is used to combine several types into the same uplink packet.
Bytes Name
Meaning
1
Type
100: Collection packet
1
Length
Length of the following message
X
Data
Message e.g. type 7 message
1
Length
Length of the following message
X
Data
Message e.g. type 1 message
Example uplinks
Here are some example uplinks to help clarify how the uplink payloads are structured.
Bytes are presented as hex values, numbers are LSBF.
E.g., consecutive bytes 0x01 and 0x23 converted to uint16 equals 0x01 + 0x23*0x100.
Example
–
collection packet
Bytes (hex):
64 05 07 01 A3 08 00 0E 01 73 57 50 00 00 02 5B FF 50 B1 B5 8D
Interpretation:
Bytes (hex)
Name
Meaning
64
Type
Type 100 = Collection packet
05
Message length
Length = 5, excluding length field.
07
Message type
Type 7 = Timestamped RHT
01
Flags
0x01 = 0000 0001, T measurement in real time.
A3 08 00
T
2211 = 22.11
°
C
0E
Message length
Length = 14, excluding length field.
01
Message type
Type 1 = Utility
73
Bit flags
0x73 = 0111 0011, fields 0, 1, 4, 5 and 6 are included
57
50
00
0 - Device type
Type = 20567
00 02
1
–
Firmware ver
v0.2
5B
4
–
Battery info
0x5B = 91%
FF FF
5
–
Calibration date
0xFFFF = Date unknown
50 B1 B5 8D
6
–
Serial number
Serial number = P495313