diff --git a/examples/chef/common/stubs.cpp b/examples/chef/common/stubs.cpp index 9cb321f9a13834..f686815b2bf9d2 100644 --- a/examples/chef/common/stubs.cpp +++ b/examples/chef/common/stubs.cpp @@ -250,7 +250,4 @@ void emberAfChannelClusterInitCallback(EndpointId endpoint) } #endif // EMBER_AF_PLUGIN_CHANNEL_SERVER -bool emberAfPluginSmokeCoAlarmSelfTestRequestCommand(EndpointId endpointId) -{ - return true; -} +void emberAfPluginSmokeCoAlarmSelfTestRequestCommand(EndpointId endpointId) {} diff --git a/examples/chef/devices/rootnode_smokecoalarm_686fe0dcb8.matter b/examples/chef/devices/rootnode_smokecoalarm_686fe0dcb8.matter index 8de525679da82d..7f841620035687 100644 --- a/examples/chef/devices/rootnode_smokecoalarm_686fe0dcb8.matter +++ b/examples/chef/devices/rootnode_smokecoalarm_686fe0dcb8.matter @@ -1381,6 +1381,7 @@ endpoint 0 { } } endpoint 1 { + device type ma_powersource = 17, version 1; device type ma_smokecoalarm = 118, version 1; @@ -1389,6 +1390,7 @@ endpoint 1 { ram attribute identifyType default = 0x0; callback attribute generatedCommandList default = 0; callback attribute acceptedCommandList default = 0; + callback attribute eventList; callback attribute attributeList default = 0; ram attribute featureMap default = 0; ram attribute clusterRevision default = 2; @@ -1403,6 +1405,19 @@ endpoint 1 { ram attribute clusterRevision default = 3; } + server cluster Descriptor { + callback attribute deviceTypeList default = 0; + callback attribute serverList default = 0; + callback attribute clientList default = 0; + callback attribute partsList default = 0; + callback attribute generatedCommandList default = 0; + callback attribute acceptedCommandList default = 0; + callback attribute eventList; + callback attribute attributeList default = 0; + ram attribute featureMap default = 0; + ram attribute clusterRevision default = 1; + } + server cluster PowerSource { emits event BatFaultChange; ram attribute status default = 0; @@ -1414,6 +1429,7 @@ endpoint 1 { callback attribute endpointList; callback attribute generatedCommandList; callback attribute acceptedCommandList; + callback attribute eventList; callback attribute attributeList; ram attribute featureMap default = 2; ram attribute clusterRevision default = 2; @@ -1446,6 +1462,7 @@ endpoint 1 { ram attribute expiryDate default = 0; callback attribute generatedCommandList; callback attribute acceptedCommandList; + callback attribute eventList; callback attribute attributeList; ram attribute featureMap default = 3; ram attribute clusterRevision default = 1; diff --git a/examples/chef/devices/rootnode_smokecoalarm_686fe0dcb8.zap b/examples/chef/devices/rootnode_smokecoalarm_686fe0dcb8.zap index e247ec77989307..bb5372c901a309 100644 --- a/examples/chef/devices/rootnode_smokecoalarm_686fe0dcb8.zap +++ b/examples/chef/devices/rootnode_smokecoalarm_686fe0dcb8.zap @@ -33,7 +33,7 @@ ], "endpointTypes": [ { - "id": 77, + "id": 10, "name": "MA-rootdevice", "deviceTypeRef": { "id": 2, @@ -5420,16 +5420,23 @@ ] }, { - "id": 78, + "id": 9, "name": "Anonymous Endpoint Type", "deviceTypeRef": { - "id": 44, - "code": 118, + "id": 3, + "code": 17, "profileId": 259, - "label": "MA-smokecoalarm", - "name": "MA-smokecoalarm" + "label": "MA-powersource", + "name": "MA-powersource" }, "deviceTypes": [ + { + "id": 3, + "code": 17, + "profileId": 259, + "label": "MA-powersource", + "name": "MA-powersource" + }, { "id": 44, "code": 118, @@ -5439,16 +5446,19 @@ } ], "deviceTypeRefs": [ + 3, 44 ], "deviceVersions": [ + 1, 1 ], "deviceIdentifiers": [ + 17, 118 ], - "deviceTypeName": "MA-smokecoalarm", - "deviceTypeCode": 118, + "deviceTypeName": "MA-powersource", + "deviceTypeCode": 17, "deviceTypeProfileId": 259, "clusters": [ { @@ -5530,7 +5540,7 @@ "singleton": 0, "bounded": 0, "defaultValue": "0x0", - "reportable": 1, + "reportable": 0, "minInterval": 1, "maxInterval": 65534, "reportableChange": 0 @@ -5546,7 +5556,7 @@ "singleton": 0, "bounded": 0, "defaultValue": "0x0", - "reportable": 1, + "reportable": 0, "minInterval": 1, "maxInterval": 65534, "reportableChange": 0 @@ -5589,7 +5599,7 @@ "mfgCode": null, "side": "server", "type": "array", - "included": 0, + "included": 1, "storageOption": "External", "singleton": 0, "bounded": 0, @@ -7021,7 +7031,7 @@ "mfgCode": null, "define": "DESCRIPTOR_CLUSTER", "side": "server", - "enabled": 0, + "enabled": 1, "attributes": [ { "name": "DeviceTypeList", @@ -7050,7 +7060,7 @@ "singleton": 0, "bounded": 0, "defaultValue": "0", - "reportable": 1, + "reportable": 0, "minInterval": 1, "maxInterval": 65534, "reportableChange": 0 @@ -7066,7 +7076,7 @@ "singleton": 0, "bounded": 0, "defaultValue": "0", - "reportable": 1, + "reportable": 0, "minInterval": 1, "maxInterval": 65534, "reportableChange": 0 @@ -7082,6 +7092,22 @@ "singleton": 0, "bounded": 0, "defaultValue": "0", + "reportable": 0, + "minInterval": 1, + "maxInterval": 65534, + "reportableChange": 0 + }, + { + "name": "TagList", + "code": 4, + "mfgCode": null, + "side": "server", + "type": "array", + "included": 0, + "storageOption": "External", + "singleton": 0, + "bounded": 0, + "defaultValue": "", "reportable": 1, "minInterval": 1, "maxInterval": 65534, @@ -7125,7 +7151,7 @@ "mfgCode": null, "side": "server", "type": "array", - "included": 0, + "included": 1, "storageOption": "External", "singleton": 0, "bounded": 0, @@ -7949,7 +7975,7 @@ "mfgCode": null, "side": "server", "type": "array", - "included": 0, + "included": 1, "storageOption": "External", "singleton": 0, "bounded": 0, @@ -8324,7 +8350,7 @@ "mfgCode": null, "side": "server", "type": "array", - "included": 0, + "included": 1, "storageOption": "External", "singleton": 0, "bounded": 0,