Skip to content

Commit 76a21fa

Browse files
committed
Generated using ./alchemy zap --attribute="in-progress" CameraAVStreamManagement.adoc
1 parent 7de6e2f commit 76a21fa

File tree

7 files changed

+1062
-133
lines changed

7 files changed

+1062
-133
lines changed

.github/workflows/tests.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ jobs:
9191
--no-print \
9292
--log-level info \
9393
src/app/zap-templates/zcl/data-model/chip/global-attributes.xml \
94+
src/app/zap-templates/zcl/data-model/chip/camera-av-stream-management-cluster.xml \
9495
src/app/zap-templates/zcl/data-model/chip/global-bitmaps.xml \
9596
src/app/zap-templates/zcl/data-model/chip/global-enums.xml \
9697
src/app/zap-templates/zcl/data-model/chip/global-structs.xml \

scripts/rules.matterlint

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ load "../src/app/zap-templates/zcl/data-model/chip/binding-cluster.xml";
1414
load "../src/app/zap-templates/zcl/data-model/chip/boolean-state-cluster.xml";
1515
load "../src/app/zap-templates/zcl/data-model/chip/actions-cluster.xml";
1616
load "../src/app/zap-templates/zcl/data-model/chip/bridged-device-basic-information.xml";
17+
load "../src/app/zap-templates/zcl/data-model/chip/camera-av-stream-management-cluster.xml";
1718
load "../src/app/zap-templates/zcl/data-model/chip/channel-cluster.xml";
1819
load "../src/app/zap-templates/zcl/data-model/chip/chip-ota.xml";
1920
load "../src/app/zap-templates/zcl/data-model/chip/chip-types.xml";

src/app/zap-templates/zcl/data-model/chip/camera-av-stream-management-cluster.xml

+571
Large diffs are not rendered by default.

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

+49-3
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,13 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1414
See the License for the specific language governing permissions and
1515
limitations under the License.
1616
-->
17-
1817
<!--
1918
TODO: Make these structures global rather than defining them for each cluster.
2019
This depends on the ability to define global structs via XML tags.
2120
see: https://github.com/project-chip/connectedhomeip/issues/29818
2221
-->
23-
2422
<configurator>
2523
<domain name="CHIP"/>
26-
2724
<enum name="AtomicRequestTypeEnum" type="enum8">
2825
<item name="BeginWrite" value="0x00"/>
2926
<item name="CommitWrite" value="0x01"/>
@@ -34,10 +31,59 @@ TODO: Make these structures global rather than defining them for each cluster.
3431
These are test global items (no cluster attached) for testing only.
3532
Their usage is defined for UnitTestCluster only.
3633
-->
34+
<enum name="MeasurementTypeEnum" type="enum16">
35+
<item name="Unspecified" value="0x0000"/>
36+
<item name="Voltage" value="0x0001"/>
37+
<item name="ActiveCurrent" value="0x0002"/>
38+
<item name="ReactiveCurrent" value="0x0003"/>
39+
<item name="ApparentCurrent" value="0x0004"/>
40+
<item name="ActivePower" value="0x0005"/>
41+
<item name="ReactivePower" value="0x0006"/>
42+
<item name="ApparentPower" value="0x0007"/>
43+
<item name="RMSVoltage" value="0x0008"/>
44+
<item name="RMSCurrent" value="0x0009"/>
45+
<item name="RMSPower" value="0x000A"/>
46+
<item name="Frequency" value="0x000B"/>
47+
<item name="PowerFactor" value="0x000C"/>
48+
<item name="NeutralCurrent" value="0x000D"/>
49+
<item name="ElectricalEnergy" value="0x000E"/>
50+
</enum>
51+
52+
<enum name="ServerAttributionContextInformation" type="enum8">
53+
<item name="ServerAutomationRule" value="0x0B"/>
54+
<item name="ServerSchedule" value="0x0C"/>
55+
<item name="ServerTimer" value="0x0D"/>
56+
<item name="Security" value="0x0D"/>
57+
<item name="DemandResponseEventOrSimilarServiceProviderSignalling" value="0x0E"/>
58+
<item name="PhysicalInteractionOnDevice" value="0x0F"/>
59+
<item name="InteractionViaAProtocolNotDefinedInThisSpecification" value="0x10"/>
60+
</enum>
61+
62+
<enum name="SoftwareVersionCertificationStatusEnum" type="enum8">
63+
<item name="dev-test" value="0x00"/>
64+
<item name="provisional" value="0x01"/>
65+
<item name="certified" value="0x02"/>
66+
<item name="revoked" value="0x03"/>
67+
</enum>
68+
69+
<enum name="SuppliedAttributionContextInformation" type="enum8">
70+
<item name="DefaultClientAction" value="0x00"/>
71+
<item name="UserInteraction" value="0x01"/>
72+
<item name="ClientAutomationRule" value="0x02"/>
73+
<item name="ClientSchedule" value="0x03"/>
74+
<item name="ClientTimer" value="0x04"/>
75+
</enum>
76+
3777
<enum name="TestGlobalEnum" type="enum8">
3878
<item name="SomeValue" value="0x00"/>
3979
<item name="SomeOtherValue" value="0x01"/>
4080
<item name="FinalValue" value="0x02"/>
4181
</enum>
4282

83+
<enum name="ThreeLevelAutoEnum" type="enum8">
84+
<item name="Low" value="0x00"/>
85+
<item name="Medium" value="0x01"/>
86+
<item name="High" value="0x02"/>
87+
<item name="Auto" value="0x03"/>
88+
</enum>
4389
</configurator>

src/app/zap-templates/zcl/zcl-with-test-extensions.json

+90-22
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"boolean-state-configuration-cluster.xml",
2828
"actions-cluster.xml",
2929
"bridged-device-basic-information.xml",
30+
"camera-av-stream-management-cluster.xml",
3031
"chip-ota.xml",
3132
"channel-cluster.xml",
3233
"clusters-extensions.xml",
@@ -142,9 +143,15 @@
142143
"manufacturersXml": "../../../../src/app/zap-templates/zcl/data-model/manufacturers.xml",
143144
"options": {
144145
"text": {
145-
"defaultResponsePolicy": ["Always", "Conditional", "Never"]
146+
"defaultResponsePolicy": [
147+
"Always",
148+
"Conditional",
149+
"Never"
150+
]
146151
},
147-
"bool": ["commandDiscovery"]
152+
"bool": [
153+
"commandDiscovery"
154+
]
148155
},
149156
"defaults": {
150157
"text": {
@@ -190,8 +197,13 @@
190197
"SpecificationVersion",
191198
"MaxPathsPerInvoke"
192199
],
193-
"Bridged Device Basic Information": ["ProductAppearance"],
194-
"Descriptor": ["ClusterRevision", "FeatureMap"],
200+
"Bridged Device Basic Information": [
201+
"ProductAppearance"
202+
],
203+
"Descriptor": [
204+
"ClusterRevision",
205+
"FeatureMap"
206+
],
195207
"Device Energy Management": [
196208
"ESAType",
197209
"ESACanGenerate",
@@ -243,7 +255,11 @@
243255
"SessionEnergyDischarged",
244256
"FeatureMap"
245257
],
246-
"Energy EVSE Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
258+
"Energy EVSE Mode": [
259+
"SupportedModes",
260+
"CurrentMode",
261+
"FeatureMap"
262+
],
247263
"Ethernet Network Diagnostics": [
248264
"PHYRate",
249265
"FullDuplex",
@@ -288,7 +304,11 @@
288304
"ClientsSupportedPerFabric",
289305
"MaximumCheckInBackOff"
290306
],
291-
"Occupancy Sensing": ["HoldTimeLimits", "HoldTime", "FeatureMap"],
307+
"Occupancy Sensing": [
308+
"HoldTimeLimits",
309+
"HoldTime",
310+
"FeatureMap"
311+
],
292312
"Operational Credentials": [
293313
"SupportedFabrics",
294314
"CommissionedFabrics",
@@ -395,14 +415,21 @@
395415
"CurrentMaxRate",
396416
"OverrunCount"
397417
],
398-
"Channel": ["Lineup", "CurrentChannel"],
418+
"Channel": [
419+
"Lineup",
420+
"CurrentChannel"
421+
],
399422
"Media Playback": [
400423
"SampledPosition",
401424
"ActiveAudioTrack",
402425
"ActiveTextTrack"
403426
],
404-
"Application Launcher": ["CurrentApp"],
405-
"Application Basic": ["Application"],
427+
"Application Launcher": [
428+
"CurrentApp"
429+
],
430+
"Application Basic": [
431+
"Application"
432+
],
406433
"Time Synchronization": [
407434
"TrustedTimeSource",
408435
"DefaultNTP",
@@ -414,15 +441,21 @@
414441
"TimeZoneListMaxSize",
415442
"DSTOffsetListMaxSize"
416443
],
417-
"Temperature Control": ["SupportedTemperatureLevels"],
444+
"Temperature Control": [
445+
"SupportedTemperatureLevels"
446+
],
418447
"Dishwasher Mode": [
419448
"SupportedModes",
420449
"CurrentMode",
421450
"StartUpMode",
422451
"OnMode",
423452
"FeatureMap"
424453
],
425-
"Microwave Oven Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
454+
"Microwave Oven Mode": [
455+
"SupportedModes",
456+
"CurrentMode",
457+
"FeatureMap"
458+
],
426459
"Microwave Oven Control": [
427460
"CookTime",
428461
"MaxCookTime",
@@ -449,8 +482,16 @@
449482
"OnMode",
450483
"FeatureMap"
451484
],
452-
"RVC Clean Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
453-
"RVC Run Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
485+
"RVC Clean Mode": [
486+
"SupportedModes",
487+
"CurrentMode",
488+
"FeatureMap"
489+
],
490+
"RVC Run Mode": [
491+
"SupportedModes",
492+
"CurrentMode",
493+
"FeatureMap"
494+
],
454495
"Operational State": [
455496
"OperationalState",
456497
"OperationalError",
@@ -627,7 +668,10 @@
627668
"LevelValue",
628669
"FeatureMap"
629670
],
630-
"Air Quality": ["AirQuality", "FeatureMap"],
671+
"Air Quality": [
672+
"AirQuality",
673+
"FeatureMap"
674+
],
631675
"Electrical Energy Measurement": [
632676
"Accuracy",
633677
"CumulativeEnergyImported",
@@ -659,9 +703,15 @@
659703
"NeutralCurrent",
660704
"FeatureMap"
661705
],
662-
"Power Topology": ["FeatureMap"],
663-
"Valve Configuration and Control": ["RemainingDuration"],
664-
"Boolean State Configuration": ["CurrentSensitivityLevel"],
706+
"Power Topology": [
707+
"FeatureMap"
708+
],
709+
"Valve Configuration and Control": [
710+
"RemainingDuration"
711+
],
712+
"Boolean State Configuration": [
713+
"CurrentSensitivityLevel"
714+
],
665715
"Water Heater Management": [
666716
"HeaterTypes",
667717
"HeatDemand",
@@ -672,17 +722,35 @@
672722
"FeatureMap",
673723
"ClusterRevision"
674724
],
675-
"Water Heater Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
676-
"Wi-Fi Network Management": ["SSID", "PassphraseSurrogate"],
725+
"Water Heater Mode": [
726+
"SupportedModes",
727+
"CurrentMode",
728+
"FeatureMap"
729+
],
730+
"Wi-Fi Network Management": [
731+
"SSID",
732+
"PassphraseSurrogate"
733+
],
677734
"Thread Network Directory": [
678735
"PreferredExtendedPanID",
679736
"ThreadNetworks",
680737
"ThreadNetworkTableSize"
681738
],
682-
"Service Area": ["CurrentArea", "EstimatedEndTime", "FeatureMap"]
739+
"Service Area": [
740+
"CurrentArea",
741+
"EstimatedEndTime",
742+
"FeatureMap"
743+
]
683744
},
684745
"defaultReportingPolicy": "mandatory",
685-
"ZCLDataTypes": ["ARRAY", "BITMAP", "ENUM", "NUMBER", "STRING", "STRUCT"],
746+
"ZCLDataTypes": [
747+
"ARRAY",
748+
"BITMAP",
749+
"ENUM",
750+
"NUMBER",
751+
"STRING",
752+
"STRUCT"
753+
],
686754
"fabricHandling": {
687755
"automaticallyCreateFields": true,
688756
"indexFieldId": 254,
@@ -692,4 +760,4 @@
692760
"uiOptions": {
693761
"showProfileId": false
694762
}
695-
}
763+
}

0 commit comments

Comments
 (0)