blob: 7a716cb60e585f63f358f2159e2a07ad83a4f937 [file] [edit]
{{zap_header}}
// This is the mapping of IDs to cluster names assuming a format according
// to the "EmberAfClusterName" defined in the ZCL header.
// The names of clusters that are not present, are removed.
{{#zcl_clusters}}
#if defined(ZCL_USING_{{asDelimitedMacro this.define}}_SERVER) || defined(ZCL_USING_{{asDelimitedMacro this.define}}_CLIENT)
#define SILABS_PRINTCLUSTER_{{asDelimitedMacro this.define}} {ZCL_{{asDelimitedMacro this.define}}_ID, {{asHex this.manufacturerCode 4}}, "{{this.label}}" },
#else
#define SILABS_PRINTCLUSTER_{{asDelimitedMacro this.define}}
#endif
{{/zcl_clusters}}
#define CLUSTER_IDS_TO_NAMES \
{{#zcl_clusters}}
SILABS_PRINTCLUSTER_{{asDelimitedMacro this.define}} \
{{/zcl_clusters}}
#define MAX_CLUSTER_NAME_LENGTH {{zcl_cluster_largest_label_length}}
#endif // SILABS_PRINT_CLUSTER