Unify Framework Lib 1.6.0
attribute_mapper.h
Go to the documentation of this file.
1/******************************************************************************
2 * # License
3 * <b>Copyright 2021 Silicon Laboratories Inc. www.silabs.com</b>
4 ******************************************************************************
5 * The licensor of this software is Silicon Laboratories Inc. Your use of this
6 * software is governed by the terms of Silicon Labs Master Software License
7 * Agreement (MSLA) available at
8 * www.silabs.com/about-us/legal/master-software-license-agreement. This
9 * software is distributed to you in Source Code format and is governed by the
10 * sections of the MSLA applicable to Source Code.
11 *
12 *****************************************************************************/
13
26#ifndef ATTRIBUTE_MAPPER_H
27#define ATTRIBUTE_MAPPER_H
28
29#include <stdbool.h>
30#include "sl_status.h"
31#include "attribute_store.h"
32
33#ifdef __cplusplus
34extern "C" {
35#endif
36
43
53
59
67 attribute_store_type_t endpoint_id_type);
68
77
86
91
96
97#ifdef __cplusplus
98}
99#endif
100
101#endif //ATTRIBUTE_MAPPER_H
uint32_t attribute_store_type_t
Definition: attribute_store.h:50
datastore_attribute_id_t attribute_store_node_t
Handle to identify attribute store nodes.
Definition: attribute_store.h:101
void attribute_mapper_resume_mapping()
Instructs the attribute mapper to resume mapping.
void attribute_mapper_config_init()
Adds the required configuration to the Unify Configuration System for the Unify Attribute Mapper.
void attribute_mapper_resume_reactions_to_attribute_updates(attribute_store_node_t node)
Instructs the attribute mapper to evaluate dependencies for a given Attribute ID.
bool attribute_mapper_has_pending_evaluations()
Checks if the mapper has pending evaluations.
void attribute_mapper_set_endpoint_id_attribute_type(attribute_store_type_t endpoint_id_type)
Sets the Attribute Store type for endpoint IDs, under which the the mapper performs its evaluations.
void attribute_mapper_pause_reactions_to_attribute_updates(attribute_store_node_t node)
Instructs the attribute mapper not to evaluate dependencies for a given Attribute ID.
void attribute_mapper_pause_mapping()
Instructs the attribute mapper to pause any mapping.
sl_status_t attribute_mapper_init()
Initializes the Attribute Mapper engine.
uint32_t sl_status_t
Definition: sl_status.h:139
SL Status Codes.