blob: 54b4f69bc93bb85c24c8f5979e37e89aecaab36b [file] [log] [blame]
<?xml version="1.0"?>
<!--
Copyright (c) 2024 Project CHIP Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!--
TODO: Make these structures global rather than defining them for each cluster.
This depends on the ability to define global structs via XML tags.
see: https://github.com/project-chip/connectedhomeip/issues/29818
-->
<configurator>
<domain name="CHIP"/>
<struct name="HomeLocationStruct">
<cluster code="0x0150"/> <!-- Service Area Cluster -->
<!-- TODO: add Basic Information Cluster code="0x0028" -->
<item fieldId="0" name="LocationName" type="char_string" length="128" isNullable="false" optional="false"/>
<item fieldId="1" name="FloorNumber" type="int16s" isNullable="true" optional="false"/>
<item fieldId="2" name="AreaType" type="AreaTypeTag" isNullable="true" optional="false"/>
</struct>
</configurator>