components/esp-matter: Data model changes to add mandatory camera clusters

This commit is contained in:
Sayon Deep
2025-11-27 11:40:27 +05:30
parent e322e230df
commit 891ee157c5
11 changed files with 1057 additions and 4 deletions
@@ -803,7 +803,7 @@ namespace power_topology {
typedef struct config {
uint32_t feature_flags;
void *delegate;
config() : feature_flags(0), delegate(nullptr) {}
config() : feature_flags(0), delegate(nullptr) {}
} config_t;
cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags);
@@ -968,5 +968,36 @@ using config_t = common::config_t;
cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags);
} /* ecosystem_information */
namespace camera_av_stream_management {
typedef struct config {
uint32_t max_content_buffer_size;
uint32_t max_network_bandwidth;
void* delegate;
uint32_t feature_flags;
config() : max_content_buffer_size(0), max_network_bandwidth(0), feature_flags(0) {}
} config_t;
cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags);
}/*camera av stream management*/
namespace webrtc_transport_provider {
typedef struct config {
void* delegate;
config() {}
} config_t;
cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags);
}/*webrtc transport provider*/
namespace webrtc_transport_requestor {
typedef struct config {
void* delegate;
config() {}
} config_t;
cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags);
}/*webrtc transport requestor*/
} /* cluster */
} /* esp_matter */