Skip to content

Commit

Permalink
Merge branch 'fix-network-commissioning-attributes-1-3' into 'release…
Browse files Browse the repository at this point in the history
…/v1.3'

[v1.3] components/esp_matter: create network commissioning attributes as per feature map

See merge request app-frameworks/esp-matter!1025
  • Loading branch information
dhrishi committed Jan 27, 2025
2 parents 390a241 + e86cbc0 commit 446241e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions components/esp_matter/esp_matter_cluster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -488,12 +488,16 @@ cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags)
/* Attributes managed internally */
attribute::create_max_networks(cluster, 0);
attribute::create_networks(cluster, NULL, 0, 0);
attribute::create_scan_max_time_seconds(cluster, 0);
attribute::create_connect_max_time_seconds(cluster, 0);
attribute::create_interface_enabled(cluster, 0);
attribute::create_last_networking_status(cluster, nullable<uint8_t>());
attribute::create_last_network_id(cluster, NULL, 0);
attribute::create_last_connect_error_value(cluster, nullable<int32_t>());

#if CHIP_DEVICE_CONFIG_ENABLE_WIFI || CHIP_DEVICE_CONFIG_ENABLE_WIFI
attribute::create_scan_max_time_seconds(cluster, 0);
attribute::create_connect_max_time_seconds(cluster, 0);
#endif

#if CHIP_DEVICE_CONFIG_ENABLE_WIFI
attribute::create_supported_wifi_bands(cluster, NULL, 0, 0);
#endif
Expand Down

0 comments on commit 446241e

Please sign in to comment.