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

Ensure all commands are generated for client cluster definitions in .matter IDL files #25853

Merged
Merged
Prev Previous commit
Next Next commit
Noop update: switch loop method and conditional that is not needed
  • Loading branch information
andreilitvin committed Mar 28, 2023
commit 4996268070deb72dedf8f300580212e451d2f4a0
7 changes: 2 additions & 5 deletions src/controller/java/templates/CHIPReadCallbacks.zapt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{{> header}}
{{#if (chip_has_client_clusters)}}
#include <jni/CHIPCallbackTypes.h>

#include <controller/java/AndroidCallbacks.h>
@@ -36,7 +35,7 @@ private:
{{/unless}}
{{/chip_server_global_responses}}

{{#chip_client_clusters}}
{{#all_user_clusters}}
{{#zcl_attributes_server removeKeys='isOptional'}}
{{#if_unsupported_attribute_callback type isArray ../id}}
{{else}}
@@ -70,6 +69,4 @@ private:

{{/if_unsupported_attribute_callback}}
{{/zcl_attributes_server}}
{{/chip_client_clusters}}

{{/if}}
{{/all_user_clusters}}