Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3132e59

Browse files
committedOct 3, 2024
Definition of the Camera AV StreamManagement Cluster.
Spec in `cameras` branch. Draft PR: CHIP-Specifications/connectedhomeip-spec#10004
1 parent cc6c773 commit 3132e59

File tree

7 files changed

+614
-4
lines changed

7 files changed

+614
-4
lines changed
 

‎.github/workflows/tests.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ jobs:
110110
src/app/zap-templates/zcl/data-model/chip/boolean-state-cluster.xml \
111111
src/app/zap-templates/zcl/data-model/chip/actions-cluster.xml \
112112
src/app/zap-templates/zcl/data-model/chip/bridged-device-basic-information.xml \
113+
src/app/zap-templates/zcl/data-model/chip/camera-av-stream-management-cluster.xml \
113114
src/app/zap-templates/zcl/data-model/chip/chip-ota.xml \
114115
src/app/zap-templates/zcl/data-model/chip/chip-types.xml \
115116
src/app/zap-templates/zcl/data-model/chip/channel-cluster.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/chime-cluster.xml";
1920
load "../src/app/zap-templates/zcl/data-model/chip/chip-ota.xml";

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

+587
Large diffs are not rendered by default.

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

+1-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ TODO: Make these structures global rather than defining them for each cluster.
3232
<item name="Low" value="0x00"/>
3333
<item name="Medium" value="0x01"/>
3434
<item name="High" value="0x02"/>
35-
<item name="Automatic" value="0x03"/>
35+
<item name="Auto" value="0x03"/>
3636
</enum>
3737
<!--
3838
These are test global items (no cluster attached) for testing only.
@@ -43,5 +43,4 @@ TODO: Make these structures global rather than defining them for each cluster.
4343
<item name="SomeOtherValue" value="0x01"/>
4444
<item name="FinalValue" value="0x02"/>
4545
</enum>
46-
4746
</configurator>

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

+11-1
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
"chime-cluster.xml",
3132
"chip-ota.xml",
3233
"channel-cluster.xml",
@@ -680,7 +681,16 @@
680681
"ThreadNetworks",
681682
"ThreadNetworkTableSize"
682683
],
683-
"Service Area": ["CurrentArea", "EstimatedEndTime", "FeatureMap"]
684+
"Service Area": ["CurrentArea", "EstimatedEndTime", "FeatureMap"],
685+
"Camera AV Stream Management": [
686+
"VideoSensorParams",
687+
"MinViewPortWidth",
688+
"MinViewPortHeight",
689+
"MicrophoneCapabilities",
690+
"SpeakerCapabilities",
691+
"CurrentSnapshotConfig",
692+
"Viewport"
693+
]
684694
},
685695
"mandatoryDeviceTypes": "0x0016",
686696
"defaultReportingPolicy": "mandatory",

‎src/app/zap-templates/zcl/zcl.json

+11-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"boolean-state-configuration-cluster.xml",
2323
"actions-cluster.xml",
2424
"bridged-device-basic-information.xml",
25+
"camera-av-stream-management-cluster.xml",
2526
"chime-cluster.xml",
2627
"chip-ota.xml",
2728
"channel-cluster.xml",
@@ -674,7 +675,16 @@
674675
"ThreadNetworks",
675676
"ThreadNetworkTableSize"
676677
],
677-
"Service Area": ["CurrentArea", "EstimatedEndTime", "FeatureMap"]
678+
"Service Area": ["CurrentArea", "EstimatedEndTime", "FeatureMap"],
679+
"Camera AV Stream Management": [
680+
"VideoSensorParams",
681+
"MinViewPortWidth",
682+
"MinViewPortHeight",
683+
"MicrophoneCapabilities",
684+
"SpeakerCapabilities",
685+
"CurrentSnapshotConfig",
686+
"Viewport"
687+
]
678688
},
679689
"mandatoryDeviceTypes": "0x0016",
680690
"defaultReportingPolicy": "mandatory",

‎src/app/zap_cluster_list.json

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"BOOLEAN_STATE_CLUSTER": [],
1717
"BOOLEAN_STATE_CONFIGURATION_CLUSTER": [],
1818
"BRIDGED_DEVICE_BASIC_INFORMATION_CLUSTER": [],
19+
"CAMERA_AV_STREAM_MANAGEMENT_CLUSTER": [],
1920
"CARBON_DIOXIDE_CONCENTRATION_MEASUREMENT_CLUSTER": [],
2021
"CARBON_MONOXIDE_CONCENTRATION_MEASUREMENT_CLUSTER": [],
2122
"CHANNEL_CLUSTER": [],
@@ -159,6 +160,7 @@
159160
"BRIDGED_DEVICE_BASIC_INFORMATION_CLUSTER": [
160161
"bridged-device-basic-information-server"
161162
],
163+
"CAMERA_AV_STREAM_MANAGEMENT_CLUSTER": [],
162164
"CARBON_DIOXIDE_CONCENTRATION_MEASUREMENT_CLUSTER": [
163165
"concentration-measurement-server"
164166
],

0 commit comments

Comments
 (0)