Skip to content

Commit 6afafc8

Browse files
maciejbaczmanskirlubos
authored andcommitted
samples: matter: fix wrong cluster revision for On/Off
"On/Off" clusters should have revision 6 Signed-off-by: Maciej Baczmanski <[email protected]> (cherry picked from commit 90aa35a)
1 parent 2124258 commit 6afafc8

File tree

8 files changed

+466
-434
lines changed

8 files changed

+466
-434
lines changed

applications/matter_bridge/snippets/onoff_plug/bridge.zap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4872,7 +4872,7 @@
48724872
"storageOption": "RAM",
48734873
"singleton": 0,
48744874
"bounded": 0,
4875-
"defaultValue": "4",
4875+
"defaultValue": "6",
48764876
"reportable": 1,
48774877
"minInterval": 1,
48784878
"maxInterval": 65534,
@@ -5108,7 +5108,7 @@
51085108
"storageOption": "RAM",
51095109
"singleton": 0,
51105110
"bounded": 0,
5111-
"defaultValue": "4",
5111+
"defaultValue": "6",
51125112
"reportable": 1,
51135113
"minInterval": 1,
51145114
"maxInterval": 65534,
@@ -6230,4 +6230,4 @@
62306230
"parentEndpointIdentifier": null
62316231
}
62326232
]
6233-
}
6233+
}

applications/matter_bridge/snippets/onoff_plug/zap-generated/endpoint_config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@
387387
ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) | \
388388
ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* StartUpOnOff */ \
389389
{ ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \
390-
{ ZAP_SIMPLE_DEFAULT(4), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \
390+
{ ZAP_SIMPLE_DEFAULT(6), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \
391391
\
392392
/* Endpoint: 3, Cluster: Descriptor (server) */ \
393393
{ ZAP_EMPTY_DEFAULT(), 0x00000000, 0, ZAP_TYPE(ARRAY), \

applications/matter_bridge/src/default_zap/bridge.zap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3838,7 +3838,7 @@
38383838
"storageOption": "RAM",
38393839
"singleton": 0,
38403840
"bounded": 0,
3841-
"defaultValue": "4",
3841+
"defaultValue": "6",
38423842
"reportable": 1,
38433843
"minInterval": 1,
38443844
"maxInterval": 65534,
@@ -4074,7 +4074,7 @@
40744074
"storageOption": "RAM",
40754075
"singleton": 0,
40764076
"bounded": 0,
4077-
"defaultValue": "4",
4077+
"defaultValue": "6",
40784078
"reportable": 1,
40794079
"minInterval": 1,
40804080
"maxInterval": 65534,

applications/matter_bridge/src/default_zap/zap-generated/endpoint_config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@
337337
ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) | \
338338
ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* StartUpOnOff */ \
339339
{ ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \
340-
{ ZAP_SIMPLE_DEFAULT(4), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \
340+
{ ZAP_SIMPLE_DEFAULT(6), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \
341341
\
342342
/* Endpoint: 2, Cluster: Descriptor (server) */ \
343343
{ ZAP_EMPTY_DEFAULT(), 0x00000000, 0, ZAP_TYPE(ARRAY), \

samples/matter/light_bulb/src/default_zap/light_bulb.zap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4637,7 +4637,7 @@
46374637
"storageOption": "RAM",
46384638
"singleton": 0,
46394639
"bounded": 0,
4640-
"defaultValue": "5",
4640+
"defaultValue": "6",
46414641
"reportable": 1,
46424642
"minInterval": 0,
46434643
"maxInterval": 65344,

samples/matter/light_bulb/src/default_zap/zap-generated/endpoint_config.h

Lines changed: 455 additions & 423 deletions
Large diffs are not rendered by default.

samples/matter/light_switch/snippets/lit_icd/light_switch.zap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4836,7 +4836,7 @@
48364836
"storageOption": "RAM",
48374837
"singleton": 0,
48384838
"bounded": 0,
4839-
"defaultValue": "5",
4839+
"defaultValue": "6",
48404840
"reportable": 1,
48414841
"minInterval": 0,
48424842
"maxInterval": 65344,
@@ -5233,4 +5233,4 @@
52335233
"parentEndpointIdentifier": null
52345234
}
52355235
]
5236-
}
5236+
}

samples/matter/light_switch/src/default_zap/light_switch.zap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4698,7 +4698,7 @@
46984698
"storageOption": "RAM",
46994699
"singleton": 0,
47004700
"bounded": 0,
4701-
"defaultValue": "5",
4701+
"defaultValue": "6",
47024702
"reportable": 1,
47034703
"minInterval": 0,
47044704
"maxInterval": 65344,

0 commit comments

Comments
 (0)