Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix device type metadata for bridge device types. #36034

Merged
merged 1 commit into from
Oct 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/app/zap-templates/zcl/data-model/chip/matter-devices.xml
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ limitations under the License.
<typeName>Matter Aggregator</typeName>
<profileId editable="false">0x0103</profileId>
<deviceId editable="false">0x000e</deviceId>
<class>Dynamic Utility</class>
<class>Simple</class>
<scope>Endpoint</scope>
<clusters lockOthers="true">
<include cluster="Descriptor" client="false" server="true" clientLocked="true" serverLocked="true">
Expand All @@ -190,9 +190,9 @@ limitations under the License.
</clusters>
</deviceType>
<deviceType>
<name>MA-bridgeddevice</name>
<name>MA-bridgednode</name>
<domain>CHIP</domain>
<typeName>Matter Bridged Device</typeName>
<typeName>Matter Bridged Node</typeName>
<profileId editable="false">0x0103</profileId>
<deviceId editable="false">0x0013</deviceId>
<class>Utility</class>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ struct DeviceTypeData {
constexpr DeviceTypeData knownDeviceTypes[] = {
{{#zcl_device_types}}
{{#if class}}
{{! For now work around the "Dynamic Utility" thing on Aggregator by just
taking the last word. }}
{ {{asHex code 8}}, DeviceTypeClass::{{asLastWord class}}, "{{caption}}" },
{ {{asHex code 8}}, DeviceTypeClass::{{class}}, "{{caption}}" },
{{/if}}
{{/zcl_device_types}}
};
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading