USER MANUAL
EMDCB
–
BLUETOOTH LOW ENERGY MOTION AND ILLUMINATION SENSOR
© 2019 EnOcean | www.enocean.com
EMDCB User Manual | v1.3 | August 2019 | Page 27/67
4.6.1
Sensor status encoding
The Sensor Status field within the Payload data identifies the status of the connected sen-
sors. The Sensor Status field is composed of sub-fields (one per sensor attribute).
Each sub-field consists of two items:
◼
Sensor Data Descriptor
The descriptor identifies the type of the attribute and the size of the following data
field
◼
Sensor Data
The sensor data encodes the attribute data
Figure 18 below shows the structure of the sensor status field.
Figure 18
–
Sensor Status field structure
4.6.2
Sensor Data Descriptor
The Sensor Data Descriptor describes type and size of the following sensor data field. It
explicitly specifies the size to ensure forward compatibility, i.e. to enable future receivers to
parse sensor telegrams containing unknown data types.
The Sensor Data Descriptor structure is shown in Figure 19 below.
Figure 19
–
Sensor Data Descriptor field structure
The sensor data descriptor explicitly specifies the data size to ensure forward compatibility
for the case where an existing sensor does not “understand” subsequently introduced
measurement parameters and therefore can’t determine the size of their data fi
eld.
In this case, the sensor can use the length information provided by this field to determine
the start of the next sensor descriptor field (which might contain usable data).