![EnOcean B6221-K516 Скачать руководство пользователя страница 63](http://html1.mh-extra.com/html/enocean/b6221-k516/b6221-k516_user-manual_2413678063.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 63 / 115
9.5.9
MANUFACTURER_ID
The register MANUFACTURER_ID identifies the manufacturer of the device using the 16 bit
company identifier assigned by Bluetooth SIG. The default setting of 0x03DA identifies
EnOcean GmbH as the manufacturer of the device.
At the time of writing, the list of assigned company identifiers could be found here:
https://www.bluetooth.com/specifications/assigned-numbers/company-identifiers/
9.5.10
OPTIONAL_DATA
The register OPTIONAL_DATA identifies additional (up to 4 byte) of user-defined data that
can be transmitted as part of each data telegram. This data can be used to convey addi-
tional information about the use of STM 550B and is user-defined.
The amount of OPTIONAL_DATA to be transmitted (0, 1, 2 or 4 byte) is determined by the
OPTIONAL_DATA_SIZE register described below.
Before making changes to the OPTIONAL_DATA_SIZE and the REPORTING_CFG
registers, you need to ensure the resulting payload length will not exceed 19 byte.
See chapter 5.5.4.
9.5.11
OPTIONAL_DATA_SIZE
The OPTIONAL_DATA_SIZE register determines how many user-defined data bytes from
the OPTIONAL_DATA register will be transmitted as part of data telegrams. Figure 47 below
shows the structure of the OPTIONAL_DATA_SIZE register.
OPTIONAL_DATA_SIZE (Default Setting: 0x00)
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
RFU
SIZE
Figure 44
–
OPTIONAL_DATA_SIZE register
The encoding used by the SIZE bit field is shown in Table 17 below.
SIZE
Optional Data size
0b00 (Default)
No optional data reported
0b01
1 byte optional data reported (Byte 0 of OPTIONAL_DATA)
0b10
2 byte optional data reported (Byte 0 and Byte 1 of OPTIONAL_DATA)
0b10
4 byte optional data reported (Byte 0 … Byte 3 of OPTIONAL_DATA)
Table 17
–
SIZE bit field encoding