Skip to content

Commit

Permalink
Generate all client side structs
Browse files Browse the repository at this point in the history
  • Loading branch information
andy31415 committed Mar 27, 2023
1 parent 58c7031 commit 1a1db81
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/app/zap-templates/templates/app/MatterIDL.zapt
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,17 @@
}

{{/zcl_bitmaps}}
{{#chip_cluster_specific_structs}}
{{#if (is_client side)~}}
{{#zcl_structs}}
{{~>idl_structure_definition extraIndent=1}}

{{/chip_cluster_specific_structs}}
{{/zcl_structs}}
{{~else~}}
{{#chip_cluster_specific_structs}}
{{~>idl_structure_definition extraIndent=1}}

{{/chip_cluster_specific_structs}}
{{/if}}
{{#zcl_events}}
{{#if isFabricSensitive}}fabric_sensitive {{/if~}} {{priority}} event {{!ensure space}}
{{~#chip_access_elements entity="event"~}}
Expand Down

0 comments on commit 1a1db81

Please sign in to comment.