30#ifndef UNIFY_DOTDOT_ATTRIBUTE_STORE_H
31#define UNIFY_DOTDOT_ATTRIBUTE_STORE_H
114#define MAXIMUM_UNID_SIZE 100
datastore_attribute_id_t attribute_store_node_t
Handle to identify attribute store nodes.
Definition: attribute_store.h:101
void unify_dotdot_attribute_store_set_configuration(const unify_dotdot_attribute_store_configuration_t *configuration)
Configures the Unify Dotdot Attribute Store component.
sl_status_t(* unid_only_fetching_function_t)(attribute_store_node_t node, char *unid)
Function signature that retrieves a the UNID value associated to a given Attribute Store node.
Definition: unify_dotdot_attribute_store.h:55
attribute_store_node_t(* endpoint_node_fetching_function_t)(const dotdot_unid_t unid, dotdot_endpoint_id_t endpoint_id)
Function signature that retrieves an Attribute Store node that represents a UNID/Endpoint,...
Definition: unify_dotdot_attribute_store.h:41
void(* configuration_udpate_callback_t)(void)
Function signature for callbacks that indicate that the configuration of the component was just updat...
Definition: unify_dotdot_attribute_store.h:62
sl_status_t(* unid_fetching_function_t)(attribute_store_node_t node, char *unid, dotdot_endpoint_id_t *endpoint_id)
Function signature that retrieves a the UNID/Endpoint values associated to a given Attribute Store no...
Definition: unify_dotdot_attribute_store.h:48
void unify_dotdot_attribute_store_set_configuration_update_callback(configuration_udpate_callback_t callback)
Register a callback to be invoked when the Unify Dotdot Attribute Store component configuration has b...
sl_status_t unify_dotdot_attribute_store_init()
Initializes the Unify Dotdot Attribute Store component.
Definition: unify_dotdot_attribute_store.c:28
uint32_t sl_status_t
Definition: sl_status.h:139
Configuration structure for the Unify DotDot Attribute Store component.
Definition: unify_dotdot_attribute_store.h:67
bool automatic_deduction_of_supported_commands
Enables or disables the automatic deduction of supported commands for a node based on the ZCL attribu...
Definition: unify_dotdot_attribute_store.h:94
bool publish_reported_attribute_values_to_mqtt
Enables or disables the automatic publishing of ZCL Attributes reported values to MQTT.
Definition: unify_dotdot_attribute_store.h:106
attribute_store_type_t endpoint_type
Type of an endpoint attribute.
Definition: unify_dotdot_attribute_store.h:110
unid_fetching_function_t get_unid_endpoint_function
unid_fetching_function_t function that outputs UNID/Endpoints based on a Attribute Store node....
Definition: unify_dotdot_attribute_store.h:75
bool write_attributes_enabled
Enables or disables the automatic publishing of ZCL Attributes values to MQTT.
Definition: unify_dotdot_attribute_store.h:100
bool clear_reported_on_desired_updates
Instructs if the component should clear reported values when setting a new desired values....
Definition: unify_dotdot_attribute_store.h:88
attribute_store_type_t node_type
Type of an node attribute.
Definition: unify_dotdot_attribute_store.h:108
bool force_read_attributes_enabled
When enabled, ForceReadAttribute will undefine the reported value of ZCL/DotDot attribute to trigger ...
Definition: unify_dotdot_attribute_store.h:97
bool publish_desired_attribute_values_to_mqtt
Enables or disables the automatic publishing of ZCL Attributes desired values to MQTT.
Definition: unify_dotdot_attribute_store.h:103
endpoint_node_fetching_function_t get_endpoint_node_function
endpoint_node_fetching_function_t function that returns the Attribute Store node for an endpoint base...
Definition: unify_dotdot_attribute_store.h:71
unid_only_fetching_function_t get_unid_function
unid_only_fetching_function_t function that outputs UNID based on a Attribute Store node....
Definition: unify_dotdot_attribute_store.h:80
bool update_attribute_desired_values_on_commands
Enables or disables the automatic updating of ZCL attribute desired values upon MQTT command receptio...
Definition: unify_dotdot_attribute_store.h:83
Generic type definitions for Unify.
uint8_t dotdot_endpoint_id_t
Definition: uic_typedefs.h:38
const char * dotdot_unid_t
Definition: uic_typedefs.h:39