|
15 | 15 | // Parallel array data (*cluster*, attribute, privilege) for read attribute
|
16 | 16 | #define GENERATED_ACCESS_READ_ATTRIBUTE__CLUSTER { \
|
17 | 17 | {{/first}}
|
18 |
| - {{#chip_server_cluster_attributes}} |
| 18 | + {{#enabled_attributes_for_cluster_and_side name 'server'}} |
19 | 19 | {{#access entity="attribute"}}
|
20 | 20 | {{#if hasOperation}}
|
21 | 21 | {{#if (isStrEqual operation "read")}}
|
|
37 | 37 | {{/if}}
|
38 | 38 | {{/if}}
|
39 | 39 | {{/access}}
|
40 |
| - {{/chip_server_cluster_attributes}} |
| 40 | + {{/enabled_attributes_for_cluster_and_side}} |
41 | 41 | {{#last}}
|
42 | 42 | }
|
43 | 43 | {{/last}}
|
|
48 | 48 | // Parallel array data (cluster, *attribute*, privilege) for read attribute
|
49 | 49 | #define GENERATED_ACCESS_READ_ATTRIBUTE__ATTRIBUTE { \
|
50 | 50 | {{/first}}
|
51 |
| - {{#chip_server_cluster_attributes}} |
| 51 | + {{#enabled_attributes_for_cluster_and_side name 'server'}} |
52 | 52 | {{#access entity="attribute"}}
|
53 | 53 | {{#if hasOperation}}
|
54 | 54 | {{#if (isStrEqual operation "read")}}
|
|
70 | 70 | {{/if}}
|
71 | 71 | {{/if}}
|
72 | 72 | {{/access}}
|
73 |
| - {{/chip_server_cluster_attributes}} |
| 73 | + {{/enabled_attributes_for_cluster_and_side}} |
74 | 74 | {{#last}}
|
75 | 75 | }
|
76 | 76 | {{/last}}
|
|
81 | 81 | // Parallel array data (cluster, attribute, *privilege*) for read attribute
|
82 | 82 | #define GENERATED_ACCESS_READ_ATTRIBUTE__PRIVILEGE { \
|
83 | 83 | {{/first}}
|
84 |
| - {{#chip_server_cluster_attributes}} |
| 84 | + {{#enabled_attributes_for_cluster_and_side name 'server'}} |
85 | 85 | {{#access entity="attribute"}}
|
86 | 86 | {{#if hasOperation}}
|
87 | 87 | {{#if (isStrEqual operation "read")}}
|
|
103 | 103 | {{/if}}
|
104 | 104 | {{/if}}
|
105 | 105 | {{/access}}
|
106 |
| - {{/chip_server_cluster_attributes}} |
| 106 | + {{/enabled_attributes_for_cluster_and_side}} |
107 | 107 | {{#last}}
|
108 | 108 | }
|
109 | 109 | {{/last}}
|
|
116 | 116 | // Parallel array data (*cluster*, attribute, privilege) for write attribute
|
117 | 117 | #define GENERATED_ACCESS_WRITE_ATTRIBUTE__CLUSTER { \
|
118 | 118 | {{/first}}
|
119 |
| - {{#chip_server_cluster_attributes}} |
| 119 | + {{#enabled_attributes_for_cluster_and_side name 'server'}} |
120 | 120 | {{#access entity="attribute"}}
|
121 | 121 | {{#if hasOperation}}
|
122 | 122 | {{#if (isStrEqual operation "write")}}
|
|
138 | 138 | {{/if}}
|
139 | 139 | {{/if}}
|
140 | 140 | {{/access}}
|
141 |
| - {{/chip_server_cluster_attributes}} |
| 141 | + {{/enabled_attributes_for_cluster_and_side}} |
142 | 142 | {{#last}}
|
143 | 143 | }
|
144 | 144 | {{/last}}
|
|
149 | 149 | // Parallel array data (cluster, *attribute*, privilege) for write attribute
|
150 | 150 | #define GENERATED_ACCESS_WRITE_ATTRIBUTE__ATTRIBUTE { \
|
151 | 151 | {{/first}}
|
152 |
| - {{#chip_server_cluster_attributes}} |
| 152 | + {{#enabled_attributes_for_cluster_and_side name 'server'}} |
153 | 153 | {{#access entity="attribute"}}
|
154 | 154 | {{#if hasOperation}}
|
155 | 155 | {{#if (isStrEqual operation "write")}}
|
|
171 | 171 | {{/if}}
|
172 | 172 | {{/if}}
|
173 | 173 | {{/access}}
|
174 |
| - {{/chip_server_cluster_attributes}} |
| 174 | + {{/enabled_attributes_for_cluster_and_side}} |
175 | 175 | {{#last}}
|
176 | 176 | }
|
177 | 177 | {{/last}}
|
|
182 | 182 | // Parallel array data (cluster, attribute, *privilege*) for write attribute
|
183 | 183 | #define GENERATED_ACCESS_WRITE_ATTRIBUTE__PRIVILEGE { \
|
184 | 184 | {{/first}}
|
185 |
| - {{#chip_server_cluster_attributes}} |
| 185 | + {{#enabled_attributes_for_cluster_and_side name 'server'}} |
186 | 186 | {{#access entity="attribute"}}
|
187 | 187 | {{#if hasOperation}}
|
188 | 188 | {{#if (isStrEqual operation "write")}}
|
|
204 | 204 | {{/if}}
|
205 | 205 | {{/if}}
|
206 | 206 | {{/access}}
|
207 |
| - {{/chip_server_cluster_attributes}} |
| 207 | + {{/enabled_attributes_for_cluster_and_side}} |
208 | 208 | {{#last}}
|
209 | 209 | }
|
210 | 210 | {{/last}}
|
|
0 commit comments