Fix for x86_64 build fail
[platform/upstream/connectedhomeip.git] / src / app / zap-templates / templates / app / attribute-id.zapt
1 {{> header}}
2
3 // Prevent multiple inclusion
4 #pragma once
5
6 // Global cluster attribute ids
7 {{#zcl_attributes}}
8 {{#unless clusterRef}}
9 #define ZCL_{{asDelimitedMacro define}}_ATTRIBUTE_ID ({{asHex code 4}})
10 {{/unless}}
11 {{/zcl_attributes}}
12
13 {{#zcl_clusters}}
14 // Attribute ids for cluster: {{label}}
15
16 // Client attributes
17 {{#zcl_attributes_client}}
18 {{#if clusterRef}}
19 #define ZCL_{{asDelimitedMacro define}}_ATTRIBUTE_ID ({{asHex code 4}})
20 {{/if}}
21 {{/zcl_attributes_client}}
22
23 // Server attributes
24 {{#zcl_attributes_server}}
25 {{#if clusterRef}}
26 #define ZCL_{{asDelimitedMacro define}}_ATTRIBUTE_ID ({{asHex code 4}})
27 {{/if}}
28 {{/zcl_attributes_server}}
29
30 {{/zcl_clusters}}