Merge branch 'fix-icd-1-4-2' into 'release/v1.4.2'

[v1.4.2] components/esp-matter: add icd_management::maximum_check_in_backoff

See merge request app-frameworks/esp-matter!1293
This commit is contained in:
Shu Chen
2025-10-31 06:59:17 +00:00
3 changed files with 8 additions and 0 deletions
@@ -747,6 +747,12 @@ attribute_t *create_operating_mode(cluster_t *cluster, uint8_t value)
ATTRIBUTE_FLAG_MANAGED_INTERNALLY, esp_matter_enum8(value));
}
attribute_t *create_maximum_check_in_backoff(cluster_t *cluster, uint32_t value)
{
return esp_matter::attribute::create(cluster, IcdManagement::Attributes::MaximumCheckInBackOff::Id,
ATTRIBUTE_FLAG_MANAGED_INTERNALLY, esp_matter_uint32(value));
}
} /* attribute */
} /* icd_management */
@@ -213,6 +213,7 @@ attribute_t *create_clients_supported_per_fabric(cluster_t *cluster, uint16_t va
attribute_t *create_user_active_mode_trigger_hint(cluster_t *cluster, uint32_t value);
attribute_t *create_user_active_mode_trigger_instruction(cluster_t *cluster, char *value, uint16_t length);
attribute_t *create_operating_mode(cluster_t *cluster, uint8_t value);
attribute_t *create_maximum_check_in_backoff(cluster_t *cluster, uint32_t value);
} /* attribute */
} /* icd_management */
@@ -378,6 +378,7 @@ esp_err_t add(cluster_t *cluster)
attribute::create_registered_clients(cluster, NULL, 0, 0);
attribute::create_icd_counter(cluster, 0);
attribute::create_clients_supported_per_fabric(cluster, 0);
attribute::create_maximum_check_in_backoff(cluster, 0);
/* Commands */
command::create_register_client(cluster);