Skip to content

Commit

Permalink
Undo incompatible change on channel clusters
Browse files Browse the repository at this point in the history
  • Loading branch information
andreilitvin committed Sep 21, 2023
1 parent 6e261da commit cfb7032
Show file tree
Hide file tree
Showing 14 changed files with 39 additions and 39 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3183,7 +3183,7 @@ server cluster Channel = 1284 {
}

request struct SkipChannelRequest {
INT16U count = 0;
INT16S count = 0;
}

command ChangeChannelByNumber(ChangeChannelByNumberRequest): DefaultSuccess = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1162,7 +1162,7 @@ server cluster Channel = 1284 {
}

request struct SkipChannelRequest {
INT16U count = 0;
INT16S count = 0;
}

response struct ChangeChannelResponse = 1 {
Expand Down
4 changes: 2 additions & 2 deletions examples/placeholder/linux/apps/app1/config.matter
Original file line number Diff line number Diff line change
Expand Up @@ -5375,7 +5375,7 @@ client cluster Channel = 1284 {
}

request struct SkipChannelRequest {
INT16U count = 0;
INT16S count = 0;
}

/** Change the channel on the media player to the channel case-insensitive exact matching the value passed as an argument. */
Expand Down Expand Up @@ -5438,7 +5438,7 @@ server cluster Channel = 1284 {
}

request struct SkipChannelRequest {
INT16U count = 0;
INT16S count = 0;
}

command ChangeChannel(ChangeChannelRequest): ChangeChannelResponse = 0;
Expand Down
4 changes: 2 additions & 2 deletions examples/placeholder/linux/apps/app2/config.matter
Original file line number Diff line number Diff line change
Expand Up @@ -5334,7 +5334,7 @@ client cluster Channel = 1284 {
}

request struct SkipChannelRequest {
INT16U count = 0;
INT16S count = 0;
}

/** Change the channel on the media player to the channel case-insensitive exact matching the value passed as an argument. */
Expand Down Expand Up @@ -5397,7 +5397,7 @@ server cluster Channel = 1284 {
}

request struct SkipChannelRequest {
INT16U count = 0;
INT16S count = 0;
}

command ChangeChannel(ChangeChannelRequest): ChangeChannelResponse = 0;
Expand Down
2 changes: 1 addition & 1 deletion examples/tv-app/tv-common/tv-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -1891,7 +1891,7 @@ server cluster Channel = 1284 {
}

request struct SkipChannelRequest {
INT16U count = 0;
INT16S count = 0;
}

response struct ChangeChannelResponse = 1 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1426,7 +1426,7 @@ client cluster Channel = 1284 {
}

request struct SkipChannelRequest {
INT16U count = 0;
INT16S count = 0;
}

/** Change the channel on the media player to the channel case-insensitive exact matching the value passed as an argument. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ limitations under the License.

<command source="client" code="0x03" name="SkipChannel" optional="false">
<description>This command provides channel up and channel down functionality, but allows channel index jumps of size Count. When the value of the increase or decrease is larger than the number of channels remaining in the given direction, then the behavior SHALL be to return to the beginning (or end) of the channel list and continue. For example, if the current channel is at index 0 and count value of -1 is given, then the current channel should change to the last channel.</description>
<arg name="Count" type="INT16U"/>
<arg name="Count" type="INT16S"/>
</command>

<command source="server" code="0x01" name="ChangeChannelResponse" optional="true">
Expand Down
2 changes: 1 addition & 1 deletion src/controller/data_model/controller-clusters.matter
Original file line number Diff line number Diff line change
Expand Up @@ -5839,7 +5839,7 @@ client cluster Channel = 1284 {
}

request struct SkipChannelRequest {
INT16U count = 0;
INT16S count = 0;
}

/** Change the channel on the media player to the channel case-insensitive exact matching the value passed as an argument. */
Expand Down
4 changes: 2 additions & 2 deletions src/controller/python/chip/clusters/Objects.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.mm

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion zzz_generated/chip-tool/zap-generated/cluster/Commands.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

42 changes: 21 additions & 21 deletions zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cfb7032

Please sign in to comment.