ComplexArgumentParser.zapt 432 B

1234567891011121314151617181920
  1. {{> header}}
  2. #include <json/json.h>
  3. #include <lib/core/CHIPError.h>
  4. #include <app-common/zap-generated/cluster-objects.h>
  5. {{#zcl_structs}}
  6. {{#if has_more_than_one_cluster}}
  7. {{> struct_parser_decl namespace="detail"}}
  8. {{/if}}
  9. {{/zcl_structs}}
  10. {{#zcl_clusters}}
  11. {{#zcl_structs}}
  12. {{#unless has_more_than_one_cluster}}
  13. {{> struct_parser_decl namespace=(as_camel_cased ../name false)}}
  14. {{/unless}}
  15. {{/zcl_structs}}
  16. {{/zcl_clusters}}