Skip to content

Commit

Permalink
Update feature flags logic in media clusters & TV app (#18191)
Browse files Browse the repository at this point in the history
* Update logic

* Update zap files

* Restyle fix

* Add feature flag function

* Update code per comments
  • Loading branch information
lazarkov authored and pull[bot] committed Nov 6, 2023
1 parent 997eb36 commit 3238811
Show file tree
Hide file tree
Showing 8 changed files with 757 additions and 94 deletions.
9 changes: 6 additions & 3 deletions examples/tv-app/tv-common/tv-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -1060,6 +1060,7 @@ server cluster MediaPlayback = 1286 {
readonly attribute single playbackSpeed = 4;
readonly attribute nullable int64u seekRangeEnd = 5;
readonly attribute nullable int64u seekRangeStart = 6;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;

request struct SkipForwardRequest {
Expand Down Expand Up @@ -2282,7 +2283,7 @@ endpoint 1 {
callback attribute channelList;
callback attribute lineup;
callback attribute currentChannel;
ram attribute featureMap default = 0x0001;
ram attribute featureMap default = 0x0003;
ram attribute clusterRevision default = 1;
}

Expand All @@ -2305,13 +2306,14 @@ endpoint 1 {
}

server cluster KeypadInput {
ram attribute featureMap default = 0x0001;
ram attribute featureMap default = 0x0007;
ram attribute clusterRevision default = 1;
}

server cluster ContentLauncher {
callback attribute acceptHeader;
ram attribute supportedStreamingProtocols;
ram attribute featureMap default = 0x0003;
ram attribute clusterRevision default = 1;
}

Expand Down Expand Up @@ -2383,13 +2385,14 @@ endpoint 3 {
ram attribute playbackSpeed;
ram attribute seekRangeEnd;
ram attribute seekRangeStart;
ram attribute featureMap default = 0x0003;
ram attribute clusterRevision default = 1;
}

server cluster ContentLauncher {
callback attribute acceptHeader;
ram attribute supportedStreamingProtocols;
ram attribute featureMap default = 0x0001;
ram attribute featureMap default = 0x0003;
ram attribute clusterRevision default = 1;
}

Expand Down
Loading

0 comments on commit 3238811

Please sign in to comment.