esp-matter icon indicating copy to clipboard operation
esp-matter copied to clipboard

switch_cluster::create() missing final parameter for feature map (CON-1490)

Open jonsmirl opened this issue 11 months ago • 1 comments

https://github.com/espressif/esp-matter/blob/main/components/esp_matter/esp_matter_cluster.cpp#L1917

namespace switch_cluster {
const function_generic_t *function_list = NULL;
const int function_flags = CLUSTER_FLAG_NONE;

cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags)

should be

namespace switch_cluster {
const function_generic_t *function_list = NULL;
const int function_flags = CLUSTER_FLAG_NONE;

cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags, uint32_t features)

So that I can set in the feature map when I create the cluster.

jonsmirl avatar Dec 26 '24 23:12 jonsmirl

We will fix this.

jadhavrohit924 avatar Jan 02 '25 05:01 jadhavrohit924

This has been fixed, PTAL RELEASE_NOTES and close this issue.

jadhavrohit924 avatar Jul 25 '25 12:07 jadhavrohit924