Skip to content

Commit 4cd06b4

Browse files
authored
Fix content launcher cluster to have real feature bitmap instead of indexes (project-chip#35881)
1 parent e5bf62f commit 4cd06b4

File tree

10 files changed

+40
-40
lines changed

10 files changed

+40
-40
lines changed

examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter

+3-3
Original file line numberDiff line numberDiff line change
@@ -5452,9 +5452,9 @@ cluster ContentLauncher = 1290 {
54525452
bitmap Feature : bitmap32 {
54535453
kContentSearch = 0x1;
54545454
kURLPlayback = 0x2;
5455-
kAdvancedSeek = 0x3;
5456-
kTextTracks = 0x4;
5457-
kAudioTracks = 0x5;
5455+
kAdvancedSeek = 0x4;
5456+
kTextTracks = 0x8;
5457+
kAudioTracks = 0x10;
54585458
}
54595459

54605460
bitmap SupportedProtocolsBitmap : bitmap32 {

examples/placeholder/linux/apps/app1/config.matter

+6-6
Original file line numberDiff line numberDiff line change
@@ -7959,9 +7959,9 @@ cluster ContentLauncher = 1290 {
79597959
bitmap Feature : bitmap32 {
79607960
kContentSearch = 0x1;
79617961
kURLPlayback = 0x2;
7962-
kAdvancedSeek = 0x3;
7963-
kTextTracks = 0x4;
7964-
kAudioTracks = 0x5;
7962+
kAdvancedSeek = 0x4;
7963+
kTextTracks = 0x8;
7964+
kAudioTracks = 0x10;
79657965
}
79667966

79677967
bitmap SupportedProtocolsBitmap : bitmap32 {
@@ -8112,9 +8112,9 @@ cluster ContentLauncher = 1290 {
81128112
bitmap Feature : bitmap32 {
81138113
kContentSearch = 0x1;
81148114
kURLPlayback = 0x2;
8115-
kAdvancedSeek = 0x3;
8116-
kTextTracks = 0x4;
8117-
kAudioTracks = 0x5;
8115+
kAdvancedSeek = 0x4;
8116+
kTextTracks = 0x8;
8117+
kAudioTracks = 0x10;
81188118
}
81198119

81208120
bitmap SupportedProtocolsBitmap : bitmap32 {

examples/placeholder/linux/apps/app2/config.matter

+6-6
Original file line numberDiff line numberDiff line change
@@ -7872,9 +7872,9 @@ cluster ContentLauncher = 1290 {
78727872
bitmap Feature : bitmap32 {
78737873
kContentSearch = 0x1;
78747874
kURLPlayback = 0x2;
7875-
kAdvancedSeek = 0x3;
7876-
kTextTracks = 0x4;
7877-
kAudioTracks = 0x5;
7875+
kAdvancedSeek = 0x4;
7876+
kTextTracks = 0x8;
7877+
kAudioTracks = 0x10;
78787878
}
78797879

78807880
bitmap SupportedProtocolsBitmap : bitmap32 {
@@ -8025,9 +8025,9 @@ cluster ContentLauncher = 1290 {
80258025
bitmap Feature : bitmap32 {
80268026
kContentSearch = 0x1;
80278027
kURLPlayback = 0x2;
8028-
kAdvancedSeek = 0x3;
8029-
kTextTracks = 0x4;
8030-
kAudioTracks = 0x5;
8028+
kAdvancedSeek = 0x4;
8029+
kTextTracks = 0x8;
8030+
kAudioTracks = 0x10;
80318031
}
80328032

80338033
bitmap SupportedProtocolsBitmap : bitmap32 {

examples/tv-app/tv-common/tv-app.matter

+3-3
Original file line numberDiff line numberDiff line change
@@ -3115,9 +3115,9 @@ cluster ContentLauncher = 1290 {
31153115
bitmap Feature : bitmap32 {
31163116
kContentSearch = 0x1;
31173117
kURLPlayback = 0x2;
3118-
kAdvancedSeek = 0x3;
3119-
kTextTracks = 0x4;
3120-
kAudioTracks = 0x5;
3118+
kAdvancedSeek = 0x4;
3119+
kTextTracks = 0x8;
3120+
kAudioTracks = 0x10;
31213121
}
31223122

31233123
bitmap SupportedProtocolsBitmap : bitmap32 {

examples/tv-casting-app/tv-casting-common/tv-casting-app.matter

+3-3
Original file line numberDiff line numberDiff line change
@@ -2534,9 +2534,9 @@ cluster ContentLauncher = 1290 {
25342534
bitmap Feature : bitmap32 {
25352535
kContentSearch = 0x1;
25362536
kURLPlayback = 0x2;
2537-
kAdvancedSeek = 0x3;
2538-
kTextTracks = 0x4;
2539-
kAudioTracks = 0x5;
2537+
kAdvancedSeek = 0x4;
2538+
kTextTracks = 0x8;
2539+
kAudioTracks = 0x10;
25402540
}
25412541

25422542
bitmap SupportedProtocolsBitmap : bitmap32 {

src/app/zap-templates/zcl/data-model/chip/content-launch-cluster.xml

+7-7
Original file line numberDiff line numberDiff line change
@@ -177,12 +177,12 @@ limitations under the License.
177177
</bitmap>
178178

179179
<bitmap name="Feature" type="bitmap32">
180-
<cluster code="0x050a"/>
181-
<field name="ContentSearch" mask="0x1"/>
182-
<field name="URLPlayback" mask="0x2"/>
183-
<field name="AdvancedSeek" mask="0x3"/>
184-
<field name="TextTracks" mask="0x4"/>
185-
<field name="AudioTracks" mask="0x5"/>
186-
</bitmap>
180+
<cluster code="0x050a"/>
181+
<field name="ContentSearch" mask="0x01"/>
182+
<field name="URLPlayback" mask="0x02"/>
183+
<field name="AdvancedSeek" mask="0x04"/>
184+
<field name="TextTracks" mask="0x08"/>
185+
<field name="AudioTracks" mask="0x10"/>
186+
</bitmap>
187187

188188
</configurator>

src/controller/data_model/controller-clusters.matter

+3-3
Original file line numberDiff line numberDiff line change
@@ -9027,9 +9027,9 @@ cluster ContentLauncher = 1290 {
90279027
bitmap Feature : bitmap32 {
90289028
kContentSearch = 0x1;
90299029
kURLPlayback = 0x2;
9030-
kAdvancedSeek = 0x3;
9031-
kTextTracks = 0x4;
9032-
kAudioTracks = 0x5;
9030+
kAdvancedSeek = 0x4;
9031+
kTextTracks = 0x8;
9032+
kAudioTracks = 0x10;
90339033
}
90349034

90359035
bitmap SupportedProtocolsBitmap : bitmap32 {

src/controller/python/chip/clusters/Objects.py

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

zzz_generated/app-common/app-common/zap-generated/cluster-enums.h

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)