Skip to content

Commit 18bcd0c

Browse files
Fix device type metadata for bridge device types. (project-chip#36034)
* Bridged Node was named wrong. * Aggregator had a class listed that did not match the spec.
1 parent a76cc9b commit 18bcd0c

File tree

4 files changed

+7
-9
lines changed

4 files changed

+7
-9
lines changed

src/app/zap-templates/zcl/data-model/chip/matter-devices.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ limitations under the License.
177177
<typeName>Matter Aggregator</typeName>
178178
<profileId editable="false">0x0103</profileId>
179179
<deviceId editable="false">0x000e</deviceId>
180-
<class>Dynamic Utility</class>
180+
<class>Simple</class>
181181
<scope>Endpoint</scope>
182182
<clusters lockOthers="true">
183183
<include cluster="Descriptor" client="false" server="true" clientLocked="true" serverLocked="true">
@@ -190,9 +190,9 @@ limitations under the License.
190190
</clusters>
191191
</deviceType>
192192
<deviceType>
193-
<name>MA-bridgeddevice</name>
193+
<name>MA-bridgednode</name>
194194
<domain>CHIP</domain>
195-
<typeName>Matter Bridged Device</typeName>
195+
<typeName>Matter Bridged Node</typeName>
196196
<profileId editable="false">0x0103</profileId>
197197
<deviceId editable="false">0x0013</deviceId>
198198
<class>Utility</class>

src/darwin/Framework/CHIP/templates/MTRDeviceTypeMetadata-src.zapt

+1-3
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ struct DeviceTypeData {
2121
constexpr DeviceTypeData knownDeviceTypes[] = {
2222
{{#zcl_device_types}}
2323
{{#if class}}
24-
{{! For now work around the "Dynamic Utility" thing on Aggregator by just
25-
taking the last word. }}
26-
{ {{asHex code 8}}, DeviceTypeClass::{{asLastWord class}}, "{{caption}}" },
24+
{ {{asHex code 8}}, DeviceTypeClass::{{class}}, "{{caption}}" },
2725
{{/if}}
2826
{{/zcl_device_types}}
2927
};

src/darwin/Framework/CHIP/zap-generated/MTRDeviceTypeMetadata.mm

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

zzz_generated/chip-tool/zap-generated/cluster/logging/EntryToText.cpp

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)