Skip to content

Commit 3e16d83

Browse files
authored
[Draft] TV Matter Media: Updated the existing clusters & Added 2 new clusters according to the latest Matter 1.3 spec. (Account Login, Channel, Content Launcher, Media Playback, Target Navigator, Content App Observer and Content Control) (#30691)
* Updated the existing cluster according to the latest Matter 1.3 spec. The existing clusters that have been updated are: Account Login, Channel, Content Launcher, Media Playback and Target Navigator. I have also added 2 new Clusters: Content Control and Content app observer * ZAP generated files * Formated Kotlin
1 parent d9b2f5b commit 3e16d83

File tree

169 files changed

+39849
-2929
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

169 files changed

+39849
-2929
lines changed

.github/workflows/tests.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ jobs:
110110
src/app/zap-templates/zcl/data-model/chip/color-control-cluster.xml \
111111
src/app/zap-templates/zcl/data-model/chip/concentration-measurement-cluster.xml \
112112
src/app/zap-templates/zcl/data-model/chip/content-launch-cluster.xml \
113+
src/app/zap-templates/zcl/data-model/chip/content-app-observer-cluster.xml \
114+
src/app/zap-templates/zcl/data-model/chip/content-control-cluster.xml \
113115
src/app/zap-templates/zcl/data-model/chip/descriptor-cluster.xml \
114116
src/app/zap-templates/zcl/data-model/chip/diagnostic-logs-cluster.xml \
115117
src/app/zap-templates/zcl/data-model/chip/dishwasher-alarm-cluster.xml \

build/chip/java/kotlinc_runner.py

+3
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,9 @@ def main():
127127
if classpath:
128128
kotlin_args += ["-classpath", classpath]
129129

130+
kotlin_args += ["-J-Xms256m", "-J-Xmx4096m", "-J-XX:MaxPermSize=350m",
131+
"-J-XX:ReservedCodeCacheSize=225m", "-J-XX:+UseCompressedOops"]
132+
130133
retcode = subprocess.check_call(kotlin_args + args.rest)
131134
if retcode != EXIT_SUCCESS:
132135
return retcode

data_model/clusters/AccountLogin.xml

+56-41
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0"?>
1+
<?xml version="1.0"?>
22
<!--
33
Copyright (C) Connectivity Standards Alliance (2021). All rights reserved.
44
The information within this document is the property of the Connectivity
@@ -54,44 +54,59 @@ This notice and disclaimer must be included on all copies of this document.
5454
Connectivity Standards Alliance
5555
508 Second Street, Suite 206
5656
Davis, CA 95616, USA
57-
-->
58-
<cluster xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="types types.xsd cluster cluster.xsd" id="0x050e" name="Account Login" revision="1">
59-
<revisionHistory>
60-
<revision revision="1" summary="Initial Release"/>
61-
</revisionHistory>
62-
<classification hierarchy="base" role="application" picsCode="ALOGIN" scope="Endpoint"/>
63-
<commands>
64-
<command id="0x00" name="GetSetupPIN" response="GetSetupPINResponse">
65-
<access invokePrivilege="admin" fabricScoped="true" timed="true"/>
66-
<mandatoryConform/>
67-
<field id="0" name="TempAccountIdentifier" type="string">
68-
<mandatoryConform/>
69-
<constraint type="lengthBetween" from="16" to="100"/>
70-
</field>
71-
</command>
72-
<command id="0x01" name="GetSetupPINResponse" direction="responseFromServer">
73-
<access invokePrivilege="operate" fabricScoped="true"/>
74-
<mandatoryConform/>
75-
<field id="0" name="SetupPIN" type="string">
76-
<mandatoryConform/>
77-
<constraint type="desc"/>
78-
</field>
79-
</command>
80-
<command id="0x02" name="Login" response="Y">
81-
<access invokePrivilege="admin" fabricScoped="true" timed="true"/>
82-
<mandatoryConform/>
83-
<field id="0" name="TempAccountIdentifier" type="string">
84-
<mandatoryConform/>
85-
<constraint type="lengthBetween" from="16" to="100"/>
86-
</field>
87-
<field id="1" name="SetupPIN" type="string">
88-
<mandatoryConform/>
89-
<constraint type="minLength" value="11"/>
90-
</field>
91-
</command>
92-
<command id="0x03" name="Logout" response="Y">
93-
<access invokePrivilege="operate" fabricScoped="true" timed="true"/>
94-
<mandatoryConform/>
95-
</command>
96-
</commands>
57+
-->
58+
<cluster xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="types types.xsd cluster cluster.xsd" id="0x050e" name="Account Login" revision="1">
59+
<revisionHistory>
60+
<revision revision="1" summary="Initial Release"/>
61+
</revisionHistory>
62+
<classification hierarchy="base" role="application" picsCode="ALOGIN" scope="Endpoint"/>
63+
<commands>
64+
<command id="0x00" name="GetSetupPIN" response="GetSetupPINResponse">
65+
<access invokePrivilege="admin" fabricScoped="true" timed="true"/>
66+
<mandatoryConform/>
67+
<field id="0" name="TempAccountIdentifier" type="string">
68+
<mandatoryConform/>
69+
<constraint type="lengthBetween" from="16" to="100"/>
70+
</field>
71+
</command>
72+
<command id="0x01" name="GetSetupPINResponse" direction="responseFromServer">
73+
<access invokePrivilege="operate" fabricScoped="true"/>
74+
<mandatoryConform/>
75+
<field id="0" name="SetupPIN" type="string">
76+
<mandatoryConform/>
77+
<constraint type="desc"/>
78+
</field>
79+
</command>
80+
<command id="0x02" name="Login" response="Y">
81+
<access invokePrivilege="admin" fabricScoped="true" timed="true"/>
82+
<mandatoryConform/>
83+
<field id="0" name="TempAccountIdentifier" type="string">
84+
<mandatoryConform/>
85+
<constraint type="lengthBetween" from="16" to="100"/>
86+
</field>
87+
<field id="1" name="SetupPIN" type="string">
88+
<mandatoryConform/>
89+
<constraint type="minLength" value="8"/>
90+
</field>
91+
<field id="2" name="Node" type="node-id">
92+
<optionalConform/>
93+
</field>
94+
</command>
95+
<command id="0x03" name="Logout" response="Y">
96+
<access invokePrivilege="operate" fabricScoped="true" timed="true"/>
97+
<mandatoryConform/>
98+
<field id="0" name="Node" type="node-id">
99+
<optionalConform/>
100+
</field>
101+
</command>
102+
</commands>
103+
<events>
104+
<event id="0x00" name="LoggedOut" priority="critical">
105+
<access fabricSensitive="true" invokePrivilege="admin"/>
106+
<mandatoryConform/>
107+
<field id="0" name="Node" type="node-id">
108+
<optionalConform/>
109+
</field>
110+
</event>
111+
</events>
97112
</cluster>

0 commit comments

Comments
 (0)