Skip to content
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 AudioOutput cluster up to spec #29948

Merged
merged 4 commits into from
Oct 24, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Audio output to spec
andreilitvin committed Oct 24, 2023
commit 667a8def6fbfde23fab0c105e3a8231faeacfce6
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@ limitations under the License.
<server init="false" tick="false">true</server>
<description>This cluster provides an interface for controlling the Output on a media device such as a TV.</description>
<attribute side="server" code="0x0000" define="AUDIO_OUTPUT_LIST" type="ARRAY" entryType="OutputInfoStruct" length="254" writable="false" optional="false">OutputList</attribute>
<attribute side="server" code="0x0001" define="AUDIO_OUTPUT_CURRENT_OUTPUT" type="int8u" default="0x00" min="0x00" max="0xFF" writable="false" optional="true">CurrentOutput</attribute>
<attribute side="server" code="0x0001" define="AUDIO_OUTPUT_CURRENT_OUTPUT" type="int8u" default="0x00" min="0x00" max="0xFF" writable="false" optional="false">CurrentOutput</attribute>

<command source="client" code="0x00" name="SelectOutput" optional="false">
<description>Upon receipt, this SHALL change the output on the media device to the output at a specific index in the Output List.</description>
@@ -34,6 +34,7 @@ limitations under the License.

<command source="client" code="0x01" name="RenameOutput" optional="true">
<description>Upon receipt, this SHALL rename the output at a specific index in the Output List. Updates to the output name SHALL appear in the TV settings menus.</description>
<access op="invoke" role="manage" />
<arg name="Index" type="int8u"/>
<arg name="Name" type="char_string"/>
</command>
@@ -44,7 +45,7 @@ limitations under the License.
<cluster code="0x050b"/>
<item name="Index" type="int8u"/>
<item name="OutputType" type="OutputTypeEnum"/>
<item name="Name" type="char_string" length="32"/>
<item name="Name" type="char_string"/>
</struct>

<enum name="OutputTypeEnum" type="enum8">