blob: ae7498e59fe8f315db29a61962d12a9ce628f638 [file] [log] [blame]
{{> header}}
// Prevent multiple inclusion
#pragma once
// Global cluster attribute ids
{{#zcl_attributes}}
{{#unless clusterRef}}
#define ZCL_{{asDelimitedMacro define}}_ATTRIBUTE_ID ({{asHex code 4}})
{{/unless}}
{{/zcl_attributes}}
{{#zcl_clusters}}
// Attribute ids for cluster: {{label}}
// Client attributes
{{#zcl_attributes_client}}
{{#if clusterRef}}
#define ZCL_{{asDelimitedMacro define}}_ATTRIBUTE_ID ({{asHex code 4}})
{{/if}}
{{/zcl_attributes_client}}
// Server attributes
{{#zcl_attributes_server}}
{{#if clusterRef}}
#define ZCL_{{asDelimitedMacro define}}_ATTRIBUTE_ID ({{asHex code 4}})
{{/if}}
{{/zcl_attributes_server}}
{{/zcl_clusters}}