![EnOcean B6221-K516 Скачать руководство пользователя страница 42](http://html1.mh-extra.com/html/enocean/b6221-k516/b6221-k516_user-manual_2413678042.webp)
USER MANUAL
STM 550B / EMSIB - EASYFIT MULTISENSOR FOR IOT APPLICATIONS (2.4 GHZ BLE)
© 2020 EnOcean | www.enocean.com
F-710-017, V1.0
STM 550B / EMSIB User Manual | v1.3 | June 2020 | Page 42 / 115
5.5.1
Sensor status encoding
The Sensor Status field within the Payload data identifies the status of the connected sensors.
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 and the size of the following sensor data
◼
Sensor Data
The sensor data field encodes the measured value
Figure 28 below shows the structure of the sensor status field.
Figure 28
–
Sensor Status field structure
5.5.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 29 below.
Figure 29
–
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 meas-
urement parameters and therefore
can’t determine the size of their data field.
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).