Skip to content

Commit 05158fe

Browse files
Decouple time synchronization cluster part 2 (project-chip#41691)
* Decouple time synchronization cluster part 2 * Restyled by clang-format * Restyled by gn * Remove unnecessary comments in CodegenIntegration * Code update * Restyled by clang-format * Decouple time synchronization cluster part 2 * Restyled by clang-format * Restyled by gn * Remove unnecessary comments in CodegenIntegration * Code update * Restyled by clang-format * Address review comments * Restyled by clang-format * Code update * Restyled by clang-format * Code update * Restyled by clang-format * Code update * Restyled by clang-format * Make some functions inline * Restyled by clang-format * Address review comments * Restyled by clang-format * Code update * Restyled by clang-format * Code update * Restyled by clang-format * Address review comments * Restyled by clang-format * Restyled by gn * Move the global delegate to CodegenIntegration * Restyled by clang-format * Code update * Restyled by clang-format * Address review comments * Restyled by clang-format --------- Co-authored-by: Restyled.io <[email protected]>
1 parent f3b5a63 commit 05158fe

36 files changed

+1503
-939
lines changed

examples/all-clusters-app/all-clusters-common/all-clusters-app.matter

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7994,7 +7994,7 @@ endpoint 0 {
79947994
callback attribute acceptedCommandList;
79957995
callback attribute attributeList;
79967996
ram attribute featureMap default = 0x0B;
7997-
ram attribute clusterRevision default = 2;
7997+
callback attribute clusterRevision;
79987998

79997999
handle command SetUTCTime;
80008000
handle command SetTrustedTimeSource;

examples/all-clusters-app/esp32/partitions.csv

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,9 @@
33
nvs, data, nvs, , 0xC000,
44
otadata, data, ota, , 0x2000,
55
phy_init, data, phy, , 0x1000,
6-
ota_0, app, ota_0, , 1900K,
7-
ota_1, app, ota_1, , 1900K,
6+
ota_0, app, ota_0, , 3800K,
7+
# This partition table is meant only for all-clusters-app.
8+
# OTA_0 partition size has been increased to fit all features,
9+
# and OTA_1 has been removed. This makes the app non-OTA upgradable.
10+
# Do NOT use this partition table in production builds,
11+
# production images must include an OTA_1 partition.

examples/all-clusters-app/linux/main-common.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
#include <app/clusters/mode-base-server/mode-base-server.h>
5353
#include <app/clusters/push-av-stream-transport-server/CodegenIntegration.h>
5454
#include <app/clusters/thermostat-server/thermostat-server.h>
55-
#include <app/clusters/time-synchronization-server/time-synchronization-cluster.h>
55+
#include <app/clusters/time-synchronization-server/time-synchronization-server.h>
5656
#include <app/clusters/unit-localization-server/unit-localization-server.h>
5757
#include <app/clusters/valve-configuration-and-control-server/valve-configuration-and-control-cluster.h>
5858
#include <app/server/Server.h>

examples/all-clusters-app/realtek/data_model/all-clusters-app.matter

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8176,7 +8176,7 @@ endpoint 0 {
81768176
callback attribute acceptedCommandList;
81778177
callback attribute attributeList;
81788178
ram attribute featureMap default = 0x0B;
8179-
ram attribute clusterRevision default = 2;
8179+
callback attribute clusterRevision;
81808180

81818181
handle command SetUTCTime;
81828182
handle command SetTrustedTimeSource;

examples/camera-app/camera-common/camera-app.matter

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3752,7 +3752,7 @@ endpoint 0 {
37523752
callback attribute acceptedCommandList;
37533753
callback attribute attributeList;
37543754
ram attribute featureMap default = 0;
3755-
ram attribute clusterRevision default = 2;
3755+
callback attribute clusterRevision;
37563756

37573757
handle command SetUTCTime;
37583758
handle command SetTrustedTimeSource;

examples/light-switch-app/light-switch-common/icd-lit-light-switch-app.matter

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3181,7 +3181,7 @@ endpoint 0 {
31813181
callback attribute acceptedCommandList;
31823182
callback attribute attributeList;
31833183
ram attribute featureMap default = 0x0B;
3184-
ram attribute clusterRevision default = 2;
3184+
callback attribute clusterRevision;
31853185

31863186
handle command SetUTCTime;
31873187
handle command SetTrustedTimeSource;

examples/light-switch-app/light-switch-common/light-switch-app.matter

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3304,7 +3304,7 @@ endpoint 0 {
33043304
callback attribute acceptedCommandList;
33053305
callback attribute attributeList;
33063306
ram attribute featureMap default = 0x0B;
3307-
ram attribute clusterRevision default = 2;
3307+
callback attribute clusterRevision;
33083308

33093309
handle command SetUTCTime;
33103310
handle command SetTrustedTimeSource;

examples/light-switch-app/realtek/data_model/light-switch-app-1_to_11.matter

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2798,7 +2798,7 @@ endpoint 0 {
27982798
callback attribute acceptedCommandList;
27992799
callback attribute attributeList;
28002800
ram attribute featureMap default = 0x0B;
2801-
ram attribute clusterRevision default = 2;
2801+
callback attribute clusterRevision;
28022802

28032803
handle command SetUTCTime;
28042804
handle command SetTrustedTimeSource;

examples/light-switch-app/realtek/data_model/light-switch-app-1_to_2.matter

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2954,7 +2954,7 @@ endpoint 0 {
29542954
callback attribute acceptedCommandList;
29552955
callback attribute attributeList;
29562956
ram attribute featureMap default = 0x0B;
2957-
ram attribute clusterRevision default = 2;
2957+
callback attribute clusterRevision;
29582958

29592959
handle command SetUTCTime;
29602960
handle command SetTrustedTimeSource;

examples/light-switch-app/realtek/data_model/light-switch-app-1_to_8.matter

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2954,7 +2954,7 @@ endpoint 0 {
29542954
callback attribute acceptedCommandList;
29552955
callback attribute attributeList;
29562956
ram attribute featureMap default = 0x0B;
2957-
ram attribute clusterRevision default = 2;
2957+
callback attribute clusterRevision;
29582958

29592959
handle command SetUTCTime;
29602960
handle command SetTrustedTimeSource;

0 commit comments

Comments
 (0)