Skip to content

Commit f6c3635

Browse files
committed
Added the AreaTypeTag and HomeLocationStruct to the BasicInformation namespace. Added the DeviceLocation attribute to the basic infromation cluster.
1 parent 82b1e1b commit f6c3635

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/app/zap-templates/zcl/data-model/chip/basic-information-cluster.xml

+1
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ limitations under the License.
109109
<attribute side="server" code="20" define="PRODUCT_APPEARANCE" type="ProductAppearanceStruct" optional="true">ProductAppearance</attribute>
110110
<attribute side="server" code="21" define="SPECIFICATION_VERSION" type="int32u" >SpecificationVersion</attribute>
111111
<attribute side="server" code="22" define="MAX_PATHS_PER_INVOKE" type="int16u" >MaxPathsPerInvoke</attribute>
112+
<attribute side="server" code="23" define="DEVICE_LOCATION" type="HomeLocationStruct" isNullable="true" optional="true">DeviceLocation</attribute>
112113

113114
<event side="server" code="0x00" name="StartUp" priority="critical" optional="false">
114115
<description>The StartUp event SHALL be emitted by a Node as soon as reasonable after completing a boot or reboot process.</description>

src/app/zap-templates/zcl/data-model/chip/global-structs.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ TODO: Make these structures global rather than defining them for each cluster.
2525
<domain name="CHIP"/>
2626
<struct name="HomeLocationStruct">
2727
<cluster code="0x0150"/> <!-- Service Area Cluster -->
28-
<!-- TODO: add Basic Information Cluster code="0x0028" -->
28+
<cluster code="0x0028"/> <!-- Basic Information Cluster -->
2929

3030
<item fieldId="0" name="LocationName" type="char_string" length="128" isNullable="false" optional="false"/>
3131
<item fieldId="1" name="FloorNumber" type="int16s" isNullable="true" optional="false"/>

src/app/zap-templates/zcl/data-model/chip/semantic-tag-namespace-enums.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ TODO: Make these namespace enums global rather than defining them for each clust
4444

4545
<enum name="AreaTypeTag" type="enum8">
4646
<cluster code="0x0150"/> <!-- Service Area Cluster -->
47-
<!-- TODO: add Basic Information Cluster code="0x0028" -->
47+
<cluster code="0x0028"/> <!-- Basic Information Cluster -->
4848

4949
<item value="0x00" name="Aisle"/>
5050
<item value="0x01" name="Attic"/>

0 commit comments

Comments
 (0)