Skip to content

Commit 4b17257

Browse files
committed
components/esp-matter: add icd_management::maximum_check_in_backoff
Create API was missing for this and we did create this when adding check in protocol support feature.
1 parent 7121dae commit 4b17257

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

components/esp_matter/data_model/esp_matter_attribute.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -747,6 +747,12 @@ attribute_t *create_operating_mode(cluster_t *cluster, uint8_t value)
747747
ATTRIBUTE_FLAG_MANAGED_INTERNALLY, esp_matter_enum8(value));
748748
}
749749

750+
attribute_t *create_maximum_check_in_backoff(cluster_t *cluster, uint32_t value)
751+
{
752+
return esp_matter::attribute::create(cluster, IcdManagement::Attributes::MaximumCheckInBackOff::Id,
753+
ATTRIBUTE_FLAG_MANAGED_INTERNALLY, esp_matter_uint32(value));
754+
}
755+
750756
} /* attribute */
751757
} /* icd_management */
752758

components/esp_matter/data_model/esp_matter_attribute.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ attribute_t *create_clients_supported_per_fabric(cluster_t *cluster, uint16_t va
213213
attribute_t *create_user_active_mode_trigger_hint(cluster_t *cluster, uint32_t value);
214214
attribute_t *create_user_active_mode_trigger_instruction(cluster_t *cluster, char *value, uint16_t length);
215215
attribute_t *create_operating_mode(cluster_t *cluster, uint8_t value);
216+
attribute_t *create_maximum_check_in_backoff(cluster_t *cluster, uint32_t value);
216217
} /* attribute */
217218
} /* icd_management */
218219

components/esp_matter/data_model/esp_matter_feature.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,7 @@ esp_err_t add(cluster_t *cluster)
378378
attribute::create_registered_clients(cluster, NULL, 0, 0);
379379
attribute::create_icd_counter(cluster, 0);
380380
attribute::create_clients_supported_per_fabric(cluster, 0);
381+
attribute::create_maximum_check_in_backoff(cluster, 0);
381382

382383
/* Commands */
383384
command::create_register_client(cluster);

0 commit comments

Comments
 (0)