mirror of
https://github.com/espressif/esp-matter.git
synced 2026-04-27 19:13:13 +00:00
components/esp_matter: extend set val for internally managed writable
attributes - re-implemented the set_val to set them using the TLV buffer for an attribute using DataModelProvider::WriteAttribute() API. - renamed older set_val() to set_val_internal() and made it private. - changed the set_val's occurances with set_val_internal inside the component. Since our sdk should not be worrying about getting data from the internally managed attributes, its safe to use the set_val_internal(). - updated release notes
This commit is contained in:
@@ -1,3 +1,18 @@
|
||||
# 27-Nov-2025
|
||||
### Feature: attribute::get_val() and attribute::set_val() APIs
|
||||
|
||||
- `attribute::get_val()`
|
||||
- API now supports getting the value of internally managed attributes of primitive data types.
|
||||
- Complex types are not supported yet, eg: (Array, Struct, List, etc.)
|
||||
|
||||
- `attribute::set_val()`
|
||||
- API now supports setting the value of internally managed attributes which are writable and of data type primitive.
|
||||
- Attributes which are not writable but managed internally are not supported yet
|
||||
- Complex types are not supported yet, eg: (Array, Struct, List, etc.)
|
||||
|
||||
- For unsupported attributes, the APIs will return `ESP_ERR_NOT_SUPPORTED`,
|
||||
please use the cluster-specific setter APIs.
|
||||
|
||||
## 21-Nov-2025
|
||||
### API Changes: Attribute Creation Function Names
|
||||
|
||||
|
||||
Reference in New Issue
Block a user