37 #ifndef COMPOSITION_DATA_H 38 #define COMPOSITION_DATA_H 52 #define CONFIG_SIG_MODEL_ID_SIZE (2) 54 #define CONFIG_VENDOR_MODEL_ID_SIZE (4) 56 #define CONFIG_MODEL_ID_SIZE_MAX (CONFIG_VENDOR_MODEL_ID_SIZE) 59 #define COMPOSITION_DATA_LENGTH_MIN (sizeof(config_msg_composition_data_status_t) + \ 60 sizeof(config_composition_data_header_t) + \ 61 sizeof(config_composition_element_header_t) + \ 62 CONFIG_SIG_MODEL_ID_SIZE) 67 typedef struct __attribute((packed))
82 typedef struct __attribute((packed))
95 #define CONFIG_COMPOSITION_DATA_SIZE \ 96 (sizeof(config_composition_data_header_t) + \ 97 (ACCESS_ELEMENT_COUNT) * sizeof(config_composition_element_header_t) + \ 98 (ACCESS_MODEL_COUNT) * CONFIG_MODEL_ID_SIZE_MAX) \ This node supports the proxy feature.
This node supports the friend feature.
config_feature_bit_t
Configuration feature bits.
This node supports the relay feature.
void config_composition_data_get(uint8_t *p_data, uint16_t *p_size)
Gets the composition data block.
This node supports the low power feature.