|
| 1 | +<?xml version="1.0"?> |
| 2 | +<!-- |
| 3 | +Copyright (c) 2024 Project CHIP Authors |
| 4 | +
|
| 5 | +Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | +you may not use this file except in compliance with the License. |
| 7 | +You may obtain a copy of the License at |
| 8 | +
|
| 9 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | +
|
| 11 | +Unless required by applicable law or agreed to in writing, software |
| 12 | +distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | +See the License for the specific language governing permissions and |
| 15 | +limitations under the License. |
| 16 | +--> |
| 17 | + |
| 18 | +<!-- |
| 19 | +TODO: Make these structures global rather than defining them for each cluster. |
| 20 | + This depends on the ability to define global structs via XML tags. |
| 21 | + see: https://github.com/project-chip/connectedhomeip/issues/29818 |
| 22 | +--> |
| 23 | + |
| 24 | +<configurator> |
| 25 | + <domain name="CHIP"/> |
| 26 | + |
| 27 | + <enum name="AtomicRequestTypeEnum" type="enum8"> |
| 28 | + <cluster code="0x0201"/> |
| 29 | + <item name="BeginWrite" value="0x00"/> |
| 30 | + <item name="CommitWrite" value="0x01"/> |
| 31 | + <item name="RollbackWrite" value="0x02"/> |
| 32 | + </enum> |
| 33 | + |
| 34 | + <!-- |
| 35 | + These are test global items (no cluster attached) for testing only. |
| 36 | + Their usage is defined for UnitTestCluster only. |
| 37 | + --> |
| 38 | + <enum name="TestGlobalEnum" type="enum8"> |
| 39 | + <item name="SomeValue" value="0x00"/> |
| 40 | + <item name="SomeOtherValue" value="0x01"/> |
| 41 | + <item name="FinalValue" value="0x02"/> |
| 42 | + </enum> |
| 43 | + |
| 44 | +</configurator> |
0 commit comments