Skip to content

Commit

Permalink
Merge dcacdcd into 22c488b
Browse files Browse the repository at this point in the history
  • Loading branch information
pidarped authored Oct 4, 2024
2 parents 22c488b + dcacdcd commit 1708756
Show file tree
Hide file tree
Showing 85 changed files with 66,785 additions and 19,031 deletions.
1 change: 1 addition & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ jobs:
src/app/zap-templates/zcl/data-model/chip/boolean-state-cluster.xml \
src/app/zap-templates/zcl/data-model/chip/actions-cluster.xml \
src/app/zap-templates/zcl/data-model/chip/bridged-device-basic-information.xml \
src/app/zap-templates/zcl/data-model/chip/camera-av-stream-management-cluster.xml \
src/app/zap-templates/zcl/data-model/chip/chip-ota.xml \
src/app/zap-templates/zcl/data-model/chip/chip-types.xml \
src/app/zap-templates/zcl/data-model/chip/channel-cluster.xml \
Expand Down
1 change: 1 addition & 0 deletions docs/zap_clusters.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ Generally regenerate using one of:
| 1294 | 0x50E | AccountLogin |
| 1295 | 0x50F | ContentControl |
| 1296 | 0x510 | ContentAppObserver |
| 1361 | 0x551 | CameraAvStreamManagement |
| 1363 | 0x553 | WebRTCTransportProvider |
| 1366 | 0x556 | Chime |
| 1872 | 0x750 | EcosystemInformation |
Expand Down
1 change: 1 addition & 0 deletions scripts/rules.matterlint
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ load "../src/app/zap-templates/zcl/data-model/chip/binding-cluster.xml";
load "../src/app/zap-templates/zcl/data-model/chip/boolean-state-cluster.xml";
load "../src/app/zap-templates/zcl/data-model/chip/actions-cluster.xml";
load "../src/app/zap-templates/zcl/data-model/chip/bridged-device-basic-information.xml";
load "../src/app/zap-templates/zcl/data-model/chip/camera-av-stream-management-cluster.xml";
load "../src/app/zap-templates/zcl/data-model/chip/channel-cluster.xml";
load "../src/app/zap-templates/zcl/data-model/chip/chime-cluster.xml";
load "../src/app/zap-templates/zcl/data-model/chip/chip-ota.xml";
Expand Down
4,029 changes: 1,877 additions & 2,152 deletions scripts/tools/zap/tests/outputs/all-clusters-app/app-templates/endpoint_config.h

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

13 changes: 12 additions & 1 deletion src/app/zap-templates/zcl/data-model/chip/global-enums.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,18 @@ TODO: Make these structures global rather than defining them for each cluster.
<item name="High" value="0x02"/>
<item name="Automatic" value="0x03"/>
</enum>

<enum name="StreamTypeEnum" type="enum8">
<cluster code="0x0551"/>
<cluster code="0x0553"/>
<cluster code="0x0554"/>
<cluster code="0x0555"/>
<item name="Internal" value="0x00"/>
<item name="Recording" value="0x01"/>
<item name="Analysis" value="0x02"/>
<item name="LiveView" value="0x03"/>
</enum>

<!--
These are test global items (no cluster attached) for testing only.
Their usage is defined for UnitTestCluster only.
Expand All @@ -43,5 +55,4 @@ TODO: Make these structures global rather than defining them for each cluster.
<item name="SomeOtherValue" value="0x01"/>
<item name="FinalValue" value="0x02"/>
</enum>

</configurator>
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,6 @@ Git: 0.9-fall2024-234-gf4d359001
<configurator xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../zcl.xsd">
<domain name="General"/>

<enum name="StreamTypeEnum" type="enum8">
<cluster code="0x0553"/>
<cluster code="0x0554"/>
<item name="Internal" value="0x00"/>
<item name="Recording" value="0x01"/>
<item name="Analysis" value="0x02"/>
<item name="LiveView" value="0x03"/>
</enum>

<bitmap name="WebRTCMetadataOptions" type="bitmap8">
<cluster code="0x0553"/>
<cluster code="0x0554"/>
Expand Down
12 changes: 11 additions & 1 deletion src/app/zap-templates/zcl/zcl-with-test-extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"boolean-state-configuration-cluster.xml",
"actions-cluster.xml",
"bridged-device-basic-information.xml",
"camera-av-stream-management-cluster.xml",
"chime-cluster.xml",
"chip-ota.xml",
"channel-cluster.xml",
Expand Down Expand Up @@ -666,7 +667,16 @@
"ThreadNetworks",
"ThreadNetworkTableSize"
],
"Service Area": ["CurrentArea", "EstimatedEndTime", "FeatureMap"]
"Service Area": ["CurrentArea", "EstimatedEndTime", "FeatureMap"],
"Camera AV Stream Management": [
"VideoSensorParams",
"MinViewPortWidth",
"MinViewPortHeight",
"MicrophoneCapabilities",
"SpeakerCapabilities",
"CurrentSnapshotConfig",
"Viewport"
]
},
"mandatoryDeviceTypes": "0x0016",
"defaultReportingPolicy": "mandatory",
Expand Down
12 changes: 11 additions & 1 deletion src/app/zap-templates/zcl/zcl.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"boolean-state-configuration-cluster.xml",
"actions-cluster.xml",
"bridged-device-basic-information.xml",
"camera-av-stream-management-cluster.xml",
"chime-cluster.xml",
"chip-ota.xml",
"channel-cluster.xml",
Expand Down Expand Up @@ -660,7 +661,16 @@
"ThreadNetworks",
"ThreadNetworkTableSize"
],
"Service Area": ["CurrentArea", "EstimatedEndTime", "FeatureMap"]
"Service Area": ["CurrentArea", "EstimatedEndTime", "FeatureMap"],
"Camera AV Stream Management": [
"VideoSensorParams",
"MinViewPortWidth",
"MinViewPortHeight",
"MicrophoneCapabilities",
"SpeakerCapabilities",
"CurrentSnapshotConfig",
"Viewport"
]
},
"mandatoryDeviceTypes": "0x0016",
"defaultReportingPolicy": "mandatory",
Expand Down
2 changes: 2 additions & 0 deletions src/app/zap_cluster_list.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"BOOLEAN_STATE_CLUSTER": [],
"BOOLEAN_STATE_CONFIGURATION_CLUSTER": [],
"BRIDGED_DEVICE_BASIC_INFORMATION_CLUSTER": [],
"CAMERA_AV_STREAM_MANAGEMENT_CLUSTER": [],
"CARBON_DIOXIDE_CONCENTRATION_MEASUREMENT_CLUSTER": [],
"CARBON_MONOXIDE_CONCENTRATION_MEASUREMENT_CLUSTER": [],
"CHANNEL_CLUSTER": [],
Expand Down Expand Up @@ -160,6 +161,7 @@
"BRIDGED_DEVICE_BASIC_INFORMATION_CLUSTER": [
"bridged-device-basic-information-server"
],
"CAMERA_AV_STREAM_MANAGEMENT_CLUSTER": [],
"CARBON_DIOXIDE_CONCENTRATION_MEASUREMENT_CLUSTER": [
"concentration-measurement-server"
],
Expand Down
Loading

0 comments on commit 1708756

Please sign in to comment.