Zigbee Protocol Controller 1.6.0
|
Attribute Store validation utility. More...
Functions | |
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. More... | |
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. More... | |
Attribute Store validation utility.
Helper functions that validate valid operations in the attribute store.
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.
node_type | Node type of the node to add |
parent_type | Node type of the parent node |
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.
node_type | Attribute Store Node type on which the write will be done. |
value | attribute_store_set_node_attribute_value |
value_size | attribute_store_set_node_attribute_value |