203aa4c1a22f1974c31acbc7f3662a5e1dbe89e5
[platform/upstream/connectedhomeip.git] / src / app / zap-templates / attribute-id.zapt
1 {{chip_header}}
2
3 // Prevent multiple inclusion
4 #pragma once
5
6 {{#zcl_clusters}}
7 // Attribute ids for cluster: {{label}}
8
9 {{#zcl_attributes_client}}
10 {{#first}}
11 // Client attributes
12 {{/first}}
13 #define ZCL_{{asDelimitedMacro define}}_ATTRIBUTE_ID ({{asHex code 4}})
14 {{#last}}
15
16 {{/last}}
17 {{/zcl_attributes_client}}
18 {{#zcl_attributes_server}}
19 {{#first}}
20 // Server attributes
21 {{/first}}
22 #define ZCL_{{asDelimitedMacro define}}_ATTRIBUTE_ID ({{asHex code 4}})
23 {{#last}}
24
25 {{/last}}
26 {{/zcl_attributes_server}}
27 {{/zcl_clusters}}