| <?xml version="1.0"?> |
| <!-- |
| Copyright (c) 2021 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. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <configurator> |
| <domain name="CHIP"/> |
| <cluster> |
| <domain>Media</domain> |
| <name>Application Basic</name> |
| <code>0x050d</code> |
| <define>APPLICATION_BASIC_CLUSTER</define> |
| <client init="false" tick="false">true</client> |
| <server init="false" tick="false">true</server> |
| <description>This cluster provides information about an application running on a TV or media player device which is represented as an endpoint.</description> |
| <attribute side="server" code="0x0000" define="APPLICATION_VENDOR_NAME" type="CHAR_STRING" default="" length="32" writable="false" optional="true">VendorName</attribute> |
| <attribute side="server" code="0x0001" define="APPLICATION_VENDOR_ID" type="VENDOR_ID" default="0x0" min="0x0000" max="0xFFFF" writable="false" optional="true">VendorID</attribute> |
| <attribute side="server" code="0x0002" define="APPLICATION_NAME" type="CHAR_STRING" length="32" writable="false" optional="false">ApplicationName</attribute> |
| <attribute side="server" code="0x0003" define="APPLICATION_PRODUCT_ID" type="INT16U" default="0x0" min="0x0000" max="0xFFFF" writable="false" optional="true">ProductID</attribute> |
| <attribute side="server" code="0x0004" define="APPLICATION_APP" type="ApplicationBasicApplication" writable="false" optional="false">Application</attribute> |
| <attribute side="server" code="0x0005" define="APPLICATION_STATUS" type="ApplicationStatusEnum" default="0x01" min="0x00" max="0xFF" writable="false" optional="false">Status</attribute> |
| <attribute side="server" code="0x0006" define="APPLICATION_VERSION" type="CHAR_STRING" length="32" writable="false" optional="false">ApplicationVersion</attribute> |
| <attribute side="server" code="0x0007" define="APPLICATION_ALLOWED_VENDOR_LIST" type="ARRAY" entryType="vendor_id" length="32" writable="false" optional="false">AllowedVendorList</attribute> |
| |
| </cluster> |
| |
| <struct name="ApplicationBasicApplication"> |
| <cluster code="0x050d"/> |
| <item name="catalogVendorId" type="INT16U"/> |
| <item name="applicationId" type="CHAR_STRING"/> |
| </struct> |
| |
| <enum name="ApplicationStatusEnum" type="ENUM8"> |
| <cluster code="0x050d"/> |
| <item name="Stopped" value="0x00"/> |
| <item name="ActiveVisibleFocus" value="0x01"/> |
| <item name="ActiveHidden" value="0x02"/> |
| <item name="ActiveVisibleNotFocus" value="0x03"/> |
| </enum> |
| </configurator> |