Zigbee Protocol Controller 1.6.0
attribute_store_validation.h
Go to the documentation of this file.
1/******************************************************************************
2 * # License
3 * <b>Copyright 2022 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
24#ifndef ATTRIBUTE_STORE_VALIDATION_H
25#define ATTRIBUTE_STORE_VALIDATION_H
26
27#include "attribute_store.h"
28
29#ifdef __cplusplus
30extern "C" {
31#endif
32
43 const uint8_t *value,
44 uint8_t value_size);
45
55 attribute_store_type_t parent_type);
56
57#ifdef __cplusplus
58}
59#endif
60
61#endif //ATTRIBUTE_STORE_VALIDATION_H
uint32_t attribute_store_type_t
Definition: attribute_store.h:50
bool is_node_addition_valid(attribute_store_type_t node_type, attribute_store_type_t parent_type)
Verifies if a node addition in the attribute store is allowed.
bool is_write_operation_valid(attribute_store_type_t node_type, const uint8_t *value, uint8_t value_size)
Verifies if a write operation respects the registered type storage.