-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move Application Launcher Cluster
to be spec compliant
#30134
Changes from all commits
c8240fd
aeda0e8
54f76d8
02fead0
a732102
c25d72b
704a743
08f0cfb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?xml version="1.0"?> | ||
<!-- | ||
Copyright (c) 2021 Project CHIP Authors | ||
Copyright (c) 2021-2023 Project CHIP Authors | ||
|
||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
|
@@ -25,8 +25,8 @@ limitations under the License. | |
<server init="false" tick="false">true</server> | ||
<description>This cluster provides an interface for launching content on a media player device such as a TV or Speaker.</description> | ||
|
||
<attribute side="server" code="0x0000" define="APPLICATION_LAUNCHER_LIST" type="ARRAY" entryType="int16u" length="254" reportable="true" writable="false" optional="true">CatalogList</attribute> | ||
<attribute side="server" code="0x0001" define="APPLICATION_LAUNCHER_CURRENT_APP" type="ApplicationEPStruct" default="0x0" isNullable="true" writable="true" optional="true">CurrentApp</attribute> | ||
<attribute side="server" code="0x0000" define="APPLICATION_LAUNCHER_LIST" type="ARRAY" entryType="int16u" reportable="true" writable="false" optional="true">CatalogList</attribute> | ||
<attribute side="server" code="0x0001" define="APPLICATION_LAUNCHER_CURRENT_APP" type="ApplicationEPStruct" isNullable="true" writable="false" optional="true">CurrentApp</attribute> | ||
|
||
<command source="client" code="0x00" name="LaunchApp" response="LauncherResponse" optional="false"> | ||
<description>Upon receipt, this SHALL launch the specified app with optional data. The TV Device SHALL launch and bring to foreground the identified application in the command if the application is not already launched and in foreground. The TV Device SHALL update state attribute on the Application Basic cluster of the Endpoint corresponding to the launched application. This command returns a Launch Response.</description> | ||
|
@@ -46,7 +46,7 @@ limitations under the License. | |
|
||
<command source="server" code="0x03" name="LauncherResponse" optional="false"> | ||
<description>This command SHALL be generated in response to LaunchApp commands.</description> | ||
<arg name="Status" type="ApplicationLauncherStatusEnum"/> | ||
<arg name="Status" type="StatusEnum"/> | ||
<arg name="Data" type="octet_string" optional="true"/> | ||
</command> | ||
|
||
|
@@ -69,7 +69,7 @@ limitations under the License. | |
<item name="ApplicationID" type="char_string"/> | ||
</struct> | ||
|
||
<enum name="ApplicationLauncherStatusEnum" type="enum8"> | ||
<enum name="StatusEnum" type="enum8"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Was there a reason a backwards compat shim for the old name was not added? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. created #30202 |
||
<cluster code="0x050c"/> | ||
<item name="Success" value="0x00"/> | ||
<item name="AppNotAvailable" value="0x01"/> | ||
|
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a breaking change. This might need to get changed in the spec instead, if we can't figure out a way to not have client APIs break on this.