5 Commits

Author SHA1 Message Date
Shubham Patil a2926640e9 components/esp-matter: propogate error code from attribute update/report
and refactoring

attribute::update and attribute::report were eating up the error code
returned by set_val and returning ESP_OK. This hide all the errors
reported by set_val.

attribute::update and attribute::report are identical with a simple
delta of whether to call the attribute callback or not. So, refactored
it into as helper function.
2026-03-10 12:27:30 +05:30
WanqQixiang 968ff042a8 CI: add astyle pre-commit hook 2026-02-03 15:30:42 +08:00
Rohit ba887f9f6a components/esp-matter: Fix the set_val call and add RAII lock. 2025-12-18 10:31:49 +05:30
Shubham Patil a87107fb15 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
2025-12-01 15:55:40 +05:30
WanqQixiang 9d7ff306f6 esp_matter: Add data model provider for esp_matter data model and remove upstream ember codes from esp_matter component 2025-09-02 10:16:06 +08:00