diff --git a/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter b/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter index 804d1eae5fbd32..8c5f9766970adc 100644 --- a/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter +++ b/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter @@ -9211,7 +9211,7 @@ endpoint 2 { } } endpoint 65534 { - device type ma_secondary_network_commissioning = 4293984258, version 1; + device type ma_secondary_network_interface = 25, version 1; server cluster Descriptor { diff --git a/examples/all-clusters-app/all-clusters-common/all-clusters-app.zap b/examples/all-clusters-app/all-clusters-common/all-clusters-app.zap index 683f2dd75658ba..14c5f68d26e89c 100644 --- a/examples/all-clusters-app/all-clusters-common/all-clusters-app.zap +++ b/examples/all-clusters-app/all-clusters-common/all-clusters-app.zap @@ -1,6 +1,6 @@ { "fileFormat": 2, - "featureLevel": 100, + "featureLevel": 102, "creator": "zap", "keyValuePairs": [ { @@ -24779,27 +24779,27 @@ "id": 4, "name": "Anonymous Endpoint Type", "deviceTypeRef": { - "code": 4293984258, + "code": 25, "profileId": 259, - "label": "MA-secondary-network-commissioning", - "name": "MA-secondary-network-commissioning" + "label": "MA-secondary-network-interface", + "name": "MA-secondary-network-interface" }, "deviceTypes": [ { - "code": 4293984258, + "code": 25, "profileId": 259, - "label": "MA-secondary-network-commissioning", - "name": "MA-secondary-network-commissioning" + "label": "MA-secondary-network-interface", + "name": "MA-secondary-network-interface" } ], "deviceVersions": [ 1 ], "deviceIdentifiers": [ - 4293984258 + 25 ], - "deviceTypeName": "MA-secondary-network-commissioning", - "deviceTypeCode": 4293984258, + "deviceTypeName": "MA-secondary-network-interface", + "deviceTypeCode": 25, "deviceTypeProfileId": 259, "clusters": [ { diff --git a/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter b/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter index 0c9569504c7846..58e57000bae2eb 100644 --- a/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter +++ b/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter @@ -6920,7 +6920,7 @@ endpoint 2 { } } endpoint 65534 { - device type ma_secondary_network_commissioning = 4293984258, version 1; + device type ma_secondary_network_interface = 25, version 1; server cluster Descriptor { diff --git a/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.zap b/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.zap index 3294f430a3e337..a4d3b3858ef160 100644 --- a/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.zap +++ b/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.zap @@ -1,6 +1,6 @@ { "fileFormat": 2, - "featureLevel": 100, + "featureLevel": 102, "creator": "zap", "keyValuePairs": [ { @@ -11837,27 +11837,27 @@ "id": 4, "name": "Anonymous Endpoint Type", "deviceTypeRef": { - "code": 4293984258, + "code": 25, "profileId": 259, - "label": "MA-secondary-network-commissioning", - "name": "MA-secondary-network-commissioning" + "label": "MA-secondary-network-interface", + "name": "MA-secondary-network-interface" }, "deviceTypes": [ { - "code": 4293984258, + "code": 25, "profileId": 259, - "label": "MA-secondary-network-commissioning", - "name": "MA-secondary-network-commissioning" + "label": "MA-secondary-network-interface", + "name": "MA-secondary-network-interface" } ], "deviceVersions": [ 1 ], "deviceIdentifiers": [ - 4293984258 + 25 ], - "deviceTypeName": "MA-secondary-network-commissioning", - "deviceTypeCode": 4293984258, + "deviceTypeName": "MA-secondary-network-interface", + "deviceTypeCode": 25, "deviceTypeProfileId": 259, "clusters": [ { diff --git a/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matter b/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matter index da7faa284f9927..3e49c28226637a 100644 --- a/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matter +++ b/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matter @@ -1560,7 +1560,7 @@ endpoint 1 { } } endpoint 65534 { - device type ma_secondary_network_commissioning = 4293984258, version 1; + device type ma_secondary_network_interface = 25, version 1; server cluster Descriptor { diff --git a/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.zap b/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.zap index 686335a5b3c3b7..e4133c02918306 100644 --- a/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.zap +++ b/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.zap @@ -1,6 +1,6 @@ { "fileFormat": 2, - "featureLevel": 100, + "featureLevel": 102, "creator": "zap", "keyValuePairs": [ { @@ -2946,27 +2946,27 @@ "id": 3, "name": "Anonymous Endpoint Type", "deviceTypeRef": { - "code": 4293984258, + "code": 25, "profileId": 259, - "label": "MA-secondary-network-commissioning", - "name": "MA-secondary-network-commissioning" + "label": "MA-secondary-network-interface", + "name": "MA-secondary-network-interface" }, "deviceTypes": [ { - "code": 4293984258, + "code": 25, "profileId": 259, - "label": "MA-secondary-network-commissioning", - "name": "MA-secondary-network-commissioning" + "label": "MA-secondary-network-interface", + "name": "MA-secondary-network-interface" } ], "deviceVersions": [ 1 ], "deviceIdentifiers": [ - 4293984258 + 25 ], - "deviceTypeName": "MA-secondary-network-commissioning", - "deviceTypeCode": 4293984258, + "deviceTypeName": "MA-secondary-network-interface", + "deviceTypeCode": 25, "deviceTypeProfileId": 259, "clusters": [ { diff --git a/scripts/tools/zap/tests/inputs/all-clusters-app.zap b/scripts/tools/zap/tests/inputs/all-clusters-app.zap index 04f2c793285f9f..784c8dfddb7664 100644 --- a/scripts/tools/zap/tests/inputs/all-clusters-app.zap +++ b/scripts/tools/zap/tests/inputs/all-clusters-app.zap @@ -1,6 +1,6 @@ { "fileFormat": 2, - "featureLevel": 100, + "featureLevel": 102, "creator": "zap", "keyValuePairs": [ { @@ -16043,27 +16043,27 @@ "id": 4, "name": "Anonymous Endpoint Type", "deviceTypeRef": { - "code": 4293984258, + "code": 25, "profileId": 259, - "label": "MA-secondary-network-commissioning", - "name": "MA-secondary-network-commissioning" + "label": "MA-secondary-network-interface", + "name": "MA-secondary-network-interface" }, "deviceTypes": [ { - "code": 4293984258, + "code": 25, "profileId": 259, - "label": "MA-secondary-network-commissioning", - "name": "MA-secondary-network-commissioning" + "label": "MA-secondary-network-interface", + "name": "MA-secondary-network-interface" } ], "deviceVersions": [ 1 ], "deviceIdentifiers": [ - 4293984258 + 25 ], - "deviceTypeName": "MA-secondary-network-commissioning", - "deviceTypeCode": 4293984258, + "deviceTypeName": "MA-secondary-network-interface", + "deviceTypeCode": 25, "deviceTypeProfileId": 259, "clusters": [ { diff --git a/scripts/tools/zap/tests/outputs/all-clusters-app/app-templates/endpoint_config.h b/scripts/tools/zap/tests/outputs/all-clusters-app/app-templates/endpoint_config.h index ca2e15eedf5683..55da8ec3f3f136 100644 --- a/scripts/tools/zap/tests/outputs/all-clusters-app/app-templates/endpoint_config.h +++ b/scripts/tools/zap/tests/outputs/all-clusters-app/app-templates/endpoint_config.h @@ -3047,7 +3047,7 @@ static_assert(ATTRIBUTE_LARGEST <= CHIP_CONFIG_MAX_ATTRIBUTE_STORE_ELEMENT_SIZE, { \ { 0x00000011, 1 }, { 0x00000016, 1 }, { 0x00000100, 1 }, { 0x00000011, 1 }, { 0x00000100, 1 }, { 0x00000011, 1 }, \ { \ - 0xFFF10002, 1 \ + 0x00000019, 1 \ } \ } diff --git a/src/app/zap-templates/zcl/data-model/chip/matter-devices.xml b/src/app/zap-templates/zcl/data-model/chip/matter-devices.xml index 83a462c4a64a4a..2aad342ea71311 100644 --- a/src/app/zap-templates/zcl/data-model/chip/matter-devices.xml +++ b/src/app/zap-templates/zcl/data-model/chip/matter-devices.xml @@ -2590,11 +2590,13 @@ limitations under the License. - MA-secondary-network-commissioning + MA-secondary-network-interface CHIP - Matter Secondary Network Commissioning Device Type + Matter Secondary Network Interface Device Type 0x0103 - 0xFFF10002 + 0x0019 + Utility + Endpoint @@ -2603,6 +2605,9 @@ limitations under the License. CLIENT_LIST PARTS_LIST + + + diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRDeviceTypeMetadata.mm b/src/darwin/Framework/CHIP/zap-generated/MTRDeviceTypeMetadata.mm index 06042f32f9f1d8..1dcb80d7fd1e99 100644 --- a/src/darwin/Framework/CHIP/zap-generated/MTRDeviceTypeMetadata.mm +++ b/src/darwin/Framework/CHIP/zap-generated/MTRDeviceTypeMetadata.mm @@ -44,6 +44,7 @@ { 0x00000014, DeviceTypeClass::Utility, "Matter OTA Provider" }, { 0x00000015, DeviceTypeClass::Simple, "Matter Contact Sensor" }, { 0x00000016, DeviceTypeClass::Node, "Matter Root Node" }, + { 0x00000019, DeviceTypeClass::Utility, "Matter Secondary Network Interface Device Type" }, { 0x00000022, DeviceTypeClass::Simple, "Matter Speaker" }, { 0x00000023, DeviceTypeClass::Simple, "Matter Casting Video Player" }, { 0x00000024, DeviceTypeClass::Simple, "Matter Content App" }, @@ -100,7 +101,6 @@ }; static_assert(ExtractVendorFromMEI(0xFFF10001) != 0, "Must have class defined for \"Matter Orphan Clusters\" if it's a standard device type"); -static_assert(ExtractVendorFromMEI(0xFFF10002) != 0, "Must have class defined for \"Matter Secondary Network Commissioning Device Type\" if it's a standard device type"); static_assert(ExtractVendorFromMEI(0xFFF10003) != 0, "Must have class defined for \"Matter All-clusters-app Server Example\" if it's a standard device type"); } // anonymous namespace