Skip to content

Commit

Permalink
Resolve missing attributes darwin (#16595)
Browse files Browse the repository at this point in the history
* Resolve missing attributes in chip-tool-darwin

* Generated Code
  • Loading branch information
krypton36 authored and pull[bot] committed Dec 21, 2023
1 parent 03adff8 commit 1243419
Show file tree
Hide file tree
Showing 2 changed files with 381 additions and 4 deletions.
4 changes: 0 additions & 4 deletions examples/chip-tool-darwin/templates/commands.zapt
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,6 @@ private:

{{/unless}}
{{/if}}
{{#unless (isStrEqual chipCallback.name "Unsupported")}}
{{#if isReportableAttribute}}
class SubscribeAttribute{{asUpperCamelCase parent.name}}{{asUpperCamelCase name}}: public ModelCommand
{
Expand Down Expand Up @@ -254,7 +253,6 @@ private:
};

{{/if}}
{{/unless}}
{{/chip_server_cluster_attributes}}
{{/chip_client_clusters}}

Expand All @@ -272,7 +270,6 @@ void registerCluster{{asUpperCamelCase name}}(Commands & commands)
{{/chip_cluster_commands}}
{{#chip_server_cluster_attributes}}
{{! TODO: Various types (floats, structs) not supported here. }}
{{#unless (isStrEqual chipCallback.name "Unsupported")}}
make_unique<Read{{asUpperCamelCase parent.name}}{{asUpperCamelCase name}}>(), //
{{#if isWritableAttribute}}
{{! No list support for writing yet. Need to figure out how to
Expand All @@ -284,7 +281,6 @@ void registerCluster{{asUpperCamelCase name}}(Commands & commands)
{{#if isReportableAttribute}}
make_unique<SubscribeAttribute{{asUpperCamelCase parent.name}}{{asUpperCamelCase name}}>(), //
{{/if}}
{{/unless}}
{{/chip_server_cluster_attributes}}
};

Expand Down
Loading

0 comments on commit 1243419

Please sign in to comment.