9
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
unsigned int16 equals 0x01 + 0x23*0x100.
Example
–
normal measurement data
Bytes (hex):
01 0E 0A 01 00 3B 98 09 B0 0B AD 0D E3 FB 78 05 00
Interpretation:
Bytes (hex)
Name
Meaning
01
Protocol version
01
–
Version
0E
Message length
Message length 14, excluding length field.
0A
Message type
Type 10 = measurement data
01 00
Measurement
format
Always 1
3B
Measurement flags Which of the measurement fields are included.
0x3B = 0011 1011, meaning all except 2
98 09
0
–
Temperature
2456 -> 24.56C
B0 0B
1
–
Relative
humidity
2992 -> 29.92%
AD 0D
3
–
VOC
3501 ppb
E3 FB
4
–
Differential
pressure
-1053 -> -10.53 Pa
78 05
5
–
CO2
1400 ppm
00
Status flags
00 = No errors
Example
–
measurement data with active status
Bytes (hex):
01 0C 0A 01 00 03 98 09 B0 0B 38 01 04 02
Interpretation:
Bytes (hex)
Name
Meaning
01
Protocol version
01
–
Version
0C
Message length
Message length 12, excluding length field.
0A
Message type
Type 10 = measurement data
01 00
Measurement
format
Always 1
03
Measurement flags Which of the measurement fields are included.
03 = 0000 0011, meaning temperature and relative
humidity values
98 09
0
–
Temperature
2456 -> 24.56C
B0 0B
1
–
Relative
humidity
2992 -> 29.92%
38
Status flags
Which status field are included.
0011 1000 = 3, 4, 5
01
3
–
VOC status
VOC measurement status 1
04
4
–
DP status
DP measurement status 4
02
5
–
CO2
CO2 measurement status 2